aboutsummaryrefslogtreecommitdiff
path: root/src/FbCommands.hh
diff options
context:
space:
mode:
authorMark Tiefenbruck <mark@fluxbox.org>2008-05-13 01:13:56 (GMT)
committerMark Tiefenbruck <mark@fluxbox.org>2008-05-13 01:13:56 (GMT)
commit68cf3092208830e075c4fe5eddfdcbef3f11596a (patch)
treed0a8ed49f827286c2494968b0a336934912bff9e /src/FbCommands.hh
parentdcdc78332431ff2b258c54a99d6fac382c6a0595 (diff)
downloadfluxbox-68cf3092208830e075c4fe5eddfdcbef3f11596a.zip
fluxbox-68cf3092208830e075c4fe5eddfdcbef3f11596a.tar.bz2
implement smarter reloading for custom menus
Diffstat (limited to 'src/FbCommands.hh')
-rw-r--r--src/FbCommands.hh3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/FbCommands.hh b/src/FbCommands.hh
index 3ad45c4..811fb78 100644
--- a/src/FbCommands.hh
+++ b/src/FbCommands.hh
@@ -132,9 +132,10 @@ class ShowCustomMenuCmd: public FbTk::Command<void> {
132public: 132public:
133 explicit ShowCustomMenuCmd(const std::string &arguments); 133 explicit ShowCustomMenuCmd(const std::string &arguments);
134 void execute(); 134 void execute();
135 void reload();
135private: 136private:
136 std::string custom_menu_file; 137 std::string custom_menu_file;
137 std::auto_ptr<FbTk::Menu> m_menu; 138 std::auto_ptr<FbMenu> m_menu;
138}; 139};
139 140
140class ShowRootMenuCmd: public FbTk::Command<void> { 141class ShowRootMenuCmd: public FbTk::Command<void> {