aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-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