registration and handling dialogs. On Windows, the file counters
didn't get updated properly otherwise.
unknownFilesCount.set_text(str(unknownFiles))
investigatedFiles += 1
investigatedFilesCount.set_text(str(investigatedFiles))
- gtk.main_iteration()
+ while gtk.events_pending():
+ gtk.main_iteration()
okButton.set_sensitive(True)
handleImagesProgressDialog.run()
nonImagesCount.set_text(str(nonImages))
filesInvestigated += 1
filesInvestigatedCount.set_text(str(filesInvestigated))
- gtk.main_iteration()
+ while gtk.events_pending():
+ gtk.main_iteration()
if self.__albumToAddTo:
children = list(self.__albumToAddTo.getChildren())
self.__albumToAddTo.setChildren(children + images)