[gnome-control-center] wacom: Update from gnome-settings-daemon
- From: Bastien Nocera <hadess src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-control-center] wacom: Update from gnome-settings-daemon
- Date: Tue, 31 Jan 2012 15:04:33 +0000 (UTC)
commit ef0d463c4e2cece778611460ffa7989c8efc4f90
Author: Bastien Nocera <hadess hadess net>
Date: Tue Jan 31 14:10:48 2012 +0000
wacom: Update from gnome-settings-daemon
panels/wacom/gsd-wacom-device.c | 10 ++++++----
panels/wacom/gsd-wacom-device.h | 3 ++-
2 files changed, 8 insertions(+), 5 deletions(-)
---
diff --git a/panels/wacom/gsd-wacom-device.c b/panels/wacom/gsd-wacom-device.c
index fce3ce5..db60469 100644
--- a/panels/wacom/gsd-wacom-device.c
+++ b/panels/wacom/gsd-wacom-device.c
@@ -221,6 +221,8 @@ gsd_wacom_stylus_get_stylus_type (GsdWacomStylus *stylus)
return WACOM_STYLUS_TYPE_MARKER;
case WSTYLUS_STROKE:
return WACOM_STYLUS_TYPE_STROKE;
+ case WSTYLUS_PUCK:
+ return WACOM_STYLUS_TYPE_PUCK;
default:
g_assert_not_reached ();
}
@@ -1250,22 +1252,22 @@ gsd_wacom_device_create_fake_intuos4 (void)
GList *devices;
device = gsd_wacom_device_create_fake (WACOM_TYPE_STYLUS,
- "Wacom Intuos 4 M 6x9",
+ "Wacom Intuos4 6x9",
"Wacom Intuos4 6x9 stylus");
devices = g_list_prepend (NULL, device);
device = gsd_wacom_device_create_fake (WACOM_TYPE_ERASER,
- "Wacom Intuos 4 M 6x9",
+ "Wacom Intuos4 6x9",
"Wacom Intuos4 6x9 eraser");
devices = g_list_prepend (devices, device);
device = gsd_wacom_device_create_fake (WACOM_TYPE_PAD,
- "Wacom Intuos 4 M 6x9",
+ "Wacom Intuos4 6x9",
"Wacom Intuos4 6x9 pad");
devices = g_list_prepend (devices, device);
device = gsd_wacom_device_create_fake (WACOM_TYPE_CURSOR,
- "Wacom Intuos 4 M 6x9",
+ "Wacom Intuos4 6x9",
"Wacom Intuos4 6x9 cursor");
devices = g_list_prepend (devices, device);
diff --git a/panels/wacom/gsd-wacom-device.h b/panels/wacom/gsd-wacom-device.h
index 8d5ad06..d1b3b7d 100644
--- a/panels/wacom/gsd-wacom-device.h
+++ b/panels/wacom/gsd-wacom-device.h
@@ -73,7 +73,8 @@ typedef enum {
WACOM_STYLUS_TYPE_AIRBRUSH,
WACOM_STYLUS_TYPE_CLASSIC,
WACOM_STYLUS_TYPE_MARKER,
- WACOM_STYLUS_TYPE_STROKE
+ WACOM_STYLUS_TYPE_STROKE,
+ WACOM_STYLUS_TYPE_PUCK
} GsdWacomStylusType;
#define NUM_ELEMS_MATRIX 9
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]