diff options
author | Mark Tiefenbruck <mark@fluxbox.org> | 2008-05-13 01:13:56 (GMT) |
---|---|---|
committer | Mark Tiefenbruck <mark@fluxbox.org> | 2008-05-13 01:13:56 (GMT) |
commit | 68cf3092208830e075c4fe5eddfdcbef3f11596a (patch) | |
tree | d0a8ed49f827286c2494968b0a336934912bff9e /src/FbCommands.hh | |
parent | dcdc78332431ff2b258c54a99d6fac382c6a0595 (diff) | |
download | fluxbox-68cf3092208830e075c4fe5eddfdcbef3f11596a.zip fluxbox-68cf3092208830e075c4fe5eddfdcbef3f11596a.tar.bz2 |
implement smarter reloading for custom menus
Diffstat (limited to 'src/FbCommands.hh')
-rw-r--r-- | src/FbCommands.hh | 3 |
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> { | |||
132 | public: | 132 | public: |
133 | explicit ShowCustomMenuCmd(const std::string &arguments); | 133 | explicit ShowCustomMenuCmd(const std::string &arguments); |
134 | void execute(); | 134 | void execute(); |
135 | void reload(); | ||
135 | private: | 136 | private: |
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 | ||
140 | class ShowRootMenuCmd: public FbTk::Command<void> { | 141 | class ShowRootMenuCmd: public FbTk::Command<void> { |