mirror of
https://github.com/tuxbox-neutrino/neutrino.git
synced 2025-08-29 00:11:14 +02:00
neutrino: make location of "information" menu configurable
the location of the "information" menu can now be configured in neutrino.conf: show_infomenu=1 shows it below the service menu, show_infomenu=0 (default) in the main menu, as before. Patch by bazi98. Should probably be configurable somewhere in the GUI. git-svn-id: file:///home/bas/coolstream_public_svn/THIRDPARTY/applications/neutrino-experimental@766 e54a6e83-5905-42d5-8d5c-058d10e6a962
This commit is contained in:
@@ -830,6 +830,7 @@ int CNeutrinoApp::loadSetup(const char * fname)
|
||||
g_settings.volume_pos = configfile.getInt32("volume_pos", 0 );
|
||||
g_settings.menu_pos = configfile.getInt32("menu_pos", 0 );
|
||||
g_settings.infobar_show_var_hdd = configfile.getBool("infobar_show_var_hdd" , true );
|
||||
g_settings.show_infomenu = configfile.getInt32("show_infomenu", 0 );
|
||||
//audio
|
||||
g_settings.audio_AnalogMode = configfile.getInt32( "audio_AnalogMode", 0 );
|
||||
g_settings.audio_DolbyDigital = configfile.getBool("audio_DolbyDigital" , false);
|
||||
@@ -1371,6 +1372,7 @@ void CNeutrinoApp::saveSetup(const char * fname)
|
||||
configfile.setInt32("volume_pos" , g_settings.volume_pos );
|
||||
configfile.setInt32("menu_pos" , g_settings.menu_pos);
|
||||
configfile.setInt32("infobar_show_var_hdd" , g_settings.infobar_show_var_hdd );
|
||||
configfile.setInt32("show_infomenu" , g_settings.show_infomenu );
|
||||
|
||||
//audio
|
||||
configfile.setInt32( "audio_AnalogMode", g_settings.audio_AnalogMode );
|
||||
|
Reference in New Issue
Block a user