aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSebastien Bacher <seb128@ubuntu.com>2014-01-29 21:58:10 +0000
committerTarmac <Unknown>2014-01-29 21:58:10 +0000
commitcbb15a8fefaf70b03434b055cf41185c4009fb10 (patch)
tree2bd2a462731ca2048552f6d5c730bb475b46890e
parentc0a0b35591a62b6150f0e478e4dee72b429d6eb5 (diff)
parent4f30065ce15d2f8575545dc11378f8b4b98fbeed (diff)
downloadayatana-indicator-datetime-cbb15a8fefaf70b03434b055cf41185c4009fb10.tar.gz
ayatana-indicator-datetime-cbb15a8fefaf70b03434b055cf41185c4009fb10.tar.bz2
ayatana-indicator-datetime-cbb15a8fefaf70b03434b055cf41185c4009fb10.zip
Use the correct location for datetime-dialog.ui. Fixes: https://bugs.launchpad.net/bugs/1274046.
Approved by Charles Kerr, PS Jenkins bot.
-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 54ab8f4..933adcf 100644
--- a/panel/datetime-prefs-locations.c
+++ b/panel/datetime-prefs-locations.c
@@ -34,7 +34,11 @@ with this program. If not, see <http://www.gnu.org/licenses/>.
#include "settings-shared.h"
#include "utils.h"
-#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