From 959921759213d931f0bfd0c29ce8274f3fb88f8a Mon Sep 17 00:00:00 2001 From: Milan Crha Date: Mon, 26 Sep 2011 11:20:35 +0200 Subject: Bug #659932 - 'Use system time zone' in not honored immediately --- calendar/gui/e-cal-model.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'calendar/gui/e-cal-model.c') diff --git a/calendar/gui/e-cal-model.c b/calendar/gui/e-cal-model.c index a609ec81b4..f177913ca2 100644 --- a/calendar/gui/e-cal-model.c +++ b/calendar/gui/e-cal-model.c @@ -137,6 +137,7 @@ static ECalModelClient *add_new_client (ECalModel *model, ECalClient *client, gb static ECalModelClient *find_client_data (ECalModel *model, ECalClient *client); static void remove_client_objects (ECalModel *model, ECalModelClient *client_data); static void remove_client (ECalModel *model, ECalModelClient *client_data); +static void redo_queries (ECalModel *model); enum { PROP_0, @@ -1733,6 +1734,7 @@ e_cal_model_set_timezone (ECalModel *model, /* the timezone affects the times shown for date fields, * so we need to redisplay everything */ e_table_model_changed (E_TABLE_MODEL (model)); + redo_queries (model); g_object_notify (G_OBJECT (model), "timezone"); g_signal_emit (G_OBJECT (model), signals[TIMEZONE_CHANGED], 0, -- cgit