summaryrefslogtreecommitdiff
path: root/config.c
diff options
context:
space:
mode:
authorlouis <louis.braun@gmx.de>2013-02-26 18:36:51 +0100
committerlouis <louis.braun@gmx.de>2013-02-26 18:36:51 +0100
commitd099b5d5f922e6773ad5c5165e951fc280c5c5c1 (patch)
tree4078905ca9b7761f29b6140a0465d9c76cb8a5d9 /config.c
parent6b4c35ae9aac8b9081a5d9f8e28fe4f4ce7458e3 (diff)
downloadskin-nopacity-d099b5d5f922e6773ad5c5165e951fc280c5c5c1.tar.gz
skin-nopacity-d099b5d5f922e6773ad5c5165e951fc280c5c5c1.tar.bz2
Usage of menu icons in main and setup 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 70b9350..14c7f44 100644
--- a/config.c
+++ b/config.c
@@ -56,6 +56,7 @@ cNopacityConfig::cNopacityConfig() {
scalePicture = 1;
roundedCorners = 0;
cornerRadius = 12;
+ useMenuIcons = 1;
narrowMainMenu = 1;
narrowScheduleMenu = 1;
narrowChannelMenu = 1;
@@ -241,6 +242,7 @@ bool cNopacityConfig::SetupParse(const char *Name, const char *Value) {
else if (strcmp(Name, "scalePicture") == 0) scalePicture = atoi(Value);
else if (strcmp(Name, "roundedCorners") == 0) roundedCorners = atoi(Value);
else if (strcmp(Name, "cornerRadius") == 0) cornerRadius = atoi(Value);
+ else if (strcmp(Name, "useMenuIcons") == 0) useMenuIcons = atoi(Value);
else if (strcmp(Name, "narrowMainMenu") == 0) narrowMainMenu = atoi(Value);
else if (strcmp(Name, "narrowScheduleMenu") == 0) narrowScheduleMenu = atoi(Value);
else if (strcmp(Name, "narrowChannelMenu") == 0) narrowChannelMenu = atoi(Value);