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 689138 - GtkButton: do not prelight in touchscreen mode
GtkButton: do not prelight in touchscreen mode
Status: RESOLVED FIXED
Product: gtk+
Classification: Platform
Component: Widget: GtkButton
2.24.x
Other Linux
: Normal normal
: ---
Assigned To: gtk-bugs
gtk-bugs
touch
Depends on:
Blocks:
 
 
Reported: 2012-11-27 08:57 UTC by Andreas Müller
Modified: 2014-07-20 06:33 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
GtkButton: do not prelight in touchscreen mode (1.40 KB, patch)
2012-11-27 08:57 UTC, Andreas Müller
committed Details | Review

Description Andreas Müller 2012-11-27 08:57:57 UTC
Created attachment 229974 [details] [review]
GtkButton: do not prelight in touchscreen mode

For embedded devices gtk+ 2.x is still heavily used. These devices are often equipped with touchscreen devices. Without this patch pressing a button leaves the button in prelighted state and - if available - shows its tooltip. The code was taken from GtkToggleButton.
Comment 1 Ross Burton 2012-11-27 09:32:29 UTC
Looks good to me, FWIW.
Comment 2 Matthias Clasen 2014-07-20 06:33:36 UTC
Attachment 229974 [details] pushed as 0b5b277 - GtkButton: do not prelight in touchscreen mode