From 567bd961a500ff4d5be3fbb11e091205a85936c5 Mon Sep 17 00:00:00 2001 From: Sascha Silbe Date: Sat, 5 Mar 2011 11:40:09 +0000 Subject: [PATCH] Avoid showing decorated windows during start-up (OLPC#10713) As a side effect, activity start-up is now subjectively faster, maybe even objectively (due to avoiding a resize). Tested on XO-1 running Debian Squeeze. Acked-By: Simon Schampijer --- src/sugar/graphics/window.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/sugar/graphics/window.py b/src/sugar/graphics/window.py index 8f368a8f..b269efcc 100644 --- a/src/sugar/graphics/window.py +++ b/src/sugar/graphics/window.py @@ -88,6 +88,8 @@ class Window(gtk.Window): gtk.Window.__init__(self, **args) + self.set_decorated(False) + self.maximize() self.connect('realize', self.__window_realize_cb) self.connect('key-press-event', self.__key_press_cb)