From a64c84b920f3e6ea4b2872f3d709ceab3eb3b700 Mon Sep 17 00:00:00 2001 From: Charles Kerr Date: Wed, 29 Jan 2014 15:37:21 -0600 Subject: sync with lp:~seb128/indicator-datetime/use-correct-gtkbuilder-location --- panel/datetime-prefs-locations.c | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'panel') diff --git a/panel/datetime-prefs-locations.c b/panel/datetime-prefs-locations.c index 0437eb4..8cd81fb 100644 --- a/panel/datetime-prefs-locations.c +++ b/panel/datetime-prefs-locations.c @@ -37,7 +37,11 @@ with this program. If not, see . #include #include /* time_t */ -#define DATETIME_DIALOG_UI_FILE PKGDATADIR "/datetime-dialog.ui" +#if USE_UNITY + #define DATETIME_DIALOG_UI_FILE PKGDATADIR "/unity-control-center/datetime-dialog.ui" +#else + #define DATETIME_DIALOG_UI_FILE PKGDATADIR "/gnome-control-center/datetime-dialog.ui" +#endif #define COL_NAME 0 #define COL_TIME 1 -- cgit v1.2.3