diff options
author | Harish Krishnaswamy <kharish@src.gnome.org> | 2004-12-08 21:36:38 +0800 |
---|---|---|
committer | Harish Krishnaswamy <kharish@src.gnome.org> | 2004-12-08 21:36:38 +0800 |
commit | aaa9158bbf78f5637ba89ed1c26d325b6985af1f (patch) | |
tree | 7a1547f0d8ad20aed9bbb9a16942b67b6eaebd79 /calendar | |
parent | 67bc8223eae812bb45bb5fdb9370999653f20b51 (diff) | |
download | gsoc2013-evolution-aaa9158bbf78f5637ba89ed1c26d325b6985af1f.tar.gz gsoc2013-evolution-aaa9158bbf78f5637ba89ed1c26d325b6985af1f.tar.zst gsoc2013-evolution-aaa9158bbf78f5637ba89ed1c26d325b6985af1f.zip |
update the query so currently held events can be cleared off.
* gui/e-week.c (time_range_changed_cb, e_week_view_set_first_day_shown):
update the query so currently held events can be cleared off.
svn path=/trunk/; revision=28088
Diffstat (limited to 'calendar')
-rw-r--r-- | calendar/ChangeLog | 5 | ||||
-rw-r--r-- | calendar/gui/e-week-view.c | 3 |
2 files changed, 8 insertions, 0 deletions
diff --git a/calendar/ChangeLog b/calendar/ChangeLog index 0da99b9688..309a2b6f1d 100644 --- a/calendar/ChangeLog +++ b/calendar/ChangeLog @@ -1,3 +1,8 @@ +2004-12-08 Harish Krishnaswamy <kharish@novell.com> + + * gui/e-week.c (time_range_changed_cb, e_week_view_set_first_day_shown): + update the query so currently held events can be cleared off. + 2004-12-08 David Mosberger <davidm@napali.hpl.hp.com> * gui/main.c: include plugin headers to fix 64 bit problems. diff --git a/calendar/gui/e-week-view.c b/calendar/gui/e-week-view.c index 3844c1a041..587b0f3e06 100644 --- a/calendar/gui/e-week-view.c +++ b/calendar/gui/e-week-view.c @@ -285,6 +285,7 @@ time_range_changed_cb (ECalModel *model, time_t start_time, time_t end_time, gpo start_time = time_day_begin_with_zone (start_time, e_calendar_view_get_timezone (E_CALENDAR_VIEW (week_view))); e_week_view_recalc_day_starts (week_view, start_time); + e_week_view_update_query (week_view); } /* Reset the adjustment value to 0 if the base address has changed. @@ -430,6 +431,7 @@ model_rows_inserted_cb (ETableModel *etm, int row, int count, gpointer user_data int i; model = e_calendar_view_get_model (E_CALENDAR_VIEW (week_view)); + for (i = 0; i < count; i++) { ECalModelComponent *comp_data; @@ -1610,6 +1612,7 @@ e_week_view_set_first_day_shown (EWeekView *week_view, if (update_adjustment_value) gtk_adjustment_set_value (GTK_RANGE (week_view->vscrollbar)->adjustment, 0); + e_week_view_update_query (week_view); gtk_widget_queue_draw (week_view->main_canvas); } |