summaryrefslogtreecommitdiff
path: root/config.c
diff options
context:
space:
mode:
authorlouis <louis.braun@gmx.de>2013-04-14 16:51:41 +0200
committerlouis <louis.braun@gmx.de>2013-04-14 16:51:41 +0200
commit264b6c079e7517cd0f9316bf11569562ba37c66e (patch)
treecb567f888412d5b25c11b78aaadbf49c46afab1e /config.c
parent9f70bbf3cd68c12c913dbc84ed28f7d2f7430487 (diff)
downloadskin-nopacity-264b6c079e7517cd0f9316bf11569562ba37c66e.tar.gz
skin-nopacity-264b6c079e7517cd0f9316bf11569562ba37c66e.tar.bz2
Display of disc status 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 c0544ba..1929e06 100644
--- a/config.c
+++ b/config.c
@@ -95,6 +95,7 @@ cNopacityConfig::cNopacityConfig() {
menuWidthRightItems = 12;
menuSizeDiskUsage = 12;
showDiscUsage = 1;
+ discUsageStyle = 0;
showTimers = 1;
numberTimers = 10;
checkTimerConflict = 1;
@@ -365,6 +366,7 @@ bool cNopacityConfig::SetupParse(const char *Name, const char *Value) {
else if (strcmp(Name, "menuSizeDiskUsage") == 0) menuSizeDiskUsage = atoi(Value);
else if (strcmp(Name, "menuHeightInfoWindow") == 0) menuHeightInfoWindow = atoi(Value);
else if (strcmp(Name, "showDiscUsage") == 0) showDiscUsage = atoi(Value);
+ else if (strcmp(Name, "discUsageStyle") == 0) discUsageStyle = 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);