Invoke WindowPalette.popdown when menu property is None #1323

This commit is contained in:
Aleksey Lim 2009-09-16 17:09:30 +00:00
parent 76542527cd
commit ecee594190

View File

@ -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: