diff options
author | Milan Crha <mcrha@redhat.com> | 2012-04-11 22:58:05 +0800 |
---|---|---|
committer | Milan Crha <mcrha@redhat.com> | 2012-04-11 22:58:05 +0800 |
commit | 49787d04feef8ff699326e54d5991a36d8ef74bb (patch) | |
tree | 17129ce5082dd431865c8afc01290dbac4dc3524 /calendar/gui/e-day-view.c | |
parent | e3295b4d11bca23980472f1d54f4a52927c41539 (diff) | |
download | gsoc2013-evolution-49787d04feef8ff699326e54d5991a36d8ef74bb.tar.gz gsoc2013-evolution-49787d04feef8ff699326e54d5991a36d8ef74bb.tar.zst gsoc2013-evolution-49787d04feef8ff699326e54d5991a36d8ef74bb.zip |
Bug #584143 - Global Search Function withing Calendar
Diffstat (limited to 'calendar/gui/e-day-view.c')
-rw-r--r-- | calendar/gui/e-day-view.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/calendar/gui/e-day-view.c b/calendar/gui/e-day-view.c index 89694506f1..7b4fecfb0a 100644 --- a/calendar/gui/e-day-view.c +++ b/calendar/gui/e-day-view.c @@ -2515,6 +2515,9 @@ e_day_view_set_selected_time_range (ECalendarView *cal_view, work_day_start_hour = e_cal_model_get_work_day_start_hour (model); work_day_start_minute = e_cal_model_get_work_day_start_minute (model); + if (start_time == end_time) + end_time += e_calendar_view_get_time_divisions (cal_view) * 60; + /* Set the selection. */ start_in_grid = e_day_view_convert_time_to_grid_position (day_view, start_time, |