diff options
author | Milan Crha <mcrha@redhat.com> | 2013-05-30 23:48:11 +0800 |
---|---|---|
committer | Milan Crha <mcrha@redhat.com> | 2013-05-30 23:48:11 +0800 |
commit | ef5795c3fd5186f42f54a2695db8d6c1bd46f489 (patch) | |
tree | 3834749068b9e89d634344724ccf4afab34d87c7 /modules/calendar/e-cal-shell-view-private.c | |
parent | 4d398331f327468488b958d6af33a47e5354a2c6 (diff) | |
download | gsoc2013-evolution-ef5795c3fd5186f42f54a2695db8d6c1bd46f489.tar gsoc2013-evolution-ef5795c3fd5186f42f54a2695db8d6c1bd46f489.tar.gz gsoc2013-evolution-ef5795c3fd5186f42f54a2695db8d6c1bd46f489.tar.bz2 gsoc2013-evolution-ef5795c3fd5186f42f54a2695db8d6c1bd46f489.tar.lz gsoc2013-evolution-ef5795c3fd5186f42f54a2695db8d6c1bd46f489.tar.xz gsoc2013-evolution-ef5795c3fd5186f42f54a2695db8d6c1bd46f489.tar.zst gsoc2013-evolution-ef5795c3fd5186f42f54a2695db8d6c1bd46f489.zip |
Bug #700812 - Search in Calendar view is broken
Diffstat (limited to 'modules/calendar/e-cal-shell-view-private.c')
-rw-r--r-- | modules/calendar/e-cal-shell-view-private.c | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/modules/calendar/e-cal-shell-view-private.c b/modules/calendar/e-cal-shell-view-private.c index 8cafe21c49..f8d455edb5 100644 --- a/modules/calendar/e-cal-shell-view-private.c +++ b/modules/calendar/e-cal-shell-view-private.c @@ -1458,6 +1458,8 @@ cal_iterate_searching (ECalShellView *cal_shell_view) priv->searching_activity = NULL; } + e_shell_view_update_actions (E_SHELL_VIEW (cal_shell_view)); + return; } @@ -1564,7 +1566,7 @@ cal_iterate_searching (ECalShellView *cal_shell_view) priv->search_time = new_time; for (link = list; link != NULL; link = g_list_next (link)) { - ECalClient *client = E_CAL_CLIENT (link); + ECalClient *client = E_CAL_CLIENT (link->data); e_cal_client_get_object_list ( client, sexp, cancellable, @@ -1573,6 +1575,8 @@ cal_iterate_searching (ECalShellView *cal_shell_view) g_list_free_full (list, (GDestroyNotify) g_object_unref); g_free (sexp); + + e_shell_view_update_actions (E_SHELL_VIEW (cal_shell_view)); } void @@ -1621,8 +1625,10 @@ e_cal_shell_view_search_events (ECalShellView *cal_shell_view, priv->search_direction = search_forward ? +30 : -30; - if (cal_searching_check_candidates (cal_shell_view)) + if (cal_searching_check_candidates (cal_shell_view)) { + e_shell_view_update_actions (E_SHELL_VIEW (cal_shell_view)); return; + } range_years = cal_searching_get_search_range_years (cal_shell_view); |