Git-Url: http://git.frugalware.org/gitweb/gitweb.cgi?p=frugal-tweak.git;a=commitdiff;h=7c1ab9c5263ee3ecfbfa7ae422b767420d7ceea8
commit 7c1ab9c5263ee3ecfbfa7ae422b767420d7ceea8 Author: bouleetbil <[email protected]> Date: Sat Jan 7 16:26:05 2012 +0100 pyfpm *added splashscreen diff --git a/py-pacman/pyfpm/src/pyfpm.py b/py-pacman/pyfpm/src/pyfpm.py index e8350bd..d5d5763 100755 --- a/py-pacman/pyfpm/src/pyfpm.py +++ b/py-pacman/pyfpm/src/pyfpm.py @@ -190,7 +190,14 @@ class GUI: def main(): + splash = Gtk.Window() + # [...] set splash up + splash.show() + # ensure it is rendered immediately + while Gtk.events_pending(): + Gtk.main_iteration() app = GUI() + splash.destroy() Gtk.main() if __name__ == "__main__": _______________________________________________ Frugalware-git mailing list [email protected] http://frugalware.org/mailman/listinfo/frugalware-git
