From ecee594190f7534598b4e7f0233d81525099ab7f Mon Sep 17 00:00:00 2001 From: Aleksey Lim Date: Wed, 16 Sep 2009 17:09:30 +0000 Subject: [PATCH] Invoke WindowPalette.popdown when menu property is None #1323 --- src/sugar/graphics/window.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/sugar/graphics/window.py b/src/sugar/graphics/window.py index 93817101..967217a7 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: