diff options
author | simonb <simonb> | 2006-05-20 15:08:14 (GMT) |
---|---|---|
committer | simonb <simonb> | 2006-05-20 15:08:14 (GMT) |
commit | 0861f3a9073ccd016302af26ff992fa19331a02d (patch) | |
tree | f1a2276449a5fc9b27f2d1afa5ffff4410141345 /src/LayerMenu.hh | |
parent | 5ddabb0f390f69db793b5a6e40be9f94b8f83136 (diff) | |
download | fluxbox-0861f3a9073ccd016302af26ff992fa19331a02d.zip fluxbox-0861f3a9073ccd016302af26ff992fa19331a02d.tar.bz2 |
improve native language handling, move messages and menu labels to
FbTk::FbString
Diffstat (limited to 'src/LayerMenu.hh')
-rw-r--r-- | src/LayerMenu.hh | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/LayerMenu.hh b/src/LayerMenu.hh index 724e7bc..3f8330f 100644 --- a/src/LayerMenu.hh +++ b/src/LayerMenu.hh | |||
@@ -41,11 +41,11 @@ public: | |||
41 | /// this class holds the layermenu items | 41 | /// this class holds the layermenu items |
42 | class LayerMenuItem : public FbTk::MenuItem { | 42 | class LayerMenuItem : public FbTk::MenuItem { |
43 | public: | 43 | public: |
44 | LayerMenuItem(const char *label, LayerObject *object, int layernum, | 44 | LayerMenuItem(const FbTk::FbString &label, LayerObject *object, int layernum, |
45 | FbTk::RefCount<FbTk::Command> &cmd): | 45 | FbTk::RefCount<FbTk::Command> &cmd): |
46 | FbTk::MenuItem(label, cmd), m_object(object), m_layernum(layernum) {} | 46 | FbTk::MenuItem(label, cmd), m_object(object), m_layernum(layernum) {} |
47 | 47 | ||
48 | LayerMenuItem(const char *label, LayerObject *object, int layernum): | 48 | LayerMenuItem(const FbTk::FbString &label, LayerObject *object, int layernum): |
49 | FbTk::MenuItem(label), m_object(object), m_layernum(layernum) {} | 49 | FbTk::MenuItem(label), m_object(object), m_layernum(layernum) {} |
50 | 50 | ||
51 | bool isEnabled() const { return m_object->layerNumber() != m_layernum; } | 51 | bool isEnabled() const { return m_object->layerNumber() != m_layernum; } |