[Xfce4-commits] r29486 - in xfce4-panel/trunk: . plugins/clock

Nick Schermer nick at xfce.org
Fri Feb 13 15:53:43 CET 2009


Author: nick
Date: 2009-02-13 14:53:43 +0000 (Fri, 13 Feb 2009)
New Revision: 29486

Modified:
   xfce4-panel/trunk/NEWS
   xfce4-panel/trunk/plugins/clock/clock-lcd.c
Log:
Set the foreground color of the lcd clock (bug #4923).


Modified: xfce4-panel/trunk/NEWS
===================================================================
--- xfce4-panel/trunk/NEWS	2009-02-13 10:43:49 UTC (rev 29485)
+++ xfce4-panel/trunk/NEWS	2009-02-13 14:53:43 UTC (rev 29486)
@@ -4,6 +4,7 @@
 - Fix dragging to launcher submenu items (bug #4026).
 - Send the event time with startup notification instead
   of zero, so focus stealing works properly.
+- Set the foreground color of the lcd clock (bug #4923).
 
 4.5.99.1
 ========

Modified: xfce4-panel/trunk/plugins/clock/clock-lcd.c
===================================================================
--- xfce4-panel/trunk/plugins/clock/clock-lcd.c	2009-02-13 10:43:49 UTC (rev 29485)
+++ xfce4-panel/trunk/plugins/clock/clock-lcd.c	2009-02-13 14:53:43 UTC (rev 29486)
@@ -313,7 +313,10 @@
         /* clip the drawing area */
         gdk_cairo_rectangle (cr, &event->area);
         cairo_clip (cr);
-        
+
+        /* set the source color */
+        gdk_cairo_set_source_color (cr, &widget->style->fg[GTK_STATE_NORMAL]);
+
         /* get the local time */
         xfce_clock_util_get_localtime (&tm);
 




More information about the Xfce4-commits mailing list