diff options
author | Ray Strode <rstrode@redhat.com> | 2010-05-06 10:54:27 -0400 |
---|---|---|
committer | Ray Strode <rstrode@redhat.com> | 2010-05-06 10:54:27 -0400 |
commit | efc9999460e23181404692935d0aace75f7ee484 (patch) | |
tree | c23d33610cf2916010f2c40879add0f79bdebe9e | |
parent | 6a7be5ab6a349c07d88de97067aa03aaec5d340d (diff) |
[boot-splash] Force progress to 1.0 when quitting
This potentially allows themes to move their progress
bars to the end before quiting.
-rw-r--r-- | src/libply-splash-core/ply-boot-splash.c | 6 |
1 files changed, 6 insertions, 0 deletions
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) { |