]> Pileus Git - ~andy/gtk/commit
switch: fix boundaries for the switch motion
authorCosimo Cecchi <cosimoc@gnome.org>
Thu, 17 Mar 2011 22:27:03 +0000 (18:27 -0400)
committerCosimo Cecchi <cosimoc@gnome.org>
Fri, 18 Mar 2011 13:52:58 +0000 (09:52 -0400)
commit55c86bd44df95c926dd8f4277c9ce70e8872af75
tree96e74b70848715480585ab22a413330da61c873a
parent6e1aa0e0a9e66aec48db808453117fd36a423efd
switch: fix boundaries for the switch motion

We were ignoring the focus ring padding, and we were incorrectly setting
handle_x to padding.left, while the draw handler already takes padding
into account while redrawing.

https://bugzilla.gnome.org/show_bug.cgi?id=645134
gtk/gtkswitch.c