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/IconbarTool.cc | |
parent | 5ddabb0f390f69db793b5a6e40be9f94b8f83136 (diff) | |
download | fluxbox_lack-0861f3a9073ccd016302af26ff992fa19331a02d.zip fluxbox_lack-0861f3a9073ccd016302af26ff992fa19331a02d.tar.bz2 |
improve native language handling, move messages and menu labels to
FbTk::FbString
Diffstat (limited to 'src/IconbarTool.cc')
-rw-r--r-- | src/IconbarTool.cc | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/IconbarTool.cc b/src/IconbarTool.cc index a0e0beb..6210d53 100644 --- a/src/IconbarTool.cc +++ b/src/IconbarTool.cc | |||
@@ -205,7 +205,7 @@ namespace { | |||
205 | 205 | ||
206 | class ToolbarModeMenuItem : public FbTk::MenuItem { | 206 | class ToolbarModeMenuItem : public FbTk::MenuItem { |
207 | public: | 207 | public: |
208 | ToolbarModeMenuItem(const char *label, IconbarTool &handler, | 208 | ToolbarModeMenuItem(const FbTk::FbString &label, IconbarTool &handler, |
209 | IconbarTool::Mode mode, | 209 | IconbarTool::Mode mode, |
210 | FbTk::RefCount<FbTk::Command> &cmd): | 210 | FbTk::RefCount<FbTk::Command> &cmd): |
211 | FbTk::MenuItem(label, cmd), m_handler(handler), m_mode(mode) { | 211 | FbTk::MenuItem(label, cmd), m_handler(handler), m_mode(mode) { |
@@ -223,7 +223,7 @@ private: | |||
223 | 223 | ||
224 | class ToolbarAlignMenuItem: public FbTk::MenuItem { | 224 | class ToolbarAlignMenuItem: public FbTk::MenuItem { |
225 | public: | 225 | public: |
226 | ToolbarAlignMenuItem(const char *label, IconbarTool &handler, | 226 | ToolbarAlignMenuItem(const FbTk::FbString &label, IconbarTool &handler, |
227 | Container::Alignment mode, | 227 | Container::Alignment mode, |
228 | FbTk::RefCount<FbTk::Command> &cmd): | 228 | FbTk::RefCount<FbTk::Command> &cmd): |
229 | FbTk::MenuItem(label, cmd), m_handler(handler), m_mode(mode) { | 229 | FbTk::MenuItem(label, cmd), m_handler(handler), m_mode(mode) { |
@@ -409,7 +409,7 @@ IconbarTool::IconbarTool(const FbTk::FbWindow &parent, IconbarTheme &theme, BScr | |||
409 | m_menu.setInternalMenu(); | 409 | m_menu.setInternalMenu(); |
410 | 410 | ||
411 | // add iconbar menu to toolbar menu | 411 | // add iconbar menu to toolbar menu |
412 | menu.insert(m_menu.label().c_str(), &m_menu); | 412 | menu.insert(m_menu.label(), &m_menu); |
413 | 413 | ||
414 | // setup signals | 414 | // setup signals |
415 | theme.reconfigSig().attach(this); | 415 | theme.reconfigSig().attach(this); |