aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorfluxgen <fluxgen>2003-06-11 14:51:22 (GMT)
committerfluxgen <fluxgen>2003-06-11 14:51:22 (GMT)
commit735776fbeb0d8818f45ff8f0b4928c9315ad682c (patch)
tree6f07bb4295e89abac4decac209a02f2907af26e8
parent6c0db93dda764e1c854390b07875af8550146ced (diff)
downloadfluxbox_paul-735776fbeb0d8818f45ff8f0b4928c9315ad682c.zip
fluxbox_paul-735776fbeb0d8818f45ff8f0b4928c9315ad682c.tar.bz2
minor fix
-rw-r--r--src/Toolbar.cc4
-rw-r--r--src/Toolbar.hh4
2 files changed, 4 insertions, 4 deletions
diff --git a/src/Toolbar.cc b/src/Toolbar.cc
index 4c954c4..038532b 100644
--- a/src/Toolbar.cc
+++ b/src/Toolbar.cc
@@ -22,7 +22,7 @@
22// FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER 22// FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
23// DEALINGS IN THE SOFTWARE. 23// DEALINGS IN THE SOFTWARE.
24 24
25// $Id: Toolbar.cc,v 1.88 2003/05/24 13:13:22 rathnor Exp $ 25// $Id: Toolbar.cc,v 1.89 2003/06/11 14:51:22 fluxgen Exp $
26 26
27#include "Toolbar.hh" 27#include "Toolbar.hh"
28 28
@@ -381,7 +381,7 @@ void Toolbar::delAllIcons() {
381 delete deleted; 381 delete deleted;
382} 382}
383 383
384bool Toolbar::containsIcon(FluxboxWindow &win) { 384bool Toolbar::containsIcon(const FluxboxWindow &win) const {
385 return (m_iconbar->findIcon(&win) != 0); 385 return (m_iconbar->findIcon(&win) != 0);
386} 386}
387 387
diff --git a/src/Toolbar.hh b/src/Toolbar.hh
index 4349ea7..a1c5c50 100644
--- a/src/Toolbar.hh
+++ b/src/Toolbar.hh
@@ -22,7 +22,7 @@
22// FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER 22// FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
23// DEALINGS IN THE SOFTWARE. 23// DEALINGS IN THE SOFTWARE.
24 24
25// $Id: Toolbar.hh,v 1.31 2003/05/15 11:17:27 fluxgen Exp $ 25// $Id: Toolbar.hh,v 1.32 2003/06/11 14:50:57 fluxgen Exp $
26 26
27#ifndef TOOLBAR_HH 27#ifndef TOOLBAR_HH
28#define TOOLBAR_HH 28#define TOOLBAR_HH
@@ -72,11 +72,11 @@ public:
72 void delIcon(FluxboxWindow *w); 72 void delIcon(FluxboxWindow *w);
73 /// remove all icons 73 /// remove all icons
74 void delAllIcons(); 74 void delAllIcons();
75 bool containsIcon(FluxboxWindow &win);
76 75
77 void enableIconBar(); 76 void enableIconBar();
78 void disableIconBar(); 77 void disableIconBar();
79 78
79 bool containsIcon(const FluxboxWindow &win) const;
80 inline const FbTk::Menu &menu() const { return m_toolbarmenu; } 80 inline const FbTk::Menu &menu() const { return m_toolbarmenu; }
81 inline FbTk::Menu &menu() { return m_toolbarmenu; } 81 inline FbTk::Menu &menu() { return m_toolbarmenu; }
82 inline FbTk::Menu &placementMenu() { return m_placementmenu; } 82 inline FbTk::Menu &placementMenu() { return m_placementmenu; }