aboutsummaryrefslogtreecommitdiff
path: root/panel
diff options
context:
space:
mode:
authorSebastien Bacher <seb128@ubuntu.com>2014-02-05 18:22:28 +0000
committerCI bot <ps-jenkins@lists.canonical.com>2014-02-05 18:22:28 +0000
commitd9f800001c1f9a8cd82329c75d9e2e2f5492a0b4 (patch)
treea2b5fae727aa9d383243a21e04d4c66f83956580 /panel
parentd071e1fd90145e9874ba42510c9d393b03f711db (diff)
parentbafa87ec921a1786a2557014cafb8b2ca5bd1438 (diff)
downloadayatana-indicator-datetime-d9f800001c1f9a8cd82329c75d9e2e2f5492a0b4.tar.gz
ayatana-indicator-datetime-d9f800001c1f9a8cd82329c75d9e2e2f5492a0b4.tar.bz2
ayatana-indicator-datetime-d9f800001c1f9a8cd82329c75d9e2e2f5492a0b4.zip
use the correct naming under unity-control-center
Diffstat (limited to 'panel')
-rw-r--r--panel/datetime-prefs.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/panel/datetime-prefs.c b/panel/datetime-prefs.c
index 02536c7..7808fa7 100644
--- a/panel/datetime-prefs.c
+++ b/panel/datetime-prefs.c
@@ -866,7 +866,11 @@ g_io_module_load (GIOModule *module)
indicator_datetime_panel_register_type (G_TYPE_MODULE (module));
g_io_extension_point_implement (CC_SHELL_PANEL_EXTENSION_POINT,
INDICATOR_DATETIME_TYPE_PANEL,
+#if USE_UNITY
+ "datetime", 0);
+#else
"indicator-datetime", 0);
+#endif
}
void