[evolution] Bug #605600 - Meeting reminders with wrong times
- From: Milan Crha <mcrha src gnome org>
- To: svn-commits-list gnome org
- Cc:
- Subject: [evolution] Bug #605600 - Meeting reminders with wrong times
- Date: Fri, 8 Jan 2010 16:40:09 +0000 (UTC)
commit 2a4fc64569a14030a74c7215b5202cc7b3d57a26
Author: Milan Crha <mcrha redhat com>
Date: Fri Jan 8 17:39:32 2010 +0100
Bug #605600 - Meeting reminders with wrong times
calendar/gui/alarm-notify/config-data.c | 8 +++++---
1 files changed, 5 insertions(+), 3 deletions(-)
---
diff --git a/calendar/gui/alarm-notify/config-data.c b/calendar/gui/alarm-notify/config-data.c
index db23229..a55a9dd 100644
--- a/calendar/gui/alarm-notify/config-data.c
+++ b/calendar/gui/alarm-notify/config-data.c
@@ -209,9 +209,11 @@ config_data_get_timezone (void)
ensure_inited ();
- location = gconf_client_get_string (conf_client,
- "/apps/evolution/calendar/display/timezone",
- NULL);
+ if (gconf_client_get_bool (conf_client, "/apps/evolution/calendar/display/use_system_timezone", NULL))
+ location = e_cal_util_get_system_timezone_location ();
+ else
+ location = gconf_client_get_string (conf_client, "/apps/evolution/calendar/display/timezone", NULL);
+
if (location && location[0]) {
local_timezone = icaltimezone_get_builtin_timezone (location);
} else {
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]