[PATCH 1/5] use the configured colors for the gradient

William Jon McCann william.jon.mccann at gmail.com
Wed Mar 4 12:22:22 PST 2009


From: William Jon McCann <jmccann at redhat.com>

Use the colors specified at configure time instead of
hard-coded values.
---
 src/plugins/splash/fade-in/plugin.c |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)

diff --git a/src/plugins/splash/fade-in/plugin.c b/src/plugins/splash/fade-in/plugin.c
index 73318c5..07ebfc5 100644
--- a/src/plugins/splash/fade-in/plugin.c
+++ b/src/plugins/splash/fade-in/plugin.c
@@ -436,7 +436,8 @@ on_erase (ply_boot_splash_plugin_t *plugin,
   area.height = height;
 
   ply_frame_buffer_fill_with_gradient (plugin->frame_buffer, &area,
-                                       0x807c71, 0x3a362f);
+                                       PLYMOUTH_BACKGROUND_START_COLOR,
+                                       PLYMOUTH_BACKGROUND_END_COLOR);
 }
 
 void
-- 
1.6.1.3



More information about the plymouth mailing list