diff options
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); |