summaryrefslogtreecommitdiff
path: root/setup.c
diff options
context:
space:
mode:
authorlouis <louis.braun@gmx.de>2013-11-03 14:40:07 +0100
committerlouis <louis.braun@gmx.de>2013-11-03 14:40:07 +0100
commit48315143f433b08b9f9cf56947b84a3293031b68 (patch)
tree5a04dcd2bd3ece22e13a8e57e8fead6401db3361 /setup.c
parentc057102d9d7ac37ab6b83b3c811827eca3f0307b (diff)
downloadskin-nopacity-48315143f433b08b9f9cf56947b84a3293031b68.tar.gz
skin-nopacity-48315143f433b08b9f9cf56947b84a3293031b68.tar.bz2
Added Setup Option to generate log messages when trying to load pictures
Diffstat (limited to 'setup.c')
-rw-r--r--setup.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/setup.c b/setup.c
index 827304e..533aab3 100644
--- a/setup.c
+++ b/setup.c
@@ -35,7 +35,6 @@ void cNopacitySetup::Setup(void) {
Add(new cOsdItem(tr("Messages")));
Add(new cOsdItem(tr("Volume")));
Add(new cOsdItem(tr("Image Caching")));
-
SetCurrent(Get(currentItem));
Display();
}
@@ -142,6 +141,7 @@ cNopacitySetupMenuDisplay::cNopacitySetupMenuDisplay(cNopacityConfig* data) : c
void cNopacitySetupMenuDisplay::Set(void) {
int currentItem = Current();
Clear();
+ Add(new cMenuEditBoolItem(tr("Create Log Messages for image loading"), tmpConf->GetValueRef("debugImageLoading")));
Add(new cMenuEditIntItem(tr("Number of Default Menu Entries per Page"), tmpConf->GetValueRef("numDefaultMenuItems"), 10, 40));
Add(new cMenuEditIntItem(tr("Adjust Font Size - Default Menu Item"), tmpConf->GetValueRef("fontMenuitemDefault"), -20, 20));
Add(new cMenuEditStraItem(tr("Adjustment of narrow menus"), tmpConf->GetValueRef("menuAdjustLeft"), 2, adjustLeft));