summaryrefslogtreecommitdiff
path: root/shell/cc-panel.c
diff options
context:
space:
mode:
authorFlorian Müllner <fmuellner@gnome.org>2012-05-08 18:47:13 +0200
committerFlorian Müllner <fmuellner@gnome.org>2012-05-18 18:48:37 +0200
commit6827068ade00ec04e1895c772513667b6d6a1bdb (patch)
tree76a932acfec375c2e05f1df20e28ad29eb1b505f /shell/cc-panel.c
parent78717031db90c42221a7dce1f20762b9d8b8103c (diff)
downloadgnome-control-center-6827068ade00ec04e1895c772513667b6d6a1bdb.tar.gz
cc-panel: Add get_help_uri() vfunc
We want to allow panels to point to a specific help page, so add a vfunc for that. https://bugzilla.gnome.org/show_bug.cgi?id=675471
Diffstat (limited to 'shell/cc-panel.c')
-rw-r--r--shell/cc-panel.c11
1 files changed, 11 insertions, 0 deletions
diff --git a/shell/cc-panel.c b/shell/cc-panel.c
index 1f1d2b81b..fd2617cf2 100644
--- a/shell/cc-panel.c
+++ b/shell/cc-panel.c
@@ -246,3 +246,14 @@ cc_panel_get_permission (CcPanel *panel)
return NULL;
}
+
+const char *
+cc_panel_get_help_uri (CcPanel *panel)
+{
+ CcPanelClass *class = CC_PANEL_GET_CLASS (panel);
+
+ if (class->get_help_uri)
+ return class->get_help_uri (panel);
+
+ return NULL;
+}