]> git.ipfire.org Git - thirdparty/plymouth.git/commitdiff
[throbber] set is_stopped after stopping
authorRay Strode <rstrode@redhat.com>
Thu, 6 May 2010 12:45:41 +0000 (08:45 -0400)
committerRay Strode <rstrode@redhat.com>
Thu, 6 May 2010 12:45:41 +0000 (08:45 -0400)
The throbber variable has an is_stopped state
variable that decides whether or not draws happen.

It starts off false, and gets toggled when started.

Unfortunately, it never gets reset to false
after be stopped.  This commit fixes that.

src/libply-splash-graphics/ply-throbber.c

index 41fa369994ea50717c386a4a99eb56235cc8706a..bba639d1d44fe412df2a10f8ab2441adecf4146c 100644 (file)
@@ -183,6 +183,7 @@ on_timeout (ply_throbber_t *throbber)
 
   if (!should_continue)
     {
+      throbber->is_stopped = true;
       if (throbber->stop_trigger != NULL)
         {
           ply_trigger_pull (throbber->stop_trigger, NULL);