aboutsummaryrefslogtreecommitdiff
path: root/src/Remember.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/Remember.cc')
-rw-r--r--src/Remember.cc16
1 files changed, 9 insertions, 7 deletions
diff --git a/src/Remember.cc b/src/Remember.cc
index 05e397e..9783c17 100644
--- a/src/Remember.cc
+++ b/src/Remember.cc
@@ -20,7 +20,7 @@
20// FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER 20// FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
21// DEALINGS IN THE SOFTWARE. 21// DEALINGS IN THE SOFTWARE.
22 22
23// $Id: Remember.cc,v 1.6 2003/04/26 13:47:53 rathnor Exp $ 23// $Id: Remember.cc,v 1.7 2003/04/26 14:36:21 rathnor Exp $
24 24
25#include "Remember.hh" 25#include "Remember.hh"
26#include "StringUtil.hh" 26#include "StringUtil.hh"
@@ -537,6 +537,14 @@ void Remember::forgetAttrib(WinClient &winclient, Attribute attrib) {
537void Remember::setupWindow(FluxboxWindow &win) { 537void Remember::setupWindow(FluxboxWindow &win) {
538 WinClient &winclient = win.winClient(); 538 WinClient &winclient = win.winClient();
539 539
540 // add the menu, this -2 is somewhat dodgy... :-/
541 // All windows get the remember menu.
542 // TODO: nls
543 win.getWindowmenu().insert("Remember...",
544 createRememberMenu(*this, win),
545 win.getWindowmenu().numberOfItems()-2);
546 win.getWindowmenu().update();
547
540 // we don't touch the window if it is a transient 548 // we don't touch the window if it is a transient
541 // of something else 549 // of something else
542 if (winclient.transientFor()) 550 if (winclient.transientFor())
@@ -581,12 +589,6 @@ void Remember::setupWindow(FluxboxWindow &win) {
581 if (app->layer_remember) 589 if (app->layer_remember)
582 win.moveToLayer(app->layer); 590 win.moveToLayer(app->layer);
583 591
584 // add the menu, this -2 is somewhat dodgy... :-/
585 // TODO: nls
586 win.getWindowmenu().insert("Remember...",
587 createRememberMenu(*this, win),
588 win.getWindowmenu().numberOfItems()-2);
589 win.getWindowmenu().update();
590} 592}
591 593
592void Remember::updateWindowClose(FluxboxWindow &win) { 594void Remember::updateWindowClose(FluxboxWindow &win) {