From: Hans de Goede Date: Thu, 26 Sep 2019 08:37:07 +0000 (+0200) Subject: two-step: Fix progress-bar not hiding when it should X-Git-Tag: 0.9.5~37^2~3 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=c2d3f7feb4b39acc752d6e5a1975b602890b64f1;p=thirdparty%2Fplymouth.git two-step: Fix progress-bar not hiding when it should Before this commit we were not hiding the progress-bar when starting the end-animation nor when stop_animation gets called. This adds the 2 missing hide calls, making the handling of the progress-bar identical to that of the progress-animation. Signed-off-by: Hans de Goede --- diff --git a/src/plugins/splash/two-step/plugin.c b/src/plugins/splash/two-step/plugin.c index dd64c73a..051694b4 100644 --- a/src/plugins/splash/two-step/plugin.c +++ b/src/plugins/splash/two-step/plugin.c @@ -771,6 +771,7 @@ view_start_end_animation (view_t *view, unsigned long screen_width, screen_height; long x, y, width, height; + ply_progress_bar_hide (view->progress_bar); if (view->progress_animation != NULL) ply_progress_animation_hide (view->progress_animation); @@ -1305,6 +1306,7 @@ stop_animation (ply_boot_splash_plugin_t *plugin, view = ply_list_node_get_data (node); next_node = ply_list_get_next_node (plugin->views, node); + ply_progress_bar_hide (view->progress_bar); if (view->progress_animation != NULL) { ply_trace ("hiding progress animation"); ply_progress_animation_hide (view->progress_animation);