wacom: Show calibration button for display tablets

https://bugzilla.gnome.org/show_bug.cgi?id=657423
This commit is contained in:
Jason Gerecke 2011-12-08 13:25:32 -08:00 committed by Bastien Nocera
parent 4fecb4c01d
commit 39b2b3e469

View file

@ -605,6 +605,11 @@ cc_wacom_page_new (GsdWacomDevice *stylus,
set_left_handed_from_gsettings (page);
}
/* Calibration for screen tablets */
if (gsd_wacom_device_is_screen_tablet (stylus) == TRUE) {
gtk_widget_show (WID ("button-calibrate"));
}
/* Tablet icon */
set_icon_name (page, "image-tablet", gsd_wacom_device_get_icon_name (stylus));