Fixed silly hack when forcing GTK event processing

This commit is contained in:
punkrockguy318 2006-09-26 20:48:29 +00:00
parent ea35466dd2
commit 69bd6ba6bc
2 changed files with 4 additions and 5 deletions

View File

@ -1,3 +1,6 @@
========================== version 0.5.2 ========================
Cleanup:
* Fixed silly hack when forcing GTK event processing.
========================== version 0.5.1 ========================
Bug Fixes:
* Updated chooser filters

6
gfceu
View File

@ -274,11 +274,7 @@ def launch(passed, local=False):
# os.system() is a blocker, so we must force
# gtk to process our events.
# 20 iterations seems enough to me
# FIXME
# This seems like a bit of a dirty hack.
# Does anyone know of a more elegant solution?
for x in range(0,2):
while gtk.events_pending():
gtk.main_iteration_do()
os.system(command)