OSDN Git Service

Support link. See HyperText of pygtk-demo.
[fukui-no-namari/fukui-no-namari.git] / src / hage1
index 3c7a1ac..0e325f7 100755 (executable)
--- a/src/hage1
+++ b/src/hage1
@@ -32,6 +32,7 @@ from Hage1 import board_window
 from Hage1 import config
 from Hage1 import dbus_object
 from Hage1 import uri_opener
+from Hage1 import session
 
 APPNAME = 'Hage1'
 APPVERSION = '0.1'
@@ -100,7 +101,9 @@ if __name__ == "__main__":
                     uri_opener.open_uri(uri)
                 except bbs_type_exception.BbsTypeError, msg:
                     print msg
-            gtk.main()
+
+        session.start()
+
     else:
         # the instance exists. send message and exit.