]> git.ipfire.org Git - thirdparty/plymouth.git/commitdiff
text: add view for new text displays
authorRay Strode <rstrode@redhat.com>
Tue, 14 Jun 2016 18:23:18 +0000 (14:23 -0400)
committerRay Strode <rstrode@redhat.com>
Tue, 14 Jun 2016 18:23:18 +0000 (14:23 -0400)
commit 74346ec268f609 tried to fix a case where views are
added after the text splash is shown.  That commit inadvertently
removed the code that adds a view for a new text display.

This commit adds back the accidentaly excised line.

src/plugins/splash/text/plugin.c

index 1422e837da892ae6a954c8be0245ec825478d48a..d935461e83b895988016d3b3d2ff8d8fb1a49b94 100644 (file)
@@ -471,6 +471,8 @@ add_text_display (ply_boot_splash_plugin_t *plugin,
                                            (ply_text_display_draw_handler_t)
                                            on_draw, view);
 
+        ply_list_append_data (plugin->views, view);
+
         if (plugin->is_animating)
                 view_start_animation (view);
 }