diff options
author | Florian Müllner <fmuellner@gnome.org> | 2012-05-18 17:05:46 +0200 |
---|---|---|
committer | Florian Müllner <fmuellner@gnome.org> | 2012-05-18 18:48:37 +0200 |
commit | e38491ed0dc917c98f398b43a16cc017422263b2 (patch) | |
tree | af4d08ee1abbed2c98210f57aaaa215b9789718f /panels/power/cc-power-panel.c | |
parent | 4b72311259b474f481aac1af526f7c99caac0405 (diff) | |
download | gnome-control-center-e38491ed0dc917c98f398b43a16cc017422263b2.tar.gz |
power: Add get_help_uri() implementation
https://bugzilla.gnome.org/show_bug.cgi?id=675471
Diffstat (limited to 'panels/power/cc-power-panel.c')
-rw-r--r-- | panels/power/cc-power-panel.c | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/panels/power/cc-power-panel.c b/panels/power/cc-power-panel.c index 630c6642d..bed82beb5 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 |