diff options
author | rathnor <rathnor> | 2003-07-20 08:12:36 (GMT) |
---|---|---|
committer | rathnor <rathnor> | 2003-07-20 08:12:36 (GMT) |
commit | 1741ac072dd6516b4dcfdf6dbe9099a335c7bc7d (patch) | |
tree | 8dd1331222e35070a16aaae5d4bd059296dd341c /src/FbTk/Menu.cc | |
parent | ace3e2e6293fa0ae5a2b9d971f24fa45b317ba2e (diff) | |
download | fluxbox_pavel-1741ac072dd6516b4dcfdf6dbe9099a335c7bc7d.zip fluxbox_pavel-1741ac072dd6516b4dcfdf6dbe9099a335c7bc7d.tar.bz2 |
fix menus for "extra" things, like remember, so that they will be
added back if the menu is rebuilt.
Diffstat (limited to 'src/FbTk/Menu.cc')
-rw-r--r-- | src/FbTk/Menu.cc | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/FbTk/Menu.cc b/src/FbTk/Menu.cc index 3674ae1..9dccb6f 100644 --- a/src/FbTk/Menu.cc +++ b/src/FbTk/Menu.cc | |||
@@ -22,7 +22,7 @@ | |||
22 | // FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER | 22 | // FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER |
23 | // DEALINGS IN THE SOFTWARE. | 23 | // DEALINGS IN THE SOFTWARE. |
24 | 24 | ||
25 | // $Id: Menu.cc,v 1.29 2003/07/19 03:59:56 rathnor Exp $ | 25 | // $Id: Menu.cc,v 1.30 2003/07/20 08:12:36 rathnor Exp $ |
26 | 26 | ||
27 | //use GNU extensions | 27 | //use GNU extensions |
28 | #ifndef _GNU_SOURCE | 28 | #ifndef _GNU_SOURCE |
@@ -557,6 +557,8 @@ void Menu::update() { | |||
557 | 557 | ||
558 | 558 | ||
559 | void Menu::show() { | 559 | void Menu::show() { |
560 | if (m_need_update) | ||
561 | update(); | ||
560 | menu.window.showSubwindows(); | 562 | menu.window.showSubwindows(); |
561 | menu.window.show(); | 563 | menu.window.show(); |
562 | //!! TODO, this should probably be done explicit if one don't want to raise | 564 | //!! TODO, this should probably be done explicit if one don't want to raise |