mirror of
https://gitlab.freedesktop.org/plymouth/plymouth.git
synced 2026-05-09 02:28:19 +02:00
[boot-splash] Force progress to 1.0 when quitting
This potentially allows themes to move their progress bars to the end before quiting.
This commit is contained in:
parent
6a7be5ab6a
commit
efc9999460
1 changed files with 6 additions and 0 deletions
|
|
@ -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)
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue