[gnome-control-center] keyboard: Add get_help_uri() implementation
- From: Florian MÃllner <fmuellner src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-control-center] keyboard: Add get_help_uri() implementation
- Date: Fri, 18 May 2012 16:49:51 +0000 (UTC)
commit 7adcd012616f7b1f2a71e9bbc452cb06e1c36cca
Author: Florian MÃllner <fmuellner gnome org>
Date: Fri May 18 17:04:03 2012 +0200
keyboard: Add get_help_uri() implementation
https://bugzilla.gnome.org/show_bug.cgi?id=675471
panels/keyboard/cc-keyboard-panel.c | 9 +++++++++
1 files changed, 9 insertions(+), 0 deletions(-)
---
diff --git a/panels/keyboard/cc-keyboard-panel.c b/panels/keyboard/cc-keyboard-panel.c
index bb1def0..6425532 100644
--- a/panels/keyboard/cc-keyboard-panel.c
+++ b/panels/keyboard/cc-keyboard-panel.c
@@ -115,13 +115,22 @@ cc_keyboard_panel_constructor (GType gtype,
return obj;
}
+static const char *
+cc_keyboard_panel_get_help_uri (CcPanel *panel)
+{
+ return "help:gnome-help/prefs";
+}
+
static void
cc_keyboard_panel_class_init (CcKeyboardPanelClass *klass)
{
GObjectClass *object_class = G_OBJECT_CLASS (klass);
+ CcPanelClass *panel_class = CC_PANEL_CLASS (klass);
g_type_class_add_private (klass, sizeof (CcKeyboardPanelPrivate));
+ panel_class->get_help_uri = cc_keyboard_panel_get_help_uri;
+
object_class->constructor = cc_keyboard_panel_constructor;
object_class->get_property = cc_keyboard_panel_get_property;
object_class->set_property = cc_keyboard_panel_set_property;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]