aboutsummaryrefslogtreecommitdiff
path: root/src/ClockTool.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/ClockTool.cc')
-rw-r--r--src/ClockTool.cc6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/ClockTool.cc b/src/ClockTool.cc
index 55973fb..b396999 100644
--- a/src/ClockTool.cc
+++ b/src/ClockTool.cc
@@ -26,7 +26,7 @@
26 26
27#include "ToolTheme.hh" 27#include "ToolTheme.hh"
28#include "Screen.hh" 28#include "Screen.hh"
29#include "FbTk/CommandRegistry.hh" 29#include "FbTk/ObjectRegistry.hh"
30#include "CommandDialog.hh" 30#include "CommandDialog.hh"
31#include "fluxbox.hh" 31#include "fluxbox.hh"
32 32
@@ -128,7 +128,7 @@ public:
128 128
129 CommandDialog *dialog = new CommandDialog(*screen, "Edit Clock Format", 129 CommandDialog *dialog = new CommandDialog(*screen, "Edit Clock Format",
130 "SetResourceValue " + resourcename + " "); 130 "SetResourceValue " + resourcename + " ");
131 FbTk::RefCount<FbTk::Command> cmd(FbTk::CommandRegistry::instance().parseLine("reconfigure")); 131 FbTk::RefCount<FbTk::Command> cmd(FbTk::ObjectRegistry<FbTk::Command>::instance().parse("reconfigure"));
132 dialog->setPostCommand(cmd); 132 dialog->setPostCommand(cmd);
133 dialog->setText(screen->resourceManager().resourceValue(resourcename)); 133 dialog->setText(screen->resourceManager().resourceValue(resourcename));
134 dialog->show(); 134 dialog->show();
@@ -169,7 +169,7 @@ ClockTool::ClockTool(const FbTk::FbWindow &parent,
169 m_button.setGC(m_theme.textGC()); 169 m_button.setGC(m_theme.textGC());
170 170
171 // setup menu 171 // setup menu
172 FbTk::RefCount<FbTk::Command> saverc(FbTk::CommandRegistry::instance().parseLine("saverc")); 172 FbTk::RefCount<FbTk::Command> saverc(FbTk::ObjectRegistry<FbTk::Command>::instance().parse("saverc"));
173 FbTk::MenuItem *item = new ClockMenuItem(*this); 173 FbTk::MenuItem *item = new ClockMenuItem(*this);
174 item->setCommand(saverc); 174 item->setCommand(saverc);
175 menu.insert(item); 175 menu.insert(item);