diff options
author | Benjamin Otte <otte@redhat.com> | 2014-08-14 04:34:30 +0200 |
---|---|---|
committer | Benjamin Otte <otte@redhat.com> | 2014-08-16 16:34:14 +0200 |
commit | 4e077d4638b4ecfaf67afbab5082b9d47499af4f (patch) | |
tree | c530e4738a3611bae37986e00b1d6c6c96e7dc77 /gtk/gtkcheckmenuitem.c | |
parent | 36a2e7ca8e2f4b41670532b70b1733d9a3e7b670 (diff) | |
download | gtk+-4e077d4638b4ecfaf67afbab5082b9d47499af4f.tar.gz |
gtk: Use new :checked state
on:
- GtkToggleButton
- GtkCheckButton
- GtkRadioButton
- GtkModelButton
- GtkCellRendererToggle
- GtkCheckMenuItem
also update themes:
- Adwaita
- Raleigh
but not the win32 theme.
The new :checked state replaces :active for the actual checkedness of
the widgets and :active is now used exclusively while the button is being
pressed.
https://bugzilla.gnome.org/show_bug.cgi?id=733967
Diffstat (limited to 'gtk/gtkcheckmenuitem.c')
-rw-r--r-- | gtk/gtkcheckmenuitem.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gtk/gtkcheckmenuitem.c b/gtk/gtkcheckmenuitem.c index 2be79efe5e..a32651582a 100644 --- a/gtk/gtkcheckmenuitem.c +++ b/gtk/gtkcheckmenuitem.c @@ -576,7 +576,7 @@ gtk_real_check_menu_item_draw_indicator (GtkCheckMenuItem *check_menu_item, if (priv->inconsistent) state |= GTK_STATE_FLAG_INCONSISTENT; else if (priv->active) - state |= GTK_STATE_FLAG_ACTIVE; + state |= GTK_STATE_FLAG_CHECKED; gtk_style_context_set_state (context, state); |