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



commit bc18595051b7561e7ccce77837dae70d0282b5eb
Author: Florian MÃllner <fmuellner gnome org>
Date:   Fri May 18 16:59:27 2012 +0200

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

 panels/bluetooth/cc-bluetooth-panel.c |    9 +++++++++
 1 files changed, 9 insertions(+), 0 deletions(-)
---
diff --git a/panels/bluetooth/cc-bluetooth-panel.c b/panels/bluetooth/cc-bluetooth-panel.c
index 3758776..d6bc29e 100644
--- a/panels/bluetooth/cc-bluetooth-panel.c
+++ b/panels/bluetooth/cc-bluetooth-panel.c
@@ -68,13 +68,22 @@ launch_command (const char *command)
 	}
 }
 
+static const char *
+cc_bluetooth_panel_get_help_uri (CcPanel *panel)
+{
+  return "help:gnome-help/bluetooth";
+}
+
 static void
 cc_bluetooth_panel_class_init (CcBluetoothPanelClass *klass)
 {
 	GObjectClass *object_class = G_OBJECT_CLASS (klass);
+	CcPanelClass *panel_class = CC_PANEL_CLASS (klass);
 
 	object_class->finalize = cc_bluetooth_panel_finalize;
 
+	panel_class->get_help_uri = cc_bluetooth_panel_get_help_uri;
+
 	g_type_class_add_private (klass, sizeof (CcBluetoothPanelPrivate));
 }
 



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