[gnome-control-center] network: Add get_help_uri() implementation



commit 1bbe93cd0c0e81ad8b2044479c288de9f5f4f71c
Author: Florian MÃllner <fmuellner gnome org>
Date:   Fri May 18 17:04:58 2012 +0200

    network: Add get_help_uri() implementation
    
    https://bugzilla.gnome.org/show_bug.cgi?id=675471

 panels/network/cc-network-panel.c |    9 +++++++++
 1 files changed, 9 insertions(+), 0 deletions(-)
---
diff --git a/panels/network/cc-network-panel.c b/panels/network/cc-network-panel.c
index 0f230a6..50fa7b3 100644
--- a/panels/network/cc-network-panel.c
+++ b/panels/network/cc-network-panel.c
@@ -237,13 +237,22 @@ cc_network_panel_finalize (GObject *object)
         G_OBJECT_CLASS (cc_network_panel_parent_class)->finalize (object);
 }
 
+static const char *
+cc_network_panel_get_help_uri (CcPanel *panel)
+{
+	return "help:gnome-help/net";
+}
+
 static void
 cc_network_panel_class_init (CcNetworkPanelClass *klass)
 {
         GObjectClass *object_class = G_OBJECT_CLASS (klass);
+	CcPanelClass *panel_class = CC_PANEL_CLASS (klass);
 
         g_type_class_add_private (klass, sizeof (CcNetworkPanelPrivate));
 
+	panel_class->get_help_uri = cc_network_panel_get_help_uri;
+
         object_class->get_property = cc_network_panel_get_property;
         object_class->set_property = cc_network_panel_set_property;
         object_class->dispose = cc_network_panel_dispose;



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