aboutsummaryrefslogtreecommitdiff
path: root/src/BoolMenuItem.hh
diff options
context:
space:
mode:
authorsimonb <simonb>2006-05-20 15:08:14 (GMT)
committersimonb <simonb>2006-05-20 15:08:14 (GMT)
commit0861f3a9073ccd016302af26ff992fa19331a02d (patch)
treef1a2276449a5fc9b27f2d1afa5ffff4410141345 /src/BoolMenuItem.hh
parent5ddabb0f390f69db793b5a6e40be9f94b8f83136 (diff)
downloadfluxbox-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.hh4
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
30class BoolMenuItem: public FbTk::MenuItem { 30class BoolMenuItem: public FbTk::MenuItem {
31public: 31public:
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 }