[gnome-control-center] wacom: Show calibration button for display tablets
- From: Bastien Nocera <hadess src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-control-center] wacom: Show calibration button for display tablets
- Date: Tue, 10 Jan 2012 19:25:08 +0000 (UTC)
commit 39b2b3e469491fe8eddf6b24255724c5abc65497
Author: Jason Gerecke <killertofu gmail com>
Date: Thu Dec 8 13:25:32 2011 -0800
wacom: Show calibration button for display tablets
https://bugzilla.gnome.org/show_bug.cgi?id=657423
panels/wacom/cc-wacom-page.c | 5 +++++
1 files changed, 5 insertions(+), 0 deletions(-)
---
diff --git a/panels/wacom/cc-wacom-page.c b/panels/wacom/cc-wacom-page.c
index 5853311..d22b403 100644
--- a/panels/wacom/cc-wacom-page.c
+++ b/panels/wacom/cc-wacom-page.c
@@ -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));
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]