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



commit f8637475ba867a01369475c6b662de54de93b706
Author: Florian MÃllner <fmuellner gnome org>
Date:   Tue May 8 19:40:13 2012 +0200

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

 panels/background/cc-background-panel.c |    9 +++++++++
 1 files changed, 9 insertions(+), 0 deletions(-)
---
diff --git a/panels/background/cc-background-panel.c b/panels/background/cc-background-panel.c
index 15b7221..fc856e7 100644
--- a/panels/background/cc-background-panel.c
+++ b/panels/background/cc-background-panel.c
@@ -96,6 +96,12 @@ enum
 
 #define WID(y) (GtkWidget *) gtk_builder_get_object (priv->builder, y)
 
+static const char *
+cc_background_panel_get_help_uri (CcPanel *panel)
+{
+  return "help:gnome-help/look-background";
+}
+
 static void
 cc_background_panel_get_property (GObject    *object,
                                   guint       property_id,
@@ -215,9 +221,12 @@ static void
 cc_background_panel_class_init (CcBackgroundPanelClass *klass)
 {
   GObjectClass *object_class = G_OBJECT_CLASS (klass);
+  CcPanelClass *panel_class = CC_PANEL_CLASS (klass);
 
   g_type_class_add_private (klass, sizeof (CcBackgroundPanelPrivate));
 
+  panel_class->get_help_uri = cc_background_panel_get_help_uri;
+
   object_class->get_property = cc_background_panel_get_property;
   object_class->set_property = cc_background_panel_set_property;
   object_class->dispose = cc_background_panel_dispose;



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