screensaver: disable g_settings.screensaver_mode_text

Origin commit data
------------------
Commit: 88bb2fb208
Author: vanhofen <vanhofen@gmx.de>
Date: 2020-02-06 (Thu, 06 Feb 2020)

Origin message was:
------------------
- screensaver: disable g_settings.screensaver_mode_text
This commit is contained in:
vanhofen
2020-02-06 00:16:06 +01:00
parent a5e8671e8f
commit 5bf6f23e50
2 changed files with 3 additions and 1 deletions

View File

@@ -1836,11 +1836,13 @@ void COsdSetup::showOsdScreensaverSetup(CMenuWidget *menu_screensaver)
menu_screensaver->addItem(oc); menu_screensaver->addItem(oc);
screensaverOptActivate.Add(oc); screensaverOptActivate.Add(oc);
#if 0
// screensaver text mode // screensaver text mode
oc = new CMenuOptionChooser(LOCALE_SCREENSAVER_ENABLE_TEXT_INFO, &g_settings.screensaver_mode_text, OPTIONS_OFF0_ON1_OPTIONS, OPTIONS_OFF0_ON1_OPTION_COUNT, (g_settings.screensaver_delay != 0), this); oc = new CMenuOptionChooser(LOCALE_SCREENSAVER_ENABLE_TEXT_INFO, &g_settings.screensaver_mode_text, OPTIONS_OFF0_ON1_OPTIONS, OPTIONS_OFF0_ON1_OPTION_COUNT, (g_settings.screensaver_delay != 0), this);
oc->setHint("", LOCALE_MENU_HINT_SCREENSAVER_ENABLE_TEXT_INFO); oc->setHint("", LOCALE_MENU_HINT_SCREENSAVER_ENABLE_TEXT_INFO);
menu_screensaver->addItem(oc); menu_screensaver->addItem(oc);
screensaverActivate.Add(oc); screensaverActivate.Add(oc);
#endif
} }
void COsdSetup::paintWindowSize(int w, int h) void COsdSetup::paintWindowSize(int w, int h)

View File

@@ -636,7 +636,7 @@ int CNeutrinoApp::loadSetup(const char * fname)
g_settings.screensaver_timeout = configfile.getInt32("screensaver_timeout", 10); g_settings.screensaver_timeout = configfile.getInt32("screensaver_timeout", 10);
g_settings.screensaver_random = configfile.getInt32("screensaver_random", 0); g_settings.screensaver_random = configfile.getInt32("screensaver_random", 0);
g_settings.screensaver_mode = configfile.getInt32("screensaver_mode", CScreenSaver::SCR_MODE_CLOCK); //NI g_settings.screensaver_mode = configfile.getInt32("screensaver_mode", CScreenSaver::SCR_MODE_CLOCK); //NI
g_settings.screensaver_mode_text = configfile.getInt32("screensaver_mode_text", CScreenSaver::SCR_MODE_TEXT_ON); g_settings.screensaver_mode_text = configfile.getInt32("screensaver_mode_text", CScreenSaver::SCR_MODE_TEXT_OFF);
//vcr //vcr
g_settings.vcr_AutoSwitch = configfile.getBool("vcr_AutoSwitch" , true ); g_settings.vcr_AutoSwitch = configfile.getBool("vcr_AutoSwitch" , true );