aboutsummaryrefslogtreecommitdiff
path: root/src/Toolbar.cc
diff options
context:
space:
mode:
authorMark Tiefenbruck <mark@fluxbox.org>2007-12-16 03:36:01 (GMT)
committerMark Tiefenbruck <mark@fluxbox.org>2007-12-16 03:36:01 (GMT)
commit8516f1e2a21a374127ccfa3f7b8de2443e67fe33 (patch)
treea66f212f856981584b2b44bfc772096c5ee7bebe /src/Toolbar.cc
parent90f4f1ecc1635fd5d144f86d64b1674958d0a59f (diff)
downloadfluxbox-8516f1e2a21a374127ccfa3f7b8de2443e67fe33.zip
fluxbox-8516f1e2a21a374127ccfa3f7b8de2443e67fe33.tar.bz2
changed CommandRegistry to a template class, renamed to ObjectRegistry<Type>
Diffstat (limited to 'src/Toolbar.cc')
-rw-r--r--src/Toolbar.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/Toolbar.cc b/src/Toolbar.cc
index 3e446d8..2e3afd5 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 "FbTk/CommandRegistry.hh" 47#include "FbTk/ObjectRegistry.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(FbTk::CommandRegistry::instance().parseLine("saverc")); 826 RefCommand save_resources(FbTk::ObjectRegistry<Command>::instance().parse("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);