diff options
author | Matthew Barnes <mbarnes@redhat.com> | 2013-03-06 19:45:27 +0800 |
---|---|---|
committer | Matthew Barnes <mbarnes@redhat.com> | 2013-03-06 19:45:27 +0800 |
commit | 17ea6835fe9245e2969f7e777e5078a44807abd8 (patch) | |
tree | 4572e3e7e60ab3f8c2834125f1fb9b7d84bb0646 /calendar | |
parent | a659ca9e35fb82ef18efd8173cbb42726243e451 (diff) | |
download | gsoc2013-evolution-17ea6835fe9245e2969f7e777e5078a44807abd8.tar gsoc2013-evolution-17ea6835fe9245e2969f7e777e5078a44807abd8.tar.gz gsoc2013-evolution-17ea6835fe9245e2969f7e777e5078a44807abd8.tar.bz2 gsoc2013-evolution-17ea6835fe9245e2969f7e777e5078a44807abd8.tar.lz gsoc2013-evolution-17ea6835fe9245e2969f7e777e5078a44807abd8.tar.xz gsoc2013-evolution-17ea6835fe9245e2969f7e777e5078a44807abd8.tar.zst gsoc2013-evolution-17ea6835fe9245e2969f7e777e5078a44807abd8.zip |
itip_send_comp: Obtain the default timezone from the ECalClient.
Diffstat (limited to 'calendar')
-rw-r--r-- | 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 f758574c59..3dd3485256 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; |