[gnome-control-center] wacom: Ignore puck devices
- From: Bastien Nocera <hadess src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-control-center] wacom: Ignore puck devices
- Date: Tue, 31 Jan 2012 15:04:38 +0000 (UTC)
commit ca1e72c9a32667bceca44dd2d1e855a9672ed930
Author: Bastien Nocera <hadess hadess net>
Date: Tue Jan 31 14:20:07 2012 +0000
wacom: Ignore puck devices
panels/wacom/cc-wacom-page.c | 4 ++++
1 files changed, 4 insertions(+), 0 deletions(-)
---
diff --git a/panels/wacom/cc-wacom-page.c b/panels/wacom/cc-wacom-page.c
index 1e166f0..093db88 100644
--- a/panels/wacom/cc-wacom-page.c
+++ b/panels/wacom/cc-wacom-page.c
@@ -425,6 +425,10 @@ add_styli (CcWacomPage *page)
GtkWidget *page;
stylus = l->data;
+
+ if (gsd_wacom_stylus_get_stylus_type (stylus) == WACOM_STYLUS_TYPE_PUCK)
+ continue;
+
if (gsd_wacom_stylus_get_has_eraser (stylus)) {
GsdWacomDeviceType type;
type = gsd_wacom_stylus_get_stylus_type (stylus);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]