]> git.ipfire.org Git - thirdparty/plymouth.git/commitdiff
Fix up throbber to use correct color, too
authorRay Strode <rstrode@redhat.com>
Fri, 30 May 2008 14:39:46 +0000 (10:39 -0400)
committerRay Strode <rstrode@redhat.com>
Fri, 30 May 2008 14:39:46 +0000 (10:39 -0400)
src/splash-plugins/spinfinity/throbber.c

index 1711a3b1a870973667666f92a7b5aace65e3fd13..d5a8e90cba7ec05ff2b6d67656c8016d367cd089 100644 (file)
@@ -141,8 +141,8 @@ animate_at_time (throbber_t *throbber,
 
   ply_frame_buffer_pause_updates (throbber->frame_buffer);
   if (throbber->frame_area.width > 0)
-    ply_frame_buffer_fill_with_color (throbber->frame_buffer, &throbber->frame_area,
-                                      0.0, 0.43, .71, 1.0);
+    ply_frame_buffer_fill_with_hex_color (throbber->frame_buffer, &throbber->frame_area,
+                                          PLYMOUTH_BACKGROUND_COLOR);
 
   frames = (ply_image_t * const *) ply_array_get_elements (throbber->frames);
 
@@ -298,8 +298,8 @@ void
 throbber_stop (throbber_t *throbber)
 {
   if (throbber->frame_area.width > 0)
-    ply_frame_buffer_fill_with_color (throbber->frame_buffer, &throbber->frame_area,
-                                      0.0, 0.43, .71, 1.0);
+    ply_frame_buffer_fill_with_hex_color (throbber->frame_buffer, &throbber->frame_area,
+                                          PLYMOUTH_BACKGROUND_COLOR);
   throbber->frame_buffer = NULL;
   throbber->window = NULL;