diff options
author | Milan Crha <mcrha@redhat.com> | 2010-04-01 22:18:40 +0800 |
---|---|---|
committer | Milan Crha <mcrha@redhat.com> | 2010-04-01 22:18:40 +0800 |
commit | b276c75c7c0f537cf4f5d122b1bff41420ca3232 (patch) | |
tree | 829da2bb5e4c2795c884d0e53ffd0da1b344dfb1 /calendar/gui/e-cal-list-view.c | |
parent | ba1c4eade6a41d285fae59969f2db4b253139041 (diff) | |
download | gsoc2013-evolution-b276c75c7c0f537cf4f5d122b1bff41420ca3232.tar gsoc2013-evolution-b276c75c7c0f537cf4f5d122b1bff41420ca3232.tar.gz gsoc2013-evolution-b276c75c7c0f537cf4f5d122b1bff41420ca3232.tar.bz2 gsoc2013-evolution-b276c75c7c0f537cf4f5d122b1bff41420ca3232.tar.lz gsoc2013-evolution-b276c75c7c0f537cf4f5d122b1bff41420ca3232.tar.xz gsoc2013-evolution-b276c75c7c0f537cf4f5d122b1bff41420ca3232.tar.zst gsoc2013-evolution-b276c75c7c0f537cf4f5d122b1bff41420ca3232.zip |
Bug #613352 - Changed time range not propagated to calendar
Diffstat (limited to 'calendar/gui/e-cal-list-view.c')
-rw-r--r-- | calendar/gui/e-cal-list-view.c | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/calendar/gui/e-cal-list-view.c b/calendar/gui/e-cal-list-view.c index 1d3e0e114a..0a3c3de0be 100644 --- a/calendar/gui/e-cal-list-view.c +++ b/calendar/gui/e-cal-list-view.c @@ -528,6 +528,15 @@ e_cal_list_view_get_visible_time_range (ECalendarView *cal_view, time_t *start_t return TRUE; } + if (!n_rows) { + ECalModel *model = e_calendar_view_get_model (cal_view); + + /* Use time range set in the model when nothing shown in the list view */ + e_cal_model_get_time_range (model, start_time, end_time); + + return TRUE; + } + return FALSE; } |