summaryrefslogtreecommitdiff
path: root/config.c
diff options
context:
space:
mode:
authorlouis <louis.braun@gmx.de>2013-03-16 12:13:31 +0100
committerlouis <louis.braun@gmx.de>2013-03-16 12:13:31 +0100
commit1e31f10fa68907104562b41fda09fe61485afdb0 (patch)
treeb83707dc7088fec5cf367b9b76516b605403e46f /config.c
parent79e8190e5e613590e0c8332f476f4ed5cc4b4342 (diff)
downloadskin-nopacity-1e31f10fa68907104562b41fda09fe61485afdb0.tar.gz
skin-nopacity-1e31f10fa68907104562b41fda09fe61485afdb0.tar.bz2
Maximum number of timers in main menu configurable
Diffstat (limited to 'config.c')
-rw-r--r--config.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/config.c b/config.c
index 34924d8..696682b 100644
--- a/config.c
+++ b/config.c
@@ -91,6 +91,7 @@ cNopacityConfig::cNopacityConfig() {
menuSizeDiskUsage = 12;
showDiscUsage = 1;
showTimers = 1;
+ numberTimers = 10;
checkTimerConflict = 1;
headerHeight = 7;
footerHeight = 7;
@@ -274,6 +275,7 @@ bool cNopacityConfig::SetupParse(const char *Name, const char *Value) {
else if (strcmp(Name, "menuHeightInfoWindow") == 0) menuHeightInfoWindow = atoi(Value);
else if (strcmp(Name, "showDiscUsage") == 0) showDiscUsage = atoi(Value);
else if (strcmp(Name, "showTimers") == 0) showTimers = atoi(Value);
+ else if (strcmp(Name, "numberTimers") == 0) numberTimers = atoi(Value);
else if (strcmp(Name, "checkTimerConflict") == 0) checkTimerConflict = atoi(Value);
else if (strcmp(Name, "headerHeight") == 0) headerHeight = atoi(Value);
else if (strcmp(Name, "footerHeight") == 0) footerHeight = atoi(Value);