Browse Source

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

(Old svn revision: 29486)
tags/xfce4-panel-4.10.0
Nick Schermer 12 years ago
parent
commit
63b34e878b
2 changed files with 5 additions and 1 deletions
  1. +1
    -0
      NEWS
  2. +4
    -1
      plugins/clock/clock-lcd.c

+ 1
- 0
NEWS View File

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


+ 4
- 1
plugins/clock/clock-lcd.c View File

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