aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSebastien Bacher <seb128@ubuntu.com>2014-01-30 16:51:10 +0100
committerSebastien Bacher <seb128@ubuntu.com>2014-01-30 16:51:10 +0100
commitbafa87ec921a1786a2557014cafb8b2ca5bd1438 (patch)
treecbd473e0dec373c78d99a7a2c2dbc25fc86e6176
parentcbb15a8fefaf70b03434b055cf41185c4009fb10 (diff)
downloadayatana-indicator-datetime-bafa87ec921a1786a2557014cafb8b2ca5bd1438.tar.gz
ayatana-indicator-datetime-bafa87ec921a1786a2557014cafb8b2ca5bd1438.tar.bz2
ayatana-indicator-datetime-bafa87ec921a1786a2557014cafb8b2ca5bd1438.zip
use the correct naming under unity-control-center
-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 c1e70b1..14e7e97 100644
--- a/panel/datetime-prefs.c
+++ b/panel/datetime-prefs.c
@@ -862,7 +862,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