aboutsummaryrefslogtreecommitdiffstats
path: root/calendar/gui/e-day-view.c
diff options
context:
space:
mode:
authorRodrigo Moya <rodrigo@novell.com>2005-01-03 21:39:26 +0800
committerRodrigo Moya <rodrigo@src.gnome.org>2005-01-03 21:39:26 +0800
commite1df9b7e3aa46861efdce6eb251966fedf15e7cc (patch)
tree9266fc1f6190adab806bb662f5055cc4ab52e9c2 /calendar/gui/e-day-view.c
parent8cfe52bd9e50155e045442a4ae80bd2e1fe060f0 (diff)
downloadgsoc2013-evolution-e1df9b7e3aa46861efdce6eb251966fedf15e7cc.tar.gz
gsoc2013-evolution-e1df9b7e3aa46861efdce6eb251966fedf15e7cc.tar.zst
gsoc2013-evolution-e1df9b7e3aa46861efdce6eb251966fedf15e7cc.zip
redo the queries after emitting the 'time_range_changed' signal, since now
2005-01-03 Rodrigo Moya <rodrigo@novell.com> * gui/e-cal-model.c (e_cal_model_set_time_range): redo the queries after emitting the 'time_range_changed' signal, since now the views will only update their internal data but not redraw the events on that signal. * gui/e-day-view.c (model_changed_cb): removed, no longer needed. (e_day_view_recalc_day_starts): no need to call e_day_view_update_query. (e_day_view_init): no need to connect to 'model_changed' signal on the model, we already connect to the row/cell_changed ones. * gui/e-week-view.c (time_range_changed_cb): no need to call e_week_view_update_query. (model_changed_cb): removed, no longer needed. (e_week_view_init): no need to connect to 'model_changed' signal on the model, we already connect to the row/cell_changed ones. svn path=/trunk/; revision=28214
Diffstat (limited to 'calendar/gui/e-day-view.c')
-rw-r--r--calendar/gui/e-day-view.c12
1 files changed, 0 insertions, 12 deletions
diff --git a/calendar/gui/e-day-view.c b/calendar/gui/e-day-view.c
index 0ea43ba498..e350279cbb 100644
--- a/calendar/gui/e-day-view.c
+++ b/calendar/gui/e-day-view.c
@@ -539,14 +539,6 @@ process_component (EDayView *day_view, ECalModelComponent *comp_data)
}
static void
-model_changed_cb (ETableModel *etm, gpointer user_data)
-{
- EDayView *day_view = E_DAY_VIEW (user_data);
-
- e_day_view_update_query (day_view);
-}
-
-static void
update_row (EDayView *day_view, int row)
{
ECalModelComponent *comp_data;
@@ -984,8 +976,6 @@ e_day_view_init (EDayView *day_view)
/* connect to ECalModel's signals */
g_signal_connect (G_OBJECT (model), "time_range_changed",
G_CALLBACK (time_range_changed_cb), day_view);
- g_signal_connect (G_OBJECT (model), "model_changed",
- G_CALLBACK (model_changed_cb), day_view);
g_signal_connect (G_OBJECT (model), "model_row_changed",
G_CALLBACK (model_row_changed_cb), day_view);
g_signal_connect (G_OBJECT (model), "model_cell_changed",
@@ -2248,8 +2238,6 @@ e_day_view_recalc_day_starts (EDayView *day_view,
day_view->lower = start_time;
day_view->upper = day_view->day_starts[day_view->days_shown];
-
- e_day_view_update_query (day_view);
}