[gtk+/gtk-style-context: 280/347] GtkStyle: translate active state in paint_flat_box().
- From: Carlos Garnacho <carlosg src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk+/gtk-style-context: 280/347] GtkStyle: translate active state in paint_flat_box().
- Date: Thu, 11 Nov 2010 01:28:03 +0000 (UTC)
commit 60395d87970be2b27367dbdac22036f98c9f0a94
Author: Carlos Garnacho <carlosg gnome org>
Date: Sat Oct 23 22:51:58 2010 +0200
GtkStyle: translate active state in paint_flat_box().
gtk/gtkstyle.c | 3 +++
1 files changed, 3 insertions(+), 0 deletions(-)
---
diff --git a/gtk/gtkstyle.c b/gtk/gtkstyle.c
index 7e8906a..34f5d91 100644
--- a/gtk/gtkstyle.c
+++ b/gtk/gtkstyle.c
@@ -2599,6 +2599,9 @@ gtk_default_draw_flat_box (GtkStyle *style,
case GTK_STATE_INSENSITIVE:
flags |= GTK_STATE_FLAG_INSENSITIVE;
break;
+ case GTK_STATE_ACTIVE:
+ flags |= GTK_STATE_FLAG_ACTIVE;
+ break;
default:
break;
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]