summaryrefslogtreecommitdiff
path: root/displaymenu.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 /displaymenu.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 'displaymenu.c')
-rw-r--r--displaymenu.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/displaymenu.c b/displaymenu.c
index 78c60da..59730e4 100644
--- a/displaymenu.c
+++ b/displaymenu.c
@@ -533,7 +533,8 @@ void cNopacityDisplayMenu::SetItem(const char *Text, int Index, bool Current, bo
item = new cNopacityMainMenuItem(osd, Text, Selectable);
menuView->GetMenuItemSize(mcMain, &itemSize);
item->SetFont(menuView->GetMenuItemFont(mcMain));
- hasIcons = true;
+ if (config.useMenuIcons)
+ hasIcons = true;
} else {
item = new cNopacityDefaultMenuItem(osd, Text, Selectable);
menuView->GetMenuItemSize(mcUnknown, &itemSize);