Invoke WindowPalette.popdown when menu property is None #1323
This commit is contained in:
parent
76542527cd
commit
ecee594190
@ -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:
|
||||
|
Loading…
Reference in New Issue
Block a user