diff options
author | Mark Tiefenbruck <mark@fluxbox.org> | 2008-01-11 07:41:22 (GMT) |
---|---|---|
committer | Mark Tiefenbruck <mark@fluxbox.org> | 2008-01-11 07:41:22 (GMT) |
commit | 9f2f65a698c4cc71373a7fe9d73a0889e0d3487b (patch) | |
tree | 4ad67db771d73ea3c48f80a1244037fc9754edd2 /src/StyleMenuItem.cc | |
parent | 1f01d84c080d607a91eb417efcaf5e500b5f1d7e (diff) | |
download | fluxbox_pavel-9f2f65a698c4cc71373a7fe9d73a0889e0d3487b.zip fluxbox_pavel-9f2f65a698c4cc71373a7fe9d73a0889e0d3487b.tar.bz2 |
make FbTk::Command a template class, split parsing information out of ObjectRegistry
Diffstat (limited to 'src/StyleMenuItem.cc')
-rw-r--r-- | src/StyleMenuItem.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/StyleMenuItem.cc b/src/StyleMenuItem.cc index fde036f..628935d 100644 --- a/src/StyleMenuItem.cc +++ b/src/StyleMenuItem.cc | |||
@@ -32,7 +32,7 @@ StyleMenuItem::StyleMenuItem(const FbTk::FbString &label, const std::string &fil | |||
32 | m_filename(filename) { | 32 | m_filename(filename) { |
33 | // perform shell style ~ home directory expansion | 33 | // perform shell style ~ home directory expansion |
34 | // and insert style | 34 | // and insert style |
35 | FbTk::RefCount<FbTk::Command> | 35 | FbTk::RefCount<FbTk::Command<void> > |
36 | setstyle_cmd(new FbCommands:: | 36 | setstyle_cmd(new FbCommands:: |
37 | SetStyleCmd(m_filename)); | 37 | SetStyleCmd(m_filename)); |
38 | setCommand(setstyle_cmd); | 38 | setCommand(setstyle_cmd); |