Screeansaver: add optional random images

Origin commit data
------------------
Branch: ni/coolstream
Commit: ff667dfef3
Author: Thilo Graf <dbt@novatux.de>
Date: 2015-12-27 (Sun, 27 Dec 2015)


------------------
No further description and justification available within origin commit message!

------------------
This commit was generated by Migit
This commit is contained in:
2015-12-27 19:46:14 +01:00
parent 8b6edba743
commit 1dedce338b
8 changed files with 22 additions and 1 deletions

View File

@@ -513,6 +513,7 @@ int CNeutrinoApp::loadSetup(const char * fname)
g_settings.screensaver_delay = configfile.getInt32("screensaver_delay", 1);
g_settings.screensaver_dir = configfile.getString("screensaver_dir", ICONSDIR);
g_settings.screensaver_timeout = configfile.getInt32("screensaver_timeout", 10);
g_settings.screensaver_random = configfile.getInt32("screensaver_random", false);
//vcr
g_settings.vcr_AutoSwitch = configfile.getBool("vcr_AutoSwitch" , true );
@@ -1049,6 +1050,7 @@ void CNeutrinoApp::saveSetup(const char * fname)
configfile.setInt32("screensaver_delay", g_settings.screensaver_delay);
configfile.setString("screensaver_dir", g_settings.screensaver_dir);
configfile.setInt32("screensaver_timeout", g_settings.screensaver_timeout);
configfile.setInt32("screensaver_random", g_settings.screensaver_random);
//vcr
configfile.setBool("vcr_AutoSwitch" , g_settings.vcr_AutoSwitch );