[gnome-control-center] wacom: Hide tracking mode for screen tablets



commit 740cd38fa59cfdc57c84d20d029d41cd5d40626f
Author: Bastien Nocera <hadess hadess net>
Date:   Thu Jan 26 16:09:35 2012 +0000

    wacom: Hide tracking mode for screen tablets

 panels/wacom/cc-wacom-page.c |    4 +++-
 1 files changed, 3 insertions(+), 1 deletions(-)
---
diff --git a/panels/wacom/cc-wacom-page.c b/panels/wacom/cc-wacom-page.c
index 1156fd3..9c10c0c 100644
--- a/panels/wacom/cc-wacom-page.c
+++ b/panels/wacom/cc-wacom-page.c
@@ -465,8 +465,10 @@ cc_wacom_page_new (GsdWacomDevice *stylus,
 	}
 
 	/* Calibration for screen tablets */
-	if (gsd_wacom_device_is_screen_tablet (stylus) == TRUE) {
+	if (gsd_wacom_device_is_screen_tablet (stylus) != FALSE) {
 		gtk_widget_show (WID ("button-calibrate"));
+		gtk_widget_hide (WID ("combo-tabletmode"));
+		gtk_widget_hide (WID ("label-trackingmode"));
 	}
 
 	/* Tablet icon */



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]