]> Pileus Git - ~andy/gtk/commit
range: don't trim the trough rectange by the trough margin
authorCosimo Cecchi <cosimoc@gnome.org>
Mon, 14 Jan 2013 15:09:10 +0000 (10:09 -0500)
committerCosimo Cecchi <cosimoc@gnome.org>
Mon, 14 Jan 2013 15:20:43 +0000 (10:20 -0500)
commitaa77cd65017c191d2defc820f611dceb9734f20f
tree8f60eb424ec863f0570527f9071b1a76635bf81c
parent376e8d568eefb91f34d8c811ef95720a576ba8e3
range: don't trim the trough rectange by the trough margin

Commit e32da246a84492f02b4dac5a448bb46cb23d68b8 made GtkRange's trough
respect the CSS margin property, but it also trimmed the box in which
the trough reacts to click events by the margin.
We still want to catch events in that area instead, and just make sure
the margin is applied when drawing (which was already implemented by
that commit).

This commit reverts the parts of
e32da246a84492f02b4dac5a448bb46cb23d68b8 that didn't involve drawing,
fixing the bug.

https://bugzilla.gnome.org/show_bug.cgi?id=691677
gtk/gtkrange.c