[gnome-control-center] wacom: Add link to wacom docs



commit 2a88736cf61395b731b3d3f8f9615ec11248d004
Author: Bastien Nocera <hadess hadess net>
Date:   Wed Sep 12 10:24:19 2012 +0100

    wacom: Add link to wacom docs
    
    And not the generic control-center docs.
    
    https://bugzilla.gnome.org/show_bug.cgi?id=675471#c40

 panels/wacom/cc-wacom-panel.c |    9 +++++++++
 1 files changed, 9 insertions(+), 0 deletions(-)
---
diff --git a/panels/wacom/cc-wacom-panel.c b/panels/wacom/cc-wacom-panel.c
index 02a521a..b679efc 100644
--- a/panels/wacom/cc-wacom-panel.c
+++ b/panels/wacom/cc-wacom-panel.c
@@ -120,16 +120,25 @@ cc_wacom_panel_dispose (GObject *object)
 	G_OBJECT_CLASS (cc_wacom_panel_parent_class)->dispose (object);
 }
 
+static const char *
+cc_wacom_panel_get_help_uri (CcPanel *panel)
+{
+  return "help:gnome-help/wacom";
+}
+
 static void
 cc_wacom_panel_class_init (CcWacomPanelClass *klass)
 {
 	GObjectClass *object_class = G_OBJECT_CLASS (klass);
+	CcPanelClass *panel_class = CC_PANEL_CLASS (klass);
 
 	g_type_class_add_private (klass, sizeof (CcWacomPanelPrivate));
 
 	object_class->get_property = cc_wacom_panel_get_property;
 	object_class->set_property = cc_wacom_panel_set_property;
 	object_class->dispose = cc_wacom_panel_dispose;
+
+	panel_class->get_help_uri = cc_wacom_panel_get_help_uri;
 }
 
 static void



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