diff options
author | Sebastien Bacher <seb128@ubuntu.com> | 2014-01-29 19:49:55 +0100 |
---|---|---|
committer | Sebastien Bacher <seb128@ubuntu.com> | 2014-01-29 19:49:55 +0100 |
commit | 4f30065ce15d2f8575545dc11378f8b4b98fbeed (patch) | |
tree | 2bd2a462731ca2048552f6d5c730bb475b46890e | |
parent | c0a0b35591a62b6150f0e478e4dee72b429d6eb5 (diff) | |
download | ayatana-indicator-datetime-4f30065ce15d2f8575545dc11378f8b4b98fbeed.tar.gz ayatana-indicator-datetime-4f30065ce15d2f8575545dc11378f8b4b98fbeed.tar.bz2 ayatana-indicator-datetime-4f30065ce15d2f8575545dc11378f8b4b98fbeed.zip |
Use the correct location for datetime-dialog.ui
-rw-r--r-- | panel/datetime-prefs-locations.c | 6 |
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 |