mirror of
https://github.com/tuxbox-fork-migrations/recycled-ni-neutrino.git
synced 2025-09-02 02:11:04 +02:00
neutrino: add the possibility to lock bouquets by default
This basically inverts the "locked" attribute of bouquets.xml and
allows to selectively enable only favourites or similar.
Conflicts:
src/gui/channellist.cpp
Origin commit data
------------------
Commit: 27493de2ef
Author: Stefan Seyfried <seife@tuxbox-git.slipkontur.de>
Date: 2011-10-30 (Sun, 30 Oct 2011)
This commit is contained in:
committed by
[CST] Focus
parent
ea33de8f9a
commit
9ba28c1287
@@ -674,6 +674,7 @@ int CNeutrinoApp::loadSetup(const char * fname)
|
||||
g_settings.parentallock_prompt = 3;
|
||||
g_settings.parentallock_lockage = 18;
|
||||
}
|
||||
g_settings.parentallock_defaultlocked = configfile.getInt32("parentallock_defaultlocked", 0);
|
||||
strcpy( g_settings.parentallock_pincode, configfile.getString( "parentallock_pincode", "0000" ).c_str() );
|
||||
|
||||
for (int i = 0; i < SNeutrinoSettings::TIMING_SETTING_COUNT; i++)
|
||||
@@ -1096,6 +1097,7 @@ void CNeutrinoApp::saveSetup(const char * fname)
|
||||
configfile.setInt32( "parentallock_prompt", g_settings.parentallock_prompt );
|
||||
configfile.setInt32( "parentallock_lockage", g_settings.parentallock_lockage );
|
||||
configfile.setString( "parentallock_pincode", g_settings.parentallock_pincode );
|
||||
configfile.setInt32("parentallock_defaultlocked", g_settings.parentallock_defaultlocked);
|
||||
|
||||
//timing
|
||||
for (int i = 0; i < SNeutrinoSettings::TIMING_SETTING_COUNT; i++)
|
||||
|
Reference in New Issue
Block a user