mirror of
https://github.com/tuxbox-fork-migrations/recycled-ni-neutrino.git
synced 2025-09-01 18:01:06 +02:00
screensaver: add GUI option to change timeout
Origin commit data
------------------
Branch: ni/coolstream
Commit: 153e7dba91
Author: vanhofen <vanhofen@gmx.de>
Date: 2014-12-29 (Mon, 29 Dec 2014)
Origin message was:
------------------
- screensaver: add GUI option to change timeout
------------------
No further description and justification available within origin commit message!
------------------
This commit was generated by Migit
This commit is contained in:
@@ -498,6 +498,7 @@ int CNeutrinoApp::loadSetup(const char * fname)
|
||||
|
||||
//screen saver
|
||||
g_settings.screensaver_dir = configfile.getString("screensaver_dir", DATADIR "/neutrino/icons/");
|
||||
g_settings.screensaver_timeout = configfile.getInt32("screensaver_timeout", 10);
|
||||
|
||||
//vcr
|
||||
g_settings.vcr_AutoSwitch = configfile.getBool("vcr_AutoSwitch" , true );
|
||||
@@ -1025,6 +1026,7 @@ void CNeutrinoApp::saveSetup(const char * fname)
|
||||
|
||||
//screen saver
|
||||
configfile.setString("screensaver_dir", g_settings.screensaver_dir);
|
||||
configfile.setInt32("screensaver_timeout", g_settings.screensaver_timeout);
|
||||
|
||||
//vcr
|
||||
configfile.setBool("vcr_AutoSwitch" , g_settings.vcr_AutoSwitch );
|
||||
|
Reference in New Issue
Block a user