I have changed that code section, and solved my problem, but I don'tknow if it is the right way. if isinstance(event, bb.event.CacheLoadCompleted): pbar.hide() continue ....... if isinstance(event, bb.event.ParseCompleted): pbar.hide() continueOn Fri, 2011-07-01 at 10:45 +0800, NiQingliang wrote:I have looked the fiel depexp.py, and have some doubt:why in "ParseCompleted", the progress bar will hide, but in"CacheLoadCompleted", it will not???????
I have looked the fiel depexp.py, and have some doubt:why in "ParseCompleted", the progress bar will hide, but in"CacheLoadCompleted", it will not???????
I don't think these two events need different process. if isinstance(event, bb.event.CacheLoadCompleted): gtk.gdk.threads_enter() pbar.update(progress_total, progress_total) gtk.gdk.threads_leave() continue ....... if isinstance(event, bb.event.ParseCompleted): pbar.hide() continue
© 2023 Groups.io