Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--sugar/graphics/window.py4
1 files changed, 4 insertions, 0 deletions
diff --git a/sugar/graphics/window.py b/sugar/graphics/window.py
index f3854e3..1ff1fdb 100644
--- a/sugar/graphics/window.py
+++ b/sugar/graphics/window.py
@@ -9,6 +9,10 @@ class Window(gtk.Window):
self.add(self._canvas)
self._canvas.show()
+ self._canvas.connect_after('realize', self._window_realize_cb)
+
def set_root(self, root):
self._canvas.set_root(root)
+ def _window_realize_cb(self, canvas):
+ canvas.window.set_back_pixmap(None, False)