summaryrefslogtreecommitdiff
path: root/portato/gui/windows/splash.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 16:21:47 +0200
commitbc35d41079ffac6fa653d1705dc7776c392eff8d (patch)
tree19af133338697249f96597afdefbcb936f1abb34 /portato/gui/windows/splash.py
parentfb904582e841076ae9517a1526268d95fc2a9c08 (diff)
downloadportato-bc35d41079ffac6fa653d1705dc7776c392eff8d.tar.gz
portato-bc35d41079ffac6fa653d1705dc7776c392eff8d.tar.bz2
portato-bc35d41079ffac6fa653d1705dc7776c392eff8d.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. (cherry picked from commit 0a30d24e34493a2f56ba801facf4daba711d363e)
Diffstat (limited to '')
-rw-r--r--portato/gui/windows/splash.py5
1 files changed, 5 insertions, 0 deletions
diff --git a/portato/gui/windows/splash.py b/portato/gui/windows/splash.py
index 39ba00d..c9e1542 100644
--- a/portato/gui/windows/splash.py
+++ b/portato/gui/windows/splash.py
@@ -40,6 +40,7 @@ class SplashScreen (Window):
gtk.main_iteration()
def show (self):
+ self.window.set_keep_above(True)
self.window.show_all()
self.do_iteration()
@@ -47,4 +48,8 @@ class SplashScreen (Window):
self.window.hide()
self.do_iteration()
+ def destroy(self):
+ self.window.destroy()
+ self.do_iteration()
+
__call__ = set_descr