mirror of
https://github.com/tuxbox-fork-migrations/recycled-ni-neutrino.git
synced 2025-08-31 01:11:06 +02:00
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:
@@ -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 );
|
||||
|
Reference in New Issue
Block a user