summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWilliam Jon McCann <jmccann@redhat.com>2009-09-22 16:21:27 -0400
committerWilliam Jon McCann <jmccann@redhat.com>2009-09-22 16:21:27 -0400
commit01d6b30e093a416a2356ca8bb64563f991676b35 (patch)
treeb77d111b8794553e4ec5e04725dea8d067ec582b
parent07afa55d2e0ddff3a4041d7d5b03e0ab43cb96df (diff)
Drop the border for all but critical messages
-rw-r--r--src/theme.c8
1 files changed, 2 insertions, 6 deletions
diff --git a/src/theme.c b/src/theme.c
index e3cd40b..bfb1f83 100644
--- a/src/theme.c
+++ b/src/theme.c
@@ -164,17 +164,13 @@ fill_background (GtkWidget *widget,
cairo_fill_preserve (cr);
switch (windata->urgency) {
- case URGENCY_LOW:
- color = widget->style->fg [GTK_STATE_NORMAL];
- break;
-
case URGENCY_CRITICAL:
gdk_color_parse ("#CC0000", &color);
break;
-
+ case URGENCY_LOW:
case URGENCY_NORMAL:
default:
- color = widget->style->fg [GTK_STATE_SELECTED];
+ color = widget->style->bg [GTK_STATE_SELECTED];
break;
}