[evolution] EDayView: Time zone name not always updated on time zone change in UI
- From: Milan Crha <mcrha src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [evolution] EDayView: Time zone name not always updated on time zone change in UI
- Date: Tue, 13 Aug 2019 16:53:42 +0000 (UTC)
commit 593d26818eb4e8d55ea607e64052b5fb39e232f5
Author: Milan Crha <mcrha redhat com>
Date: Tue Aug 13 18:50:43 2019 +0200
EDayView: Time zone name not always updated on time zone change in UI
The Day View and Work Week view did not update the main time zone label
when it changed and the respective view was not focused, which could
lead to confusion, showing old time zone name instead of the actual.
src/calendar/gui/e-day-view.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
---
diff --git a/src/calendar/gui/e-day-view.c b/src/calendar/gui/e-day-view.c
index 330d2354cf..8cbd97db6a 100644
--- a/src/calendar/gui/e-day-view.c
+++ b/src/calendar/gui/e-day-view.c
@@ -2808,6 +2808,8 @@ timezone_changed_cb (ECalModel *cal_model,
g_return_if_fail (E_IS_DAY_VIEW (day_view));
+ e_day_view_update_timezone_name_labels (day_view);
+
if (!cal_view->in_focus) {
e_day_view_free_events (day_view);
day_view->requires_update = TRUE;
@@ -2830,7 +2832,6 @@ timezone_changed_cb (ECalModel *cal_model,
e_day_view_recalc_day_starts (day_view, lower);
e_day_view_update_query (day_view);
- e_day_view_update_timezone_name_labels (day_view);
}
static void
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]