Git-Url: http://git.frugalware.org/gitweb/gitweb.cgi?p=frugal-tweak.git;a=commitdiff;h=c42e7e77435af669f9e382f5247b94be7fd0b959
commit c42e7e77435af669f9e382f5247b94be7fd0b959 Author: bouleetbil <[email protected]> Date: Wed Jan 11 09:21:03 2012 +0100 pyfpmtools *new draw method diff --git a/py-pacman/pyfpmtools/pyfpmtools/tools.py b/py-pacman/pyfpmtools/pyfpmtools/tools.py index 175a965..e98caa5 100644 --- a/py-pacman/pyfpmtools/pyfpmtools/tools.py +++ b/py-pacman/pyfpmtools/pyfpmtools/tools.py @@ -42,6 +42,13 @@ PICTURE_NOT_AVAILABLE="src/screenshot_not_available.png" #PYFPM_INST="/usr/share/pyfpm/pyfpminstall.py" #PICTURE_NOT_AVAILABLE="/usr/share/pyfpm/screenshot_not_available.png" +def draw(): + try : + while Gtk.events_pending(): + Gtk.main_iteration() + except: + print "window closed" + def check_user(): if not os.geteuid()==0: return 0 _______________________________________________ Frugalware-git mailing list [email protected] http://frugalware.org/mailman/listinfo/frugalware-git
