diff options
author | fluxgen <fluxgen> | 2006-05-07 09:54:55 (GMT) |
---|---|---|
committer | fluxgen <fluxgen> | 2006-05-07 09:54:55 (GMT) |
commit | ac098b4d0f0640b2997ff674a5c1b3447b6ba09a (patch) | |
tree | ef53c6fafb9a0246cc972bf807bd9eedde5b298d /src | |
parent | c69b4020c5adcbf42e0a44352cd50652abe95130 (diff) | |
download | fluxbox-ac098b4d0f0640b2997ff674a5c1b3447b6ba09a.zip fluxbox-ac098b4d0f0640b2997ff674a5c1b3447b6ba09a.tar.bz2 |
removed duplicate setItemEnabled
Diffstat (limited to 'src')
-rw-r--r-- | src/MenuCreator.cc | 1 |
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) |