summaryrefslogtreecommitdiff
path: root/portato/gui
diff options
context:
space:
mode:
authorRené 'Necoro' Neumann <necoro@necoro.net>2008-07-25 09:18:56 +0200
committerRené 'Necoro' Neumann <necoro@necoro.net>2008-07-25 09:18:56 +0200
commit22c6d6d182b5480dc6833e455bb3e2188d66af2a (patch)
treeb7852e11b17d300814f4b2b8c6e4ce845b426dd1 /portato/gui
parent8b71eed2f8ef0714aba080ded2fcb96630b77d69 (diff)
downloadportato-22c6d6d182b5480dc6833e455bb3e2188d66af2a.tar.gz
portato-22c6d6d182b5480dc6833e455bb3e2188d66af2a.tar.bz2
portato-22c6d6d182b5480dc6833e455bb3e2188d66af2a.zip
Fixing subprocess/listener handling
Diffstat (limited to '')
-rw-r--r--portato/gui/__init__.py19
1 files changed, 8 insertions, 11 deletions
diff --git a/portato/gui/__init__.py b/portato/gui/__init__.py
index 20bcba6..0df890c 100644
--- a/portato/gui/__init__.py
+++ b/portato/gui/__init__.py
@@ -17,15 +17,12 @@ from .exception_handling import register_ex_handler
def run ():
from .windows.splash import SplashScreen
- try:
- s = SplashScreen(_("Loading Backend"))
- register_ex_handler()
- s.show()
- from .windows.main import MainWindow
- m = MainWindow(s)
- s.hide()
- m.main()
- except KeyboardInterrupt:
- pass
+ s = SplashScreen(_("Loading Backend"))
- get_listener().close()
+ register_ex_handler()
+ s.show()
+
+ from .windows.main import MainWindow
+ m = MainWindow(s)
+ s.hide()
+ m.main()