[evolution] I#533 - Task table tooltip ignores the timezone of the DUE property
- From: Milan Crha <mcrha src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [evolution] I#533 - Task table tooltip ignores the timezone of the DUE property
- Date: Fri, 12 Jul 2019 10:02:46 +0000 (UTC)
commit d42fea4f2dbc5430afe737903d2d0546bea8081f
Author: Milan Crha <mcrha redhat com>
Date: Fri Jul 12 12:05:14 2019 +0200
I#533 - Task table tooltip ignores the timezone of the DUE property
Closes https://gitlab.gnome.org/GNOME/evolution/issues/533
src/calendar/gui/e-task-table.c | 14 ++++++++++++++
1 file changed, 14 insertions(+)
---
diff --git a/src/calendar/gui/e-task-table.c b/src/calendar/gui/e-task-table.c
index 47e7612e34..d1e5a24425 100644
--- a/src/calendar/gui/e-task-table.c
+++ b/src/calendar/gui/e-task-table.c
@@ -803,6 +803,20 @@ task_table_query_tooltip (GtkWidget *widget,
g_free (str);
}
+ if (dtdue && e_cal_component_datetime_get_tzid (dtdue)) {
+ zone = i_cal_component_get_timezone (
+ e_cal_component_get_icalcomponent (new_comp),
+ e_cal_component_datetime_get_tzid (dtdue));
+ if (!zone) {
+ if (!e_cal_client_get_timezone_sync (comp_data->client,
e_cal_component_datetime_get_tzid (dtdue), &zone, NULL, NULL))
+ zone = NULL;
+ }
+ if (!zone)
+ zone = default_zone;
+ } else {
+ zone = NULL;
+ }
+
if (dtdue && e_cal_component_datetime_get_value (dtdue)) {
gchar *str;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]