OSDN Git Service

not visible at initializing top level window. set default size before showing.
[fukui-no-namari/fukui-no-namari.git] / src / Hage1 / thread_window.py
index 1d9e761..94969ea 100644 (file)
@@ -171,13 +171,15 @@ class WinWrap:
             self.gconf_key_base + "window_width")
         height = self.gconf_client.get_int(
             self.gconf_key_base + "window_height")
-        self.window.resize(width, height)
+        self.window.set_default_size(width, height)
 
         if not self.gconf_client.get_bool(self.gconf_key_base + "toolbar"):
             self.toolbar.parent.hide()
         if not self.gconf_client.get_bool(self.gconf_key_base + "statusbar"):
             self.statusbar.hide()
 
+        self.window.show()
+
     def on_compose_clicked(self, widget):
         import submit_window
         submit_window.open(self.bbs_type.get_thread_uri())