Size the window to fill screen, to avoid wm races

This commit is contained in:
Marco Pesenti Gritti 2006-10-25 01:33:29 +02:00
parent 159349e7e0
commit fcac3b87ca

View File

@ -45,6 +45,7 @@ def _create_snowflake(parent, children):
parent.append(icon, hippo.PACK_FIXED) parent.append(icon, hippo.PACK_FIXED)
window = gtk.Window() window = gtk.Window()
window.set_default_size(gtk.gdk.screen_width(), gtk.gdk.screen_height())
window.connect("destroy", lambda w: gtk.main_quit()) window.connect("destroy", lambda w: gtk.main_quit())
window.show() window.show()