Browse Source

Set the foreground color of the lcd clock (bug #4923).

(Old svn revision: 29486)
upstream/xfce4-panel-4.10.1
Nick Schermer 14 years ago
parent
commit
63b34e878b
  1. 1
      NEWS
  2. 5
      plugins/clock/clock-lcd.c

1
NEWS

@ -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
========

5
plugins/clock/clock-lcd.c

@ -313,7 +313,10 @@ xfce_clock_lcd_expose_event (GtkWidget *widget,
/* 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);

Loading…
Cancel
Save