aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeremy Bicha <jbicha@ubuntu.com>2013-07-11 16:07:34 -0400
committerJeremy Bicha <jbicha@ubuntu.com>2013-07-11 16:07:34 -0400
commit5a95338522325a105d25c966b9ee837f93318a10 (patch)
tree0e58870554bcd1cac0e3f39a068546d75aae5cda
parent376791bdba4a8f11e52e663b177472a9312614ae (diff)
downloadayatana-indicator-datetime-5a95338522325a105d25c966b9ee837f93318a10.tar.gz
ayatana-indicator-datetime-5a95338522325a105d25c966b9ee837f93318a10.tar.bz2
ayatana-indicator-datetime-5a95338522325a105d25c966b9ee837f93318a10.zip
Have 'Help' point to the Time & Date section of help
-rw-r--r--src/datetime-prefs.c9
1 files changed, 9 insertions, 0 deletions
diff --git a/src/datetime-prefs.c b/src/datetime-prefs.c
index 1eaaf1e..25c9b2a 100644
--- a/src/datetime-prefs.c
+++ b/src/datetime-prefs.c
@@ -813,13 +813,22 @@ indicator_datetime_panel_class_finalize (IndicatorDatetimePanelClass *klass)
{
}
+static const char *
+indicator_datetime_panel_get_help_uri (CcPanel *panel)
+{
+ return "help:ubuntu-help/clock";
+}
+
static void
indicator_datetime_panel_class_init (IndicatorDatetimePanelClass *klass)
{
GObjectClass *gobject_class = G_OBJECT_CLASS (klass);
+ CcPanelClass *panel_class = CC_PANEL_CLASS (klass);
g_type_class_add_private (klass, sizeof (IndicatorDatetimePanelPrivate));
+ panel_class->get_help_uri = indicator_datetime_panel_get_help_uri;
+
gobject_class->dispose = indicator_datetime_panel_dispose;
}