summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorfluxgen <fluxgen>2006-05-07 09:54:55 (GMT)
committerfluxgen <fluxgen>2006-05-07 09:54:55 (GMT)
commitac098b4d0f0640b2997ff674a5c1b3447b6ba09a (patch)
treeef53c6fafb9a0246cc972bf807bd9eedde5b298d
parentc69b4020c5adcbf42e0a44352cd50652abe95130 (diff)
downloadfluxbox_lack-ac098b4d0f0640b2997ff674a5c1b3447b6ba09a.zip
fluxbox_lack-ac098b4d0f0640b2997ff674a5c1b3447b6ba09a.tar.bz2
removed duplicate setItemEnabled
-rw-r--r--src/MenuCreator.cc1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/MenuCreator.cc b/src/MenuCreator.cc
index bea6d57..f920321 100644
--- a/src/MenuCreator.cc
+++ b/src/MenuCreator.cc
@@ -188,7 +188,6 @@ static void translateMenuItem(Parser &parse, ParseItem &pitem) {
188 } else if (str_key == "nop") { 188 } else if (str_key == "nop") {
189 int menuSize = menu.insert(str_label.c_str()); 189 int menuSize = menu.insert(str_label.c_str());
190 menu.setItemEnabled(menuSize-1, false); 190 menu.setItemEnabled(menuSize-1, false);
191 menu.setItemEnabled(menuSize-1, false);
192 } else if (str_key == "icons") { 191 } else if (str_key == "icons") {
193 FbTk::Menu *submenu = MenuCreator::createMenuType("iconmenu", menu.screenNumber()); 192 FbTk::Menu *submenu = MenuCreator::createMenuType("iconmenu", menu.screenNumber());
194 if (submenu == 0) 193 if (submenu == 0)