summaryrefslogtreecommitdiff
path: root/gtk/gtkstyle.c
diff options
context:
space:
mode:
authorMatthias Clasen <mclasen@redhat.com>2010-11-22 20:55:02 -0500
committerCarlos Garnacho <carlosg@gnome.org>2010-12-04 15:39:33 +0100
commitfc10599ac8ae75d7f9027d069cf0de7345f4ebac (patch)
tree33f590bbae3e53b1859f7c2d4bebfc6f999c0fe4 /gtk/gtkstyle.c
parent21a193ad020069d08d4b473da1377ef7908a9d96 (diff)
downloadgtk+-fc10599ac8ae75d7f9027d069cf0de7345f4ebac.tar.gz
Make unfocused selections visible in entries
Diffstat (limited to 'gtk/gtkstyle.c')
-rw-r--r--gtk/gtkstyle.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/gtk/gtkstyle.c b/gtk/gtkstyle.c
index 6fddf0c235..63769a5e19 100644
--- a/gtk/gtkstyle.c
+++ b/gtk/gtkstyle.c
@@ -2619,6 +2619,9 @@ gtk_default_draw_flat_box (GtkStyle *style,
case GTK_STATE_ACTIVE:
flags |= GTK_STATE_FLAG_ACTIVE;
break;
+ case GTK_STATE_FOCUSED:
+ flags |= GTK_STATE_FLAG_FOCUSED;
+ break;
default:
break;
}