summaryrefslogtreecommitdiff
path: root/src/IconbarTool.cc
diff options
context:
space:
mode:
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);