[gnome-control-center] display: Add get_help_uri() implementation
- From: Florian MÃllner <fmuellner src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-control-center] display: Add get_help_uri() implementation
- Date: Fri, 18 May 2012 16:49:46 +0000 (UTC)
commit 4e374a27f06ac19e618197d13ac3551566176774
Author: Florian MÃllner <fmuellner gnome org>
Date: Fri May 18 17:03:34 2012 +0200
display: Add get_help_uri() implementation
https://bugzilla.gnome.org/show_bug.cgi?id=675471
panels/display/cc-display-panel.c | 9 +++++++++
1 files changed, 9 insertions(+), 0 deletions(-)
---
diff --git a/panels/display/cc-display-panel.c b/panels/display/cc-display-panel.c
index c902d8c..e2b2a29 100644
--- a/panels/display/cc-display-panel.c
+++ b/panels/display/cc-display-panel.c
@@ -179,13 +179,22 @@ cc_display_panel_finalize (GObject *object)
G_OBJECT_CLASS (cc_display_panel_parent_class)->finalize (object);
}
+static const char *
+cc_display_panel_get_help_uri (CcPanel *panel)
+{
+ return "help:gnome-help/prefs-display";
+}
+
static void
cc_display_panel_class_init (CcDisplayPanelClass *klass)
{
GObjectClass *object_class = G_OBJECT_CLASS (klass);
+ CcPanelClass *panel_class = CC_PANEL_CLASS (klass);
g_type_class_add_private (klass, sizeof (CcDisplayPanelPrivate));
+ panel_class->get_help_uri = cc_display_panel_get_help_uri;
+
object_class->constructor = cc_display_panel_constructor;
object_class->get_property = cc_display_panel_get_property;
object_class->set_property = cc_display_panel_set_property;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]