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 676005 - Make "Map Buttons" button insensitive if no pad is found
Make "Map Buttons" button insensitive if no pad is found
Status: RESOLVED FIXED
Product: gnome-control-center
Classification: Core
Component: Wacom
unspecified
Other Linux
: Normal normal
: ---
Assigned To: Peter Hutterer
Control-Center Maintainers
Depends on:
Blocks:
 
 
Reported: 2012-05-14 03:31 UTC by Peter Hutterer
Modified: 2012-05-18 09:46 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
0001-wacom-if-no-pad-device-is-present-disable-the-Map-Bu.patch (906 bytes, patch)
2012-05-14 03:31 UTC, Peter Hutterer
none Details | Review

Description Peter Hutterer 2012-05-14 03:31:23 UTC
Created attachment 213978 [details] [review]
0001-wacom-if-no-pad-device-is-present-disable-the-Map-Bu.patch

Serial devices don't have a pad device and thus no buttons to map. This currently results in:

(gnome-control-center:11071): wacom-cc-panel-CRITICAL **:
gsd_wacom_device_get_buttons: assertion `GSD_IS_WACOM_DEVICE (device)' failed

Attached patch sets the button sensitive based on the presence of a pad device.
Comment 1 Bastien Nocera 2012-05-18 09:46:22 UTC
You were hiding the button in the ff31b771 commit to master, not making it unsensitive. I've done that for gnome-3-4 now.

commit ffb788a428afa853061c886d671e64eabc7d8060
Author: Bastien Nocera <hadess@hadess.net>
Date:   Fri May 18 10:44:36 2012 +0100

    wacom: Hide "Map Buttons" button if no pad is found
    
    As done in the ff31b771 commit on master.
    
    https://bugzilla.gnome.org/show_bug.cgi?id=676005