From 662bff3f432e0b2f7594bf649d22f2f2bd8574d2 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Florian=20M=C3=BCllner?= <fmuellner@gnome.org>
Date: Fri, 18 May 2012 17:05:46 +0200
Subject: [PATCH] power: Add get_help_uri() implementation

https://bugzilla.gnome.org/show_bug.cgi?id=675471
---
 panels/power/cc-power-panel.c |    9 +++++++++
 1 file changed, 9 insertions(+)

diff --git a/panels/power/cc-power-panel.c b/panels/power/cc-power-panel.c
index 630c664..bed82be 100644
--- a/panels/power/cc-power-panel.c
+++ b/panels/power/cc-power-panel.c
@@ -129,10 +129,17 @@ on_lock_settings_changed (GSettings     *settings,
 {
 }
 
+static const char *
+cc_power_panel_get_help_uri (CcPanel *panel)
+{
+  return "help:gnome-help/power";
+}
+
 static void
 cc_power_panel_class_init (CcPowerPanelClass *klass)
 {
   GObjectClass *object_class = G_OBJECT_CLASS (klass);
+  CcPanelClass *panel_class = CC_PANEL_CLASS (klass);
 
   g_type_class_add_private (klass, sizeof (CcPowerPanelPrivate));
 
@@ -140,6 +147,8 @@ cc_power_panel_class_init (CcPowerPanelClass *klass)
   object_class->set_property = cc_power_panel_set_property;
   object_class->dispose = cc_power_panel_dispose;
   object_class->finalize = cc_power_panel_finalize;
+
+  panel_class->get_help_uri = cc_power_panel_get_help_uri;
 }
 
 static void
-- 
1.7.10.1