aboutsummaryrefslogtreecommitdiff
path: root/src/Xinerama.hh
diff options
context:
space:
mode:
authorMark Tiefenbruck <mark@fluxbox.org>2008-01-11 07:41:22 (GMT)
committerMark Tiefenbruck <mark@fluxbox.org>2008-01-11 07:41:22 (GMT)
commit9f2f65a698c4cc71373a7fe9d73a0889e0d3487b (patch)
tree4ad67db771d73ea3c48f80a1244037fc9754edd2 /src/Xinerama.hh
parent1f01d84c080d607a91eb417efcaf5e500b5f1d7e (diff)
downloadfluxbox_pavel-9f2f65a698c4cc71373a7fe9d73a0889e0d3487b.zip
fluxbox_pavel-9f2f65a698c4cc71373a7fe9d73a0889e0d3487b.tar.bz2
make FbTk::Command a template class, split parsing information out of ObjectRegistry
Diffstat (limited to 'src/Xinerama.hh')
-rw-r--r--src/Xinerama.hh4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/Xinerama.hh b/src/Xinerama.hh
index 4e7d06f..f58b4f0 100644
--- a/src/Xinerama.hh
+++ b/src/Xinerama.hh
@@ -40,7 +40,7 @@ template <typename ItemType>
40class XineramaHeadMenuItem : public FbTk::MenuItem { 40class XineramaHeadMenuItem : public FbTk::MenuItem {
41public: 41public:
42 XineramaHeadMenuItem(const FbTk::FbString &label, ItemType &object, int headnum, 42 XineramaHeadMenuItem(const FbTk::FbString &label, ItemType &object, int headnum,
43 FbTk::RefCount<FbTk::Command> &cmd): 43 FbTk::RefCount<FbTk::Command<void> > &cmd):
44 FbTk::MenuItem(label,cmd), m_object(object), m_headnum(headnum) {} 44 FbTk::MenuItem(label,cmd), m_object(object), m_headnum(headnum) {}
45 XineramaHeadMenuItem(const FbTk::FbString &label, ItemType &object, int headnum): 45 XineramaHeadMenuItem(const FbTk::FbString &label, ItemType &object, int headnum):
46 FbTk::MenuItem(label), m_object(object), m_headnum(headnum) {} 46 FbTk::MenuItem(label), m_object(object), m_headnum(headnum) {}
@@ -79,7 +79,7 @@ XineramaHeadMenu<ItemType>::XineramaHeadMenu(
79 m_object(item) 79 m_object(item)
80{ 80{
81 setLabel(title); 81 setLabel(title);
82 FbTk::RefCount<FbTk::Command> saverc_cmd(new FbTk::SimpleCommand<Fluxbox>( 82 FbTk::RefCount<FbTk::Command<void> > saverc_cmd(new FbTk::SimpleCommand<Fluxbox>(
83 *Fluxbox::instance(), 83 *Fluxbox::instance(),
84 &Fluxbox::save_rc)); 84 &Fluxbox::save_rc));
85 char tname[128]; 85 char tname[128];