[evolution] itip_send_comp: Obtain the default timezone from the ECalClient.



commit 17ea6835fe9245e2969f7e777e5078a44807abd8
Author: Matthew Barnes <mbarnes redhat com>
Date:   Wed Mar 6 06:45:27 2013 -0500

    itip_send_comp: Obtain the default timezone from the ECalClient.

 calendar/gui/itip-utils.c |    5 ++---
 1 files changed, 2 insertions(+), 3 deletions(-)
---
diff --git a/calendar/gui/itip-utils.c b/calendar/gui/itip-utils.c
index f758574..3dd3485 100644
--- a/calendar/gui/itip-utils.c
+++ b/calendar/gui/itip-utils.c
@@ -1678,12 +1678,11 @@ itip_send_comp (ESourceRegistry *registry,
        shell = e_shell_get_default ();
        shell_settings = e_shell_get_shell_settings (shell);
 
-       default_zone = e_shell_settings_get_pointer (
-               shell_settings, "cal-timezone");
-
        use_24_hour_format = e_shell_settings_get_boolean (
                shell_settings, "cal-use-24-hour-format");
 
+       default_zone = e_cal_client_get_default_timezone (cal_client);
+
        /* check whether backend could handle auto-saving requests/updates */
        if (method != E_CAL_COMPONENT_METHOD_PUBLISH && e_cal_client_check_save_schedules (cal_client))
                return TRUE;


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]