summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorfluxgen <fluxgen>2004-06-27 13:45:20 (GMT)
committerfluxgen <fluxgen>2004-06-27 13:45:20 (GMT)
commit9bd6c403f2dda7b40a0a0c7e56e1569261e1251f (patch)
tree8287c98644905906ee665e421561144ad5a1da53
parent2e228593c0cc71ddd847625b1d9add4cd1f3289f (diff)
downloadfluxbox_lack-9bd6c403f2dda7b40a0a0c7e56e1569261e1251f.zip
fluxbox_lack-9bd6c403f2dda7b40a0a0c7e56e1569261e1251f.tar.bz2
using menu separator
-rw-r--r--src/IconbarTool.cc11
1 files changed, 4 insertions, 7 deletions
diff --git a/src/IconbarTool.cc b/src/IconbarTool.cc
index 65a0c3e..65040d4 100644
--- a/src/IconbarTool.cc
+++ b/src/IconbarTool.cc
@@ -1,5 +1,5 @@
1// IconbarTool.cc 1// IconbarTool.cc
2// Copyright (c) 2003 Henrik Kinnunen (fluxgen at users.sourceforge.net) 2// Copyright (c) 2003-2004 Henrik Kinnunen (fluxgen at users.sourceforge.net)
3// and Simon Bowden (rathnor at users.sourceforge.net) 3// and Simon Bowden (rathnor at users.sourceforge.net)
4// 4//
5// Permission is hereby granted, free of charge, to any person obtaining a 5// Permission is hereby granted, free of charge, to any person obtaining a
@@ -20,7 +20,7 @@
20// FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER 20// FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
21// DEALINGS IN THE SOFTWARE. 21// DEALINGS IN THE SOFTWARE.
22 22
23// $Id: IconbarTool.cc,v 1.40 2004/06/17 00:17:22 rathnor Exp $ 23// $Id: IconbarTool.cc,v 1.41 2004/06/27 13:45:20 fluxgen Exp $
24 24
25#include "IconbarTool.hh" 25#include "IconbarTool.hh"
26 26
@@ -196,7 +196,7 @@ void setupModeMenu(FbTk::Menu &menu, IconbarTool &handler) {
196 handler, 196 handler,
197 IconbarTool::ALLWINDOWS, saverc_cmd)); 197 IconbarTool::ALLWINDOWS, saverc_cmd));
198 198
199 menu.insert("---"); // separator line 199 menu.insert(new FbTk::MenuSeparator());
200 200
201 menu.insert(new ToolbarAlignMenuItem( 201 menu.insert(new ToolbarAlignMenuItem(
202 _FBTEXT(Align, Left, "Left", "Align to the left"), 202 _FBTEXT(Align, Left, "Left", "Align to the left"),
@@ -488,10 +488,7 @@ void IconbarTool::update(FbTk::Subject *subj) {
488 if (&m_screen.currentWorkspaceSig() == screen_subj && 488 if (&m_screen.currentWorkspaceSig() == screen_subj &&
489 mode() != ALLWINDOWS && mode() != ICONS) { 489 mode() != ALLWINDOWS && mode() != ICONS) {
490 remove_all = true; // remove and readd all windows 490 remove_all = true; // remove and readd all windows
491 }/* else if (&m_screen.iconListSig() == screen_subj && 491 }
492 (mode() == ALLWINDOWS || mode() == ICONS || mode() == WORKSPACE)) {
493 remove_all = true;
494 }*/
495 } 492 }
496 493
497 // lock graphic update 494 // lock graphic update