diff options
author | Aleksey Lim <alsroot@member.fsf.org> | 2009-09-16 17:09:30 (GMT) |
---|---|---|
committer | Aleksey Lim <alsroot@member.fsf.org> | 2009-09-16 17:09:30 (GMT) |
commit | ecee594190f7534598b4e7f0233d81525099ab7f (patch) | |
tree | f6b52812bc7801a180a2fc532e28dadac19b0101 | |
parent | 76542527cd6e9389ab1861dee6c300bbdaf4b316 (diff) |
Invoke WindowPalette.popdown when menu property is None #1323
-rw-r--r-- | src/sugar/graphics/window.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/sugar/graphics/window.py b/src/sugar/graphics/window.py index 9381710..967217a 100644 --- a/src/sugar/graphics/window.py +++ b/src/sugar/graphics/window.py @@ -25,6 +25,7 @@ import gtk import warnings from sugar.graphics.icon import Icon +from sugar.graphics import palettegroup _UNFULLSCREEN_BUTTON_VISIBILITY_TIMEOUT = 2 @@ -118,6 +119,7 @@ class Window(gtk.Window): self._unfullscreen_button_timeout_id = None def fullscreen(self): + palettegroup.popdown_all() if self._toolbar_box is not None: self._toolbar_box.hide() if self.tray is not None: |