Fixed silly hack when forcing GTK event processing
This commit is contained in:
parent
ea35466dd2
commit
69bd6ba6bc
|
@ -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
6
gfceu
|
@ -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)
|
||||
|
|
Loading…
Reference in New Issue