diff options
-rw-r--r-- | src/theme.c | 13 |
1 files changed, 3 insertions, 10 deletions
diff --git a/src/theme.c b/src/theme.c index ec7cccc..49d6734 100644 --- a/src/theme.c +++ b/src/theme.c @@ -163,17 +163,10 @@ fill_background (GtkWidget *widget, cairo_set_source_rgba (cr, r, g, b, BACKGROUND_ALPHA); cairo_fill_preserve (cr); - switch (windata->urgency) { - case URGENCY_CRITICAL: - gdk_color_parse ("#CC0000", &color); - break; - case URGENCY_LOW: - case URGENCY_NORMAL: - default: - color = widget->style->text_aa [GTK_STATE_NORMAL]; - break; - } + /* Should we show urgency somehow? Probably doesn't + * have any meaningful value to the user... */ + color = widget->style->text_aa [GTK_STATE_NORMAL]; r = (float) color.red / 65535.0; g = (float) color.green / 65535.0; b = (float) color.blue / 65535.0; |