aboutsummaryrefslogtreecommitdiff
path: root/src/LayerMenu.hh
diff options
context:
space:
mode:
authorfluxgen <fluxgen>2004-06-07 21:15:08 (GMT)
committerfluxgen <fluxgen>2004-06-07 21:15:08 (GMT)
commita73918e805ab8d60ae7f8f82ae001ce0231777f0 (patch)
treeb48542f0d561f0bc5e93bc16a1cc218af9af4f6e /src/LayerMenu.hh
parent69aab351b08d604f3e6d6e2dd183bfb21bb8ba1a (diff)
downloadfluxbox-a73918e805ab8d60ae7f8f82ae001ce0231777f0.zip
fluxbox-a73918e805ab8d60ae7f8f82ae001ce0231777f0.tar.bz2
minor fix
Diffstat (limited to 'src/LayerMenu.hh')
-rw-r--r--src/LayerMenu.hh4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/LayerMenu.hh b/src/LayerMenu.hh
index 1afedb5..f3ad771 100644
--- a/src/LayerMenu.hh
+++ b/src/LayerMenu.hh
@@ -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: LayerMenu.hh,v 1.7 2003/12/10 23:08:03 fluxgen Exp $ 23// $Id: LayerMenu.hh,v 1.8 2004/06/07 21:15:08 fluxgen Exp $
24 24
25#ifndef LAYERMENU_HH 25#ifndef LAYERMENU_HH
26#define LAYERMENU_HH 26#define LAYERMENU_HH
@@ -44,7 +44,7 @@ public:
44 LayerMenuItem(const char *label, ItemType *object, int layernum): 44 LayerMenuItem(const char *label, ItemType *object, int layernum):
45 FbTk::MenuItem(label), m_object(object), m_layernum(layernum) {} 45 FbTk::MenuItem(label), m_object(object), m_layernum(layernum) {}
46 46
47 bool isEnabled() const { return m_object->layerItem().getLayerNum() != m_layernum; } ; 47 bool isEnabled() const { return m_object->layerItem().getLayerNum() != m_layernum; }
48 void click(int button, int time) { 48 void click(int button, int time) {
49 m_object->moveToLayer(m_layernum); 49 m_object->moveToLayer(m_layernum);
50 FbTk::MenuItem::click(button, time); 50 FbTk::MenuItem::click(button, time);