aboutsummaryrefslogtreecommitdiff
path: root/src/IconbarTool.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/IconbarTool.cc
parent90f4f1ecc1635fd5d144f86d64b1674958d0a59f (diff)
downloadfluxbox-8516f1e2a21a374127ccfa3f7b8de2443e67fe33.zip
fluxbox-8516f1e2a21a374127ccfa3f7b8de2443e67fe33.tar.bz2
changed CommandRegistry to a template class, renamed to ObjectRegistry<Type>
Diffstat (limited to 'src/IconbarTool.cc')
-rw-r--r--src/IconbarTool.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/IconbarTool.cc b/src/IconbarTool.cc
index f0179d1..1e575dc 100644
--- a/src/IconbarTool.cc
+++ b/src/IconbarTool.cc
@@ -33,7 +33,7 @@
33#include "Workspace.hh" 33#include "Workspace.hh"
34#include "FbMenu.hh" 34#include "FbMenu.hh"
35#include "BoolMenuItem.hh" 35#include "BoolMenuItem.hh"
36#include "FbTk/CommandRegistry.hh" 36#include "FbTk/ObjectRegistry.hh"
37#include "WinClient.hh" 37#include "WinClient.hh"
38#include "FocusControl.hh" 38#include "FocusControl.hh"
39#include "FbCommands.hh" 39#include "FbCommands.hh"
@@ -282,7 +282,7 @@ IconbarTool::IconbarTool(const FbTk::FbWindow &parent, IconbarTheme &theme,
282 // setup use pixmap item to reconfig iconbar and save resource on click 282 // setup use pixmap item to reconfig iconbar and save resource on click
283 MacroCommand *save_and_reconfig = new MacroCommand(); 283 MacroCommand *save_and_reconfig = new MacroCommand();
284 RefCount<Command> reconfig(new SimpleCommand<IconbarTool>(*this, &IconbarTool::renderTheme)); 284 RefCount<Command> reconfig(new SimpleCommand<IconbarTool>(*this, &IconbarTool::renderTheme));
285 RefCount<Command> save(FbTk::CommandRegistry::instance().parseLine("saverc")); 285 RefCount<Command> save(FbTk::ObjectRegistry<Command>::instance().parse("saverc"));
286 save_and_reconfig->add(reconfig); 286 save_and_reconfig->add(reconfig);
287 save_and_reconfig->add(save); 287 save_and_reconfig->add(save);
288 RefCount<Command> s_and_reconfig(save_and_reconfig); 288 RefCount<Command> s_and_reconfig(save_and_reconfig);