diff options
author | Mark Tiefenbruck <mark@fluxbox.org> | 2007-12-16 03:36:01 (GMT) |
---|---|---|
committer | Mark Tiefenbruck <mark@fluxbox.org> | 2007-12-16 03:36:01 (GMT) |
commit | 8516f1e2a21a374127ccfa3f7b8de2443e67fe33 (patch) | |
tree | a66f212f856981584b2b44bfc772096c5ee7bebe /src/WorkspaceMenu.cc | |
parent | 90f4f1ecc1635fd5d144f86d64b1674958d0a59f (diff) | |
download | fluxbox_pavel-8516f1e2a21a374127ccfa3f7b8de2443e67fe33.zip fluxbox_pavel-8516f1e2a21a374127ccfa3f7b8de2443e67fe33.tar.bz2 |
changed CommandRegistry to a template class, renamed to ObjectRegistry<Type>
Diffstat (limited to 'src/WorkspaceMenu.cc')
-rw-r--r-- | src/WorkspaceMenu.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/WorkspaceMenu.cc b/src/WorkspaceMenu.cc index 23d4007..60d2e56 100644 --- a/src/WorkspaceMenu.cc +++ b/src/WorkspaceMenu.cc | |||
@@ -27,7 +27,7 @@ | |||
27 | #include "Workspace.hh" | 27 | #include "Workspace.hh" |
28 | #include "WorkspaceCmd.hh" | 28 | #include "WorkspaceCmd.hh" |
29 | #include "MenuCreator.hh" | 29 | #include "MenuCreator.hh" |
30 | #include "FbTk/CommandRegistry.hh" | 30 | #include "FbTk/ObjectRegistry.hh" |
31 | #include "FbCommands.hh" | 31 | #include "FbCommands.hh" |
32 | #include "Layer.hh" | 32 | #include "Layer.hh" |
33 | 33 | ||
@@ -147,7 +147,7 @@ void WorkspaceMenu::init(BScreen &screen) { | |||
147 | remove_workspace_macro->add(saverc_cmd); | 147 | remove_workspace_macro->add(saverc_cmd); |
148 | RefCount<Command> remove_last_cmd(remove_workspace_macro); | 148 | RefCount<Command> remove_last_cmd(remove_workspace_macro); |
149 | 149 | ||
150 | RefCount<Command> start_edit(FbTk::CommandRegistry::instance().parseLine("setworkspacenamedialog")); | 150 | RefCount<Command> start_edit(FbTk::ObjectRegistry<Command>::instance().parse("setworkspacenamedialog")); |
151 | 151 | ||
152 | insert(new FbTk::MenuSeparator()); | 152 | insert(new FbTk::MenuSeparator()); |
153 | insert(_FB_XTEXT(Workspace, NewWorkspace, "New Workspace", "Add a new workspace"), | 153 | insert(_FB_XTEXT(Workspace, NewWorkspace, "New Workspace", "Add a new workspace"), |