[gtk-theme-engine-clearlooks/gtk-style-context] Render the default hint on sensitive buttons.



commit eb8e594dde3a8018fe25523e49491b621714e270
Author: Carlos Garnacho <carlosg gnome org>
Date:   Tue Nov 30 03:02:56 2010 +0100

    Render the default hint on sensitive buttons.

 src/clearlooks_draw_gnome3.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/src/clearlooks_draw_gnome3.c b/src/clearlooks_draw_gnome3.c
index 04d9826..233b78f 100644
--- a/src/clearlooks_draw_gnome3.c
+++ b/src/clearlooks_draw_gnome3.c
@@ -172,7 +172,7 @@ clearlooks_gnome3_draw_button (cairo_t *cr,
                                 "color", &fg_color,
                                 NULL);
 
-        if ((state & GTK_STATE_FLAG_INSENSITIVE) != 0 &&
+        if ((state & GTK_STATE_FLAG_INSENSITIVE) == 0 &&
             gtk_theming_engine_has_class (engine, GTK_STYLE_CLASS_DEFAULT)) {
                 CairoColor *color;
 



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]