[gnome-control-center] wacom: Get the tablet name from the device



commit 12f0e30dcb476b845b40b154df504e9d761404ad
Author: Bastien Nocera <hadess hadess net>
Date:   Thu Nov 24 19:07:41 2011 +0000

    wacom: Get the tablet name from the device

 panels/wacom/cc-wacom-page.c |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)
---
diff --git a/panels/wacom/cc-wacom-page.c b/panels/wacom/cc-wacom-page.c
index 8b598b6..4ae6446 100644
--- a/panels/wacom/cc-wacom-page.c
+++ b/panels/wacom/cc-wacom-page.c
@@ -473,5 +473,7 @@ cc_wacom_page_new (GsdWacomDevice *pad,
 	set_feel_from_gsettings (GTK_ADJUSTMENT (WID ("adjustment-eraser-feel")), priv->eraser_settings);
 	set_left_handed_from_gsettings (page);
 
+	gtk_label_set_text (GTK_LABEL (WID ("label-tabletmodel")), gsd_wacom_device_get_name (pad));
+
 	return GTK_WIDGET (page);
 }



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