DisplayTimerLabel (Option *opt, char *color, long timer, int highlight)
{
GtkWidget *w = (GtkWidget *) opt->handle;
+ GdkColor col;
char *markup;
char bgcolor[10];
char fgcolor[10];
strcpy(fgcolor, appData.lowTimeWarningColor);
}
+ gdk_color_parse( bgcolor, &col );
+ gtk_widget_modify_bg(gtk_widget_get_parent(opt->handle), GTK_STATE_NORMAL, &col);
+
if (appData.clockMode) {
markup = g_markup_printf_escaped("<span size=\"xx-large\" weight=\"heavy\" background=\"%s\" foreground=\"%s\">%s:%s%s</span>",
bgcolor, fgcolor, color, appData.logoSize && !partnerUp ? "\n" : " ", TimeString(timer));