aboutsummaryrefslogtreecommitdiff
path: root/src/FbCommands.hh
diff options
context:
space:
mode:
authormarkt <markt>2007-03-21 22:47:56 (GMT)
committermarkt <markt>2007-03-21 22:47:56 (GMT)
commit2b7f9a5899a1bfc680761ae6792af0eeb99d76f3 (patch)
treec80e82fe26b383a5135ad1c07396581662edd052 /src/FbCommands.hh
parentff3ea6f5aa685dbf1b285905ccdb6c0a6e9a0e9f (diff)
downloadfluxbox-2b7f9a5899a1bfc680761ae6792af0eeb99d76f3.zip
fluxbox-2b7f9a5899a1bfc680761ae6792af0eeb99d76f3.tar.bz2
hidemenus hide custommenus and fix custommenu memleak
Diffstat (limited to 'src/FbCommands.hh')
-rw-r--r--src/FbCommands.hh5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/FbCommands.hh b/src/FbCommands.hh
index 3bc5074..314d339 100644
--- a/src/FbCommands.hh
+++ b/src/FbCommands.hh
@@ -28,6 +28,9 @@
28 28
29#include "Command.hh" 29#include "Command.hh"
30 30
31#include "FbTk/RefCount.hh"
32#include "FbTk/Menu.hh"
33
31#include <string> 34#include <string>
32 35
33namespace FbCommands { 36namespace FbCommands {
@@ -124,7 +127,7 @@ public:
124 void execute(); 127 void execute();
125private: 128private:
126 std::string custom_menu_file; 129 std::string custom_menu_file;
127 130 FbTk::RefCount<FbTk::Menu> m_menu;
128}; 131};
129 132
130class ShowRootMenuCmd: public FbTk::Command { 133class ShowRootMenuCmd: public FbTk::Command {