From 0a30d24e34493a2f56ba801facf4daba711d363e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ren=C3=A9=20=27Necoro=27=20Neumann?= Date: Thu, 8 Oct 2009 14:02:40 +0200 Subject: 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. --- portato/gui/windows/splash.py | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'portato/gui/windows/splash.py') 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 -- cgit v1.2.3