summaryrefslogtreecommitdiff
path: root/gtk/gtkactiongroup.h
diff options
context:
space:
mode:
authorCosimo Cecchi <cosimoc@gnome.org>2012-09-14 13:03:07 -0400
committerCosimo Cecchi <cosimoc@gnome.org>2012-09-14 13:38:15 -0400
commit52ea721551bee16093a65b3b22421d08601eb208 (patch)
tree491e163b01a3841c23d44fb1799f0cb02f4db681 /gtk/gtkactiongroup.h
parent1ad25dfb812f53d1b288d0816b1d0d85c1d24d9f (diff)
downloadgtk+-52ea721551bee16093a65b3b22421d08601eb208.tar.gz
togglebutton: always set PRELIGHT state when in_button = TRUE
Previously, we would avoid setting the prelight state flag when button_down was TRUE and draw_indicator = FALSE, which is the normal case of a GtkToggleButton during a mouse press. It looks like this behavior was introduced a long time ago with commit b94e6c0a8036a0489ac8ca71de75ba7611218e50. I believe the reason was that a widget in GTK2 couldn't have more than a single state (e.g. hover+active) at a given moment. https://bugzilla.gnome.org/show_bug.cgi?id=684038
Diffstat (limited to 'gtk/gtkactiongroup.h')
0 files changed, 0 insertions, 0 deletions