aboutsummaryrefslogtreecommitdiffstats
path: root/modules/calendar
diff options
context:
space:
mode:
authorMichael Meeks <michael.meeks@novell.com>2010-04-23 17:29:34 +0800
committerMichael Meeks <michael.meeks@novell.com>2010-04-23 17:29:34 +0800
commit51f5d2876da1d8dea05ef7362110ef94d2b2d13a (patch)
treeed6958e5ce5dc1dff1f8f8c64ed98651001bc36e /modules/calendar
parent346a481edc9afb01f063f6ccb0e13fb6a043d22f (diff)
downloadgsoc2013-evolution-51f5d2876da1d8dea05ef7362110ef94d2b2d13a.tar.gz
gsoc2013-evolution-51f5d2876da1d8dea05ef7362110ef94d2b2d13a.tar.zst
gsoc2013-evolution-51f5d2876da1d8dea05ef7362110ef94d2b2d13a.zip
add defines to ease MeeGo building
Diffstat (limited to 'modules/calendar')
-rw-r--r--modules/calendar/e-cal-shell-view-private.c10
1 files changed, 10 insertions, 0 deletions
diff --git a/modules/calendar/e-cal-shell-view-private.c b/modules/calendar/e-cal-shell-view-private.c
index 4730ca004b..4d6f8e3144 100644
--- a/modules/calendar/e-cal-shell-view-private.c
+++ b/modules/calendar/e-cal-shell-view-private.c
@@ -28,6 +28,16 @@
#define CHECK_NB 5
+/* be compatible with older e-d-s for MeeGo */
+#ifndef ETC_TIMEZONE
+# define ETC_TIMEZONE "/etc/timezone"
+# define ETC_TIMEZONE_MAJ "/etc/TIMEZONE"
+# define ETC_RC_CONF "/etc/rc.conf"
+# define ETC_SYSCONFIG_CLOCK "/etc/sysconfig/clock"
+# define ETC_CONF_D_CLOCK "/etc/conf.d/clock"
+# define ETC_LOCALTIME "/etc/localtime
+#endif
+
static const gchar * files_to_check [CHECK_NB] = {
ETC_TIMEZONE,
ETC_TIMEZONE_MAJ,