summaryrefslogtreecommitdiffstats
path: root/src/splash-plugins/spinfinity/plugin.c
diff options
context:
space:
mode:
authorRay Strode <rstrode@redhat.com>2008-06-12 13:54:57 -0400
committerRay Strode <rstrode@redhat.com>2008-06-12 14:08:50 -0400
commit5ea6157c54f0dde1efa695f882b77ea5ad63de1e (patch)
treec0c2f331c5eec0caff2c85a06e12a6672425ce02 /src/splash-plugins/spinfinity/plugin.c
parent988d8b232ebbda8e1b16da4bc06bfc551e0a959b (diff)
downloadplymouth-5ea6157c54f0dde1efa695f882b77ea5ad63de1e.tar.gz
plymouth-5ea6157c54f0dde1efa695f882b77ea5ad63de1e.tar.xz
plymouth-5ea6157c54f0dde1efa695f882b77ea5ad63de1e.zip
Add new throbber_load function to preload frames
This will be important for determining the propery location of the throbber on screen
Diffstat (limited to 'src/splash-plugins/spinfinity/plugin.c')
-rw-r--r--src/splash-plugins/spinfinity/plugin.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/splash-plugins/spinfinity/plugin.c b/src/splash-plugins/spinfinity/plugin.c
index 7db3e8a..91e0407 100644
--- a/src/splash-plugins/spinfinity/plugin.c
+++ b/src/splash-plugins/spinfinity/plugin.c
@@ -325,6 +325,10 @@ show_splash_screen (ply_boot_splash_plugin_t *plugin,
if (!ply_image_load (plugin->box_image))
return false;
+ ply_trace ("loading throbber");
+ if (!throbber_load (plugin->throbber))
+ return false;
+
plugin->window = window;
ply_trace ("setting graphics mode");