[gnome-settings-daemon] wacom: Make list-wacom print out the stylus ID
- From: Bastien Nocera <hadess src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-settings-daemon] wacom: Make list-wacom print out the stylus ID
- Date: Wed, 25 Jan 2012 11:39:19 +0000 (UTC)
commit 578c60537379500c809ed8556ea324abc9a90bff
Author: Bastien Nocera <hadess hadess net>
Date: Wed Jan 25 11:38:49 2012 +0000
wacom: Make list-wacom print out the stylus ID
plugins/wacom/list-wacom.c | 5 +++--
1 files changed, 3 insertions(+), 2 deletions(-)
---
diff --git a/plugins/wacom/list-wacom.c b/plugins/wacom/list-wacom.c
index d3afbbf..1522742 100644
--- a/plugins/wacom/list-wacom.c
+++ b/plugins/wacom/list-wacom.c
@@ -81,10 +81,11 @@ print_stylus (GsdWacomStylus *stylus,
device = gsd_wacom_stylus_get_device (stylus);
- g_print ("\t%sStylus: '%s' (Type: %s)\n",
+ g_print ("\t%sStylus: '%s' (Type: %s, ID: 0x%x)\n",
is_current ? "*** " : "",
gsd_wacom_stylus_get_name (stylus),
- stylus_type_to_string (gsd_wacom_stylus_get_stylus_type (stylus)));
+ stylus_type_to_string (gsd_wacom_stylus_get_stylus_type (stylus)),
+ gsd_wacom_stylus_get_id (stylus));
loc = get_loc (gsd_wacom_stylus_get_settings (stylus));
g_print ("\t\tSettings: %s\n", loc);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]