diff options
-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 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 |