diff options
author | Ray Strode <rstrode@redhat.com> | 2016-06-16 15:08:04 -0400 |
---|---|---|
committer | Ray Strode <rstrode@redhat.com> | 2016-06-16 15:08:04 -0400 |
commit | fd66c6903047b57bc71100549d4e15eea9deded4 (patch) | |
tree | 350b3b8f22b281351a14322624073cd5d917ed72 | |
parent | 99755d3eaca097a2a51dc5de7402537649d0402d (diff) |
text: don't draw if not animating
That can cause an unrecoverable crash.
-rw-r--r-- | src/plugins/splash/text/plugin.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/plugins/splash/text/plugin.c b/src/plugins/splash/text/plugin.c index d935461e..8260daad 100644 --- a/src/plugins/splash/text/plugin.c +++ b/src/plugins/splash/text/plugin.c @@ -556,7 +556,9 @@ on_boot_progress (ply_boot_splash_plugin_t *plugin, next_node = ply_list_get_next_node (plugin->views, node); ply_text_step_bar_set_percent_done (view->step_bar, percent_done); - ply_text_step_bar_draw (view->step_bar); + + if (plugin->is_animating) + ply_text_step_bar_draw (view->step_bar); node = next_node; } |