After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 683512 - range: make condition consistent with GTK3
range: make condition consistent with GTK3
Status: RESOLVED FIXED
Product: gtk+
Classification: Platform
Component: .General
unspecified
Other All
: Normal normal
: ---
Assigned To: gtk-bugs
gtk-bugs
Depends on:
Blocks:
 
 
Reported: 2012-09-06 15:42 UTC by Cosimo Cecchi
Modified: 2012-09-06 16:04 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
range: make condition consistent with GTK3 (1.17 KB, patch)
2012-09-06 15:42 UTC, Cosimo Cecchi
committed Details | Review

Description Cosimo Cecchi 2012-09-06 15:42:21 UTC
See attached patch, against GTK2.
Comment 1 Cosimo Cecchi 2012-09-06 15:42:22 UTC
Created attachment 223665 [details] [review]
range: make condition consistent with GTK3

cc7abf6a1cccd66a802c5272cd2ac6c944962c78 introduced the
primary-button-warps-slider style property, but with a different
condition check than the GTK3 counterpart.
It turns out we really need to check for the mouse click location here,
or we'll warp the slider to pointer also in case we clicked on the
slider itself.
Comment 2 Cosimo Cecchi 2012-09-06 16:04:52 UTC
Attachment 223665 [details] pushed as 15999ec - range: make condition consistent with GTK3