[gnome-control-center] display: make the canvas background color a bit more neutral (tasteful)
- From: William Jon McCann <mccann src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-control-center] display: make the canvas background color a bit more neutral (tasteful)
- Date: Fri, 8 Oct 2010 00:28:57 +0000 (UTC)
commit cb052e13b96f255b30b6dd127b200970cdb6905c
Author: William Jon McCann <jmccann redhat com>
Date: Thu Oct 7 20:28:26 2010 -0400
display: make the canvas background color a bit more neutral (tasteful)
panels/display/xrandr-capplet.c | 12 ++++++------
1 files changed, 6 insertions(+), 6 deletions(-)
---
diff --git a/panels/display/xrandr-capplet.c b/panels/display/xrandr-capplet.c
index 07d5e88..8becef7 100644
--- a/panels/display/xrandr-capplet.c
+++ b/panels/display/xrandr-capplet.c
@@ -1687,9 +1687,9 @@ paint_background (FooScrollArea *area,
widget_style = gtk_widget_get_style (widget);
cairo_set_source_rgb (cr,
- widget_style->base[GTK_STATE_SELECTED].red / 65535.0,
- widget_style->base[GTK_STATE_SELECTED].green / 65535.0,
- widget_style->base[GTK_STATE_SELECTED].blue / 65535.0);
+ widget_style->mid[GTK_STATE_NORMAL].red / 65535.0,
+ widget_style->mid[GTK_STATE_NORMAL].green / 65535.0,
+ widget_style->mid[GTK_STATE_NORMAL].blue / 65535.0);
cairo_rectangle (cr,
viewport.x, viewport.y,
@@ -1700,9 +1700,9 @@ paint_background (FooScrollArea *area,
foo_scroll_area_add_input_from_fill (area, cr, on_canvas_event, NULL);
cairo_set_source_rgb (cr,
- widget_style->dark[GTK_STATE_SELECTED].red / 65535.0,
- widget_style->dark[GTK_STATE_SELECTED].green / 65535.0,
- widget_style->dark[GTK_STATE_SELECTED].blue / 65535.0);
+ widget_style->dark[GTK_STATE_NORMAL].red / 65535.0,
+ widget_style->dark[GTK_STATE_NORMAL].green / 65535.0,
+ widget_style->dark[GTK_STATE_NORMAL].blue / 65535.0);
cairo_stroke (cr);
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]