From: Paul Eggleton Date: Mon, 2 Dec 2013 15:10:34 +0000 (+0000) Subject: hob: fix rotating progress icon animation X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=78ad15b669b9c7cde41f7bd1ab884c1d2e0db91b;p=thirdparty%2Fopenembedded%2Fopenembedded-core-contrib.git 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. Signed-off-by: Paul Eggleton Signed-off-by: Richard Purdie --- diff --git a/lib/bb/ui/crumbs/hobwidget.py b/lib/bb/ui/crumbs/hobwidget.py index 3707d6160d2..2b969c146eb 100644 --- a/lib/bb/ui/crumbs/hobwidget.py +++ b/lib/bb/ui/crumbs/hobwidget.py @@ -734,7 +734,7 @@ class HobCellRendererController(gobject.GObject): self.current_angle_pos += self.step_angle if self.running_mode == self.MODE_CYCLE_RUNNING: if (self.current_angle_pos >= 1): - self.current_angle_pos = self.step_angle + self.current_angle_pos = 0 else: if self.current_angle_pos > 1: self.force_stop()