summaryrefslogtreecommitdiff
path: root/portato/gui/__init__.py
diff options
context:
space:
mode:
authorRené 'Necoro' Neumann <necoro@necoro.net>2009-10-08 14:02:40 +0200
committerRené 'Necoro' Neumann <necoro@necoro.net>2009-10-08 14:02:40 +0200
commit0a30d24e34493a2f56ba801facf4daba711d363e (patch)
treeea199b0017a4645e70b0fc364ac96104c06f652d /portato/gui/__init__.py
parentf3f360e798bd29f45e61a3881fa726cfb9ed4a6a (diff)
downloadportato-0a30d24e34493a2f56ba801facf4daba711d363e.tar.gz
portato-0a30d24e34493a2f56ba801facf4daba711d363e.tar.bz2
portato-0a30d24e34493a2f56ba801facf4daba711d363e.zip
Enhance the splash window handling.
Now the splash window is forced to stay on top. Hopes no users are going to complain ;). Additionally, the splash window is destroyed opposed to only hidden. As it is not reused, there is no use in keeping it alive.
Diffstat (limited to 'portato/gui/__init__.py')
-rw-r--r--portato/gui/__init__.py6
1 files changed, 4 insertions, 2 deletions
diff --git a/portato/gui/__init__.py b/portato/gui/__init__.py
index e3f1172..0a584a8 100644
--- a/portato/gui/__init__.py
+++ b/portato/gui/__init__.py
@@ -27,9 +27,11 @@ def run ():
from .windows.main import MainWindow
try:
m = MainWindow(s)
- s.hide()
+ s.destroy()
+ del s
+
m.main()
except PreReqError, e:
error("Prerequisite not matched. Aborting.")
prereq_error_dialog(e)
- s.hide()
+ s.destroy()