aboutsummaryrefslogtreecommitdiffstats
path: root/calendar
diff options
context:
space:
mode:
authorChenthill Palanisamy <pchen@src.gnome.org>2007-07-30 02:32:11 +0800
committerChenthill Palanisamy <pchen@src.gnome.org>2007-07-30 02:32:11 +0800
commit5e1aa13961004f34e520849b95f33bc52eea2338 (patch)
treeea7311b4c4ee3571dda107ebc072131b546b3474 /calendar
parent5e4904e25530710a32a1f37ff28c69a6d8afc229 (diff)
downloadgsoc2013-evolution-5e1aa13961004f34e520849b95f33bc52eea2338.tar.gz
gsoc2013-evolution-5e1aa13961004f34e520849b95f33bc52eea2338.tar.zst
gsoc2013-evolution-5e1aa13961004f34e520849b95f33bc52eea2338.zip
Fixes #200977.
svn path=/trunk/; revision=33890
Diffstat (limited to 'calendar')
-rw-r--r--calendar/ChangeLog9
-rw-r--r--calendar/gui/e-day-view.c3
2 files changed, 12 insertions, 0 deletions
diff --git a/calendar/ChangeLog b/calendar/ChangeLog
index 6128f7b978..d538c0c265 100644
--- a/calendar/ChangeLog
+++ b/calendar/ChangeLog
@@ -1,5 +1,13 @@
+2007-07-29 Milan Crha <mcrha@redhat.com>
+
+ ** Fix for bug #200977
+
+ * gui/e-day-view.c: (time_range_changed_cb):
+ Ensures selection start row is visible.
+
2007-07-29 Rob Bradford <rob@robster.org.uk>
+ Fixes #461474
* gui/dialogs/task-page.c: (task_page_set_dates):
Remove redundant code.
@@ -19,6 +27,7 @@
2007-07-27 Hiroyuki Ikezoe <poincare@ikezoe.net>
+ Fixes #460825
* gui/cal-search-bar.c: (cal_search_bar_class_init): Remove needless
EFilterBarClass.
diff --git a/calendar/gui/e-day-view.c b/calendar/gui/e-day-view.c
index b3c14d56d8..6d83770857 100644
--- a/calendar/gui/e-day-view.c
+++ b/calendar/gui/e-day-view.c
@@ -494,6 +494,9 @@ time_range_changed_cb (ECalModel *model, time_t start_time, time_t end_time, gpo
/* If we don't show the new selection, don't preserve it */
if (day_view->selection_start_day == -1 || day_view->days_shown <= day_view->selection_start_day)
e_day_view_set_selected_time_range (E_CALENDAR_VIEW (day_view), start_time, end_time);
+
+ if (day_view->selection_start_row != -1)
+ e_day_view_ensure_rows_visible (day_view, day_view->selection_start_row, day_view->selection_start_row);
}