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/BoolMenuItem.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/BoolMenuItem.hh')
-rw-r--r-- | src/BoolMenuItem.hh | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/BoolMenuItem.hh b/src/BoolMenuItem.hh index ff3f952..914185d 100644 --- a/src/BoolMenuItem.hh +++ b/src/BoolMenuItem.hh | |||
@@ -29,13 +29,13 @@ | |||
29 | /// a bool menu item | 29 | /// a bool menu item |
30 | class BoolMenuItem: public FbTk::MenuItem { | 30 | class BoolMenuItem: public FbTk::MenuItem { |
31 | public: | 31 | public: |
32 | BoolMenuItem(const char *label, bool &item, | 32 | BoolMenuItem(const FbTk::FbString &label, bool &item, |
33 | FbTk::RefCount<FbTk::Command> &cmd): | 33 | FbTk::RefCount<FbTk::Command> &cmd): |
34 | FbTk::MenuItem(label, cmd), m_item(item) { | 34 | FbTk::MenuItem(label, cmd), m_item(item) { |
35 | FbTk::MenuItem::setSelected(m_item); | 35 | FbTk::MenuItem::setSelected(m_item); |
36 | setToggleItem(true); | 36 | setToggleItem(true); |
37 | } | 37 | } |
38 | BoolMenuItem(const char *label, bool &item): | 38 | BoolMenuItem(const FbTk::FbString &label, bool &item): |
39 | FbTk::MenuItem(label), m_item(item) { | 39 | FbTk::MenuItem(label), m_item(item) { |
40 | FbTk::MenuItem::setSelected(m_item); | 40 | FbTk::MenuItem::setSelected(m_item); |
41 | } | 41 | } |