diff options
Diffstat (limited to 'src/Toolbar.cc')
-rw-r--r-- | src/Toolbar.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/Toolbar.cc b/src/Toolbar.cc index 55ae1d3..3e446d8 100644 --- a/src/Toolbar.cc +++ b/src/Toolbar.cc | |||
@@ -44,7 +44,7 @@ | |||
44 | #endif // XINERAMA | 44 | #endif // XINERAMA |
45 | 45 | ||
46 | #include "Strut.hh" | 46 | #include "Strut.hh" |
47 | #include "CommandParser.hh" | 47 | #include "FbTk/CommandRegistry.hh" |
48 | #include "Layer.hh" | 48 | #include "Layer.hh" |
49 | 49 | ||
50 | #include "FbTk/I18n.hh" | 50 | #include "FbTk/I18n.hh" |
@@ -823,7 +823,7 @@ void Toolbar::setupMenus(bool skip_new_placement) { | |||
823 | "Toolbar", "Title of Toolbar menu")); | 823 | "Toolbar", "Title of Toolbar menu")); |
824 | 824 | ||
825 | RefCommand reconfig_toolbar(new ToolbarCommand(*this, &Toolbar::reconfigure)); | 825 | RefCommand reconfig_toolbar(new ToolbarCommand(*this, &Toolbar::reconfigure)); |
826 | RefCommand save_resources(CommandParser::instance().parseLine("saverc")); | 826 | RefCommand save_resources(FbTk::CommandRegistry::instance().parseLine("saverc")); |
827 | MacroCommand *toolbar_menuitem_macro = new MacroCommand(); | 827 | MacroCommand *toolbar_menuitem_macro = new MacroCommand(); |
828 | toolbar_menuitem_macro->add(reconfig_toolbar); | 828 | toolbar_menuitem_macro->add(reconfig_toolbar); |
829 | toolbar_menuitem_macro->add(save_resources); | 829 | toolbar_menuitem_macro->add(save_resources); |