diff options
author | Chris Lumens <clumens@redhat.com> | 2012-04-17 10:07:33 -0400 |
---|---|---|
committer | Chris Lumens <clumens@redhat.com> | 2012-04-17 10:07:33 -0400 |
commit | 02c57f206b8e0b1d01926fb188fb4a3b9caadae7 (patch) | |
tree | d682d11ecdbc0c73ff1b8510c47ccd074374763c /pyanaconda/ui/gui/hubs | |
parent | 336ed7dccfcc65fbeabdec038228dc791095831d (diff) | |
download | anaconda-02c57f206b8e0b1d01926fb188fb4a3b9caadae7.tar.gz anaconda-02c57f206b8e0b1d01926fb188fb4a3b9caadae7.tar.xz anaconda-02c57f206b8e0b1d01926fb188fb4a3b9caadae7.zip |
When the progress bar is complete, stop checking for updates.
Diffstat (limited to 'pyanaconda/ui/gui/hubs')
-rw-r--r-- | pyanaconda/ui/gui/hubs/progress.py | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/pyanaconda/ui/gui/hubs/progress.py b/pyanaconda/ui/gui/hubs/progress.py index 152437512..f53f2fbc3 100644 --- a/pyanaconda/ui/gui/hubs/progress.py +++ b/pyanaconda/ui/gui/hubs/progress.py @@ -56,7 +56,11 @@ class ProgressHub(Hub): elif code == progress.PROGRESS_CODE_MESSAGE: self._update_progress_message(args[0]) elif code == progress.PROGRESS_CODE_COMPLETE: + # There shouldn't be any more progress bar updates, so return False + # to indicate this method should be removed from the idle loop. self._progress_bar_complete() + q.task_done() + return False q.task_done() |