diff options
author | William Jon McCann <jmccann@redhat.com> | 2009-09-23 15:13:03 -0400 |
---|---|---|
committer | William Jon McCann <jmccann@redhat.com> | 2009-09-23 15:13:03 -0400 |
commit | 6f966dd90a57946b90a08f1cbd62f616e7733123 (patch) | |
tree | 0ec4c95cf709f0de534498f400da6fd3eedcc406 | |
parent | 6f14cfcb53a538a3fea98d55e87cc6c9291cb54d (diff) |
Don't show a red border for critical messages
This area is purely visual detail and far too subtle for an indicator.
I'm not sure the urgency has much value to the user anyway..
-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; |