Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/src/sugar/graphics/palettewindow.py
diff options
context:
space:
mode:
Diffstat (limited to 'src/sugar/graphics/palettewindow.py')
-rw-r--r--src/sugar/graphics/palettewindow.py4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/sugar/graphics/palettewindow.py b/src/sugar/graphics/palettewindow.py
index b77cd9d..5081893 100644
--- a/src/sugar/graphics/palettewindow.py
+++ b/src/sugar/graphics/palettewindow.py
@@ -155,7 +155,9 @@ class PaletteWindow(gtk.Window):
self._popdown_anim = animator.Animator(0.6, 10)
self._popdown_anim.add(_PopdownAnimation(self))
- gobject.GObject.__init__(self, **kwargs)
+ gtk.Window.__init__(self, type=gtk.WINDOW_POPUP)
+ for name, value in kwargs.items():
+ setattr(self.props, name, value)
self.set_decorated(False)
self.set_resizable(False)