From: Ray Strode Date: Thu, 6 May 2010 14:54:27 +0000 (-0400) Subject: [boot-splash] Force progress to 1.0 when quitting X-Git-Tag: 0.8.3~4 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=efc9999460e23181404692935d0aace75f7ee484;p=thirdparty%2Fplymouth.git [boot-splash] Force progress to 1.0 when quitting This potentially allows themes to move their progress bars to the end before quiting. --- diff --git a/src/libply-splash-core/ply-boot-splash.c b/src/libply-splash-core/ply-boot-splash.c index df7da6a4..0c77ef8f 100644 --- a/src/libply-splash-core/ply-boot-splash.c +++ b/src/libply-splash-core/ply-boot-splash.c @@ -665,6 +665,12 @@ ply_boot_splash_become_idle (ply_boot_splash_t *splash, { assert (splash->idle_trigger == NULL); + if (splash->progress != NULL) + { + ply_progress_set_percentage (splash->progress, 1.0); + ply_boot_splash_update_progress (splash); + } + ply_trace ("telling splash to become idle"); if (splash->plugin_interface->become_idle == NULL) {