aboutsummaryrefslogtreecommitdiff
path: root/panel/datetime-prefs-locations.c
diff options
context:
space:
mode:
authorCharles Kerr <charles.kerr@canonical.com>2014-01-29 15:37:21 -0600
committerCharles Kerr <charles.kerr@canonical.com>2014-01-29 15:37:21 -0600
commita64c84b920f3e6ea4b2872f3d709ceab3eb3b700 (patch)
tree9ff849f2e56b3220c5c73730983a569d5853492a /panel/datetime-prefs-locations.c
parentf07f97ef53522abdce52cf3c7b583c0d6d47aa40 (diff)
downloadayatana-indicator-datetime-a64c84b920f3e6ea4b2872f3d709ceab3eb3b700.tar.gz
ayatana-indicator-datetime-a64c84b920f3e6ea4b2872f3d709ceab3eb3b700.tar.bz2
ayatana-indicator-datetime-a64c84b920f3e6ea4b2872f3d709ceab3eb3b700.zip
sync with lp:~seb128/indicator-datetime/use-correct-gtkbuilder-location
Diffstat (limited to 'panel/datetime-prefs-locations.c')
-rw-r--r--panel/datetime-prefs-locations.c6
1 files changed, 5 insertions, 1 deletions
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 <http://www.gnu.org/licenses/>.
#include <stdlib.h>
#include <time.h> /* 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