aboutsummaryrefslogtreecommitdiff
path: root/src/Remember.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/Remember.cc')
-rw-r--r--src/Remember.cc10
1 files changed, 2 insertions, 8 deletions
diff --git a/src/Remember.cc b/src/Remember.cc
index 401d29c..812b109 100644
--- a/src/Remember.cc
+++ b/src/Remember.cc
@@ -21,7 +21,7 @@
21// FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER 21// FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
22// DEALINGS IN THE SOFTWARE. 22// DEALINGS IN THE SOFTWARE.
23 23
24// $Id: Remember.cc,v 1.30 2003/11/17 00:20:54 fluxgen Exp $ 24// $Id: Remember.cc,v 1.31 2003/12/10 23:08:03 fluxgen Exp $
25 25
26#include "Remember.hh" 26#include "Remember.hh"
27#include "ClientPattern.hh" 27#include "ClientPattern.hh"
@@ -109,11 +109,7 @@ private:
109FbTk::Menu *createRememberMenu(Remember &remember, FluxboxWindow &win, bool enabled) { 109FbTk::Menu *createRememberMenu(Remember &remember, FluxboxWindow &win, bool enabled) {
110 // each fluxboxwindow has its own windowmenu 110 // each fluxboxwindow has its own windowmenu
111 // so we also create a remember menu just for it... 111 // so we also create a remember menu just for it...
112 BScreen &screen = win.screen(); 112 FbTk::Menu *menu = win.screen().createMenu("");
113 FbTk::Menu *menu = new FbMenu(*screen.menuTheme(),
114 screen.screenNumber(),
115 screen.imageControl(),
116 *screen.layerManager().getLayer(Fluxbox::instance()->getMenuLayer()));
117 113
118 // if enabled, then we want this to be a unavailable menu 114 // if enabled, then we want this to be a unavailable menu
119 if (!enabled) { 115 if (!enabled) {
@@ -141,8 +137,6 @@ FbTk::Menu *createRememberMenu(Remember &remember, FluxboxWindow &win, bool enab
141 Remember::REM_SHADEDSTATE)); 137 Remember::REM_SHADEDSTATE));
142 menu->insert(new RememberMenuItem("Layer", remember, win, 138 menu->insert(new RememberMenuItem("Layer", remember, win,
143 Remember::REM_LAYER)); 139 Remember::REM_LAYER));
144 // menu->insert(new RememberMenuItem("Tab", remember, win,
145 // Remember::REM_TABSTATE));
146 menu->insert(new RememberMenuItem("Save on close", remember, win, 140 menu->insert(new RememberMenuItem("Save on close", remember, win,
147 Remember::REM_SAVEONCLOSE)); 141 Remember::REM_SAVEONCLOSE));
148 142