diff --git a/sugar/graphics/palette.py b/sugar/graphics/palette.py index 0fb7182c..9d578773 100644 --- a/sugar/graphics/palette.py +++ b/sugar/graphics/palette.py @@ -103,9 +103,6 @@ class Palette(gtk.Window): vbox.pack_start(menu_box) menu_box.show() - self._menu = _sugaruiext.Menu() - self._menu.embed(menu_box) - self._content = gtk.VBox() vbox.pack_start(self._content) @@ -115,6 +112,9 @@ class Palette(gtk.Window): self.add(vbox) vbox.show() + self._menu = _sugaruiext.Menu() + self._menu.embed(menu_box) + self.connect('enter-notify-event', self._enter_notify_event_cb) self.connect('leave-notify-event',