diff options
author | Paul Eggleton <paul.eggleton@linux.intel.com> | 2013-12-02 15:10:34 +0000 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2013-12-02 17:51:35 +0000 |
commit | a17ffbdbb7d142a94ef842a32b749b18e2e7f0a1 (patch) | |
tree | 3f3b9bd80af2411a94cd013d51cef3d3bab4e8b0 /bitbake/lib | |
parent | 35c25907a6d03cc64c42f1a95e15a794569c537d (diff) | |
download | poky-a17ffbdbb7d142a94ef842a32b749b18e2e7f0a1.tar.gz |
bitbake: hob: fix rotating progress icon animation
I've always found it somewhat annoying that this icon's rotation
animation wasn't quite correct; this was because it was looping around
to the second position instead of the first, which made it appear to
stutter.
(Bitbake rev: 78ad15b669b9c7cde41f7bd1ab884c1d2e0db91b)
Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'bitbake/lib')
-rw-r--r-- | bitbake/lib/bb/ui/crumbs/hobwidget.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/bitbake/lib/bb/ui/crumbs/hobwidget.py b/bitbake/lib/bb/ui/crumbs/hobwidget.py index 3707d6160d..2b969c146e 100644 --- a/bitbake/lib/bb/ui/crumbs/hobwidget.py +++ b/bitbake/lib/bb/ui/crumbs/hobwidget.py | |||
@@ -734,7 +734,7 @@ class HobCellRendererController(gobject.GObject): | |||
734 | self.current_angle_pos += self.step_angle | 734 | self.current_angle_pos += self.step_angle |
735 | if self.running_mode == self.MODE_CYCLE_RUNNING: | 735 | if self.running_mode == self.MODE_CYCLE_RUNNING: |
736 | if (self.current_angle_pos >= 1): | 736 | if (self.current_angle_pos >= 1): |
737 | self.current_angle_pos = self.step_angle | 737 | self.current_angle_pos = 0 |
738 | else: | 738 | else: |
739 | if self.current_angle_pos > 1: | 739 | if self.current_angle_pos > 1: |
740 | self.force_stop() | 740 | self.force_stop() |