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



commit fa4a95752980a9be494ad3dd042b37fd8068d590
Author: Florian MÃllner <fmuellner gnome org>
Date:   Fri May 18 17:08:15 2012 +0200

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

 panels/universal-access/cc-ua-panel.c |    9 +++++++++
 1 files changed, 9 insertions(+), 0 deletions(-)
---
diff --git a/panels/universal-access/cc-ua-panel.c b/panels/universal-access/cc-ua-panel.c
index e05bb39..6102d24 100644
--- a/panels/universal-access/cc-ua-panel.c
+++ b/panels/universal-access/cc-ua-panel.c
@@ -156,13 +156,22 @@ cc_ua_panel_finalize (GObject *object)
   G_OBJECT_CLASS (cc_ua_panel_parent_class)->finalize (object);
 }
 
+static const char *
+cc_ua_panel_get_help_uri (CcPanel *panel)
+{
+  return "help:gnome-help/a11y";
+}
+
 static void
 cc_ua_panel_class_init (CcUaPanelClass *klass)
 {
   GObjectClass *object_class = G_OBJECT_CLASS (klass);
+  CcPanelClass *panel_class = CC_PANEL_CLASS (klass);
 
   g_type_class_add_private (klass, sizeof (CcUaPanelPrivate));
 
+  panel_class->get_help_uri = cc_ua_panel_get_help_uri;
+
   object_class->get_property = cc_ua_panel_get_property;
   object_class->set_property = cc_ua_panel_set_property;
   object_class->dispose = cc_ua_panel_dispose;



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