OSDN Git Service

Close window after submit complete.
authorAiwota Programmer <aiwotaprog@tetteke.tk>
Sun, 24 Sep 2006 04:38:36 +0000 (13:38 +0900)
committerAiwota Programmer <aiwotaprog@tetteke.tk>
Sun, 24 Sep 2006 04:38:36 +0000 (13:38 +0900)
src/FukuiNoNamari/submit_window.py

index 1f83e47..379e313 100644 (file)
@@ -212,6 +212,7 @@ class WinWrap:
             def on_timeout(widget):
                 widget.destroy()
                 uri_opener.open_uri(self.bbs_type.get_thread_uri(), True)
+                self.window.destroy()
 
             gobject.timeout_add(2 * 1000, on_timeout, window)