Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/gtk
diff options
context:
space:
mode:
authorBenjamin Berg <benjamin@sipsolutions.net>2008-01-27 17:01:54 (GMT)
committer Benjamin Berg <benjamin@sipsolutions.net>2008-01-27 17:01:54 (GMT)
commite3865a5ef0d7c924d73693703fd46a38f8f82012 (patch)
tree64155c135528a77f285c0119755b4eb477152b6d /gtk
parentaad99e1954cafa1cde27b5ccb744a31e26cb635a (diff)
Use the correct color for the insensitive icons.
Diffstat (limited to 'gtk')
-rw-r--r--gtk/engine/sugar-style.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gtk/engine/sugar-style.c b/gtk/engine/sugar-style.c
index 997b72d..9702358 100644
--- a/gtk/engine/sugar-style.c
+++ b/gtk/engine/sugar-style.c
@@ -840,7 +840,7 @@ sugar_style_render_icon (GtkStyle *style,
guint base = 127;
if (style) {
- GdkColor *color = &style->bg[GTK_STATE_INSENSITIVE];
+ GdkColor *color = &style->fg[GTK_STATE_INSENSITIVE];
base = (color->red >> 8) + (color->green >> 8) + (color->blue >> 8);
base = base / 3;
}