[gnome-control-center] privacy: Link to new help page



commit fb08f0b729dde75b9bbbd70831603b28f9fb1d77
Author: Bastien Nocera <hadess hadess net>
Date:   Tue May 28 12:04:46 2013 +0200

    privacy: Link to new help page
    
    https://bugzilla.gnome.org/show_bug.cgi?id=701091

 panels/privacy/cc-privacy-panel.c |    9 +++++++++
 1 files changed, 9 insertions(+), 0 deletions(-)
---
diff --git a/panels/privacy/cc-privacy-panel.c b/panels/privacy/cc-privacy-panel.c
index d92b9e4..94ee469 100644
--- a/panels/privacy/cc-privacy-panel.c
+++ b/panels/privacy/cc-privacy-panel.c
@@ -619,6 +619,12 @@ cc_privacy_panel_finalize (GObject *object)
   G_OBJECT_CLASS (cc_privacy_panel_parent_class)->finalize (object);
 }
 
+static const char *
+cc_privacy_panel_get_help_uri (CcPanel *panel)
+{
+  return "help:gnome-help/privacy";
+}
+
 static void
 update_separator_func (GtkWidget **separator,
                        GtkWidget  *child,
@@ -720,6 +726,9 @@ static void
 cc_privacy_panel_class_init (CcPrivacyPanelClass *klass)
 {
   GObjectClass *oclass = G_OBJECT_CLASS (klass);
+  CcPanelClass *panel_class = CC_PANEL_CLASS (klass);
+
+  panel_class->get_help_uri = cc_privacy_panel_get_help_uri;
 
   oclass->finalize = cc_privacy_panel_finalize;
 


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