[evolution-patches] 66158 Mark complete immediately when action taken
- From: JP Rosevear <jpr novell com>
- To: evolution-patches ximian com
- Subject: [evolution-patches] 66158 Mark complete immediately when action taken
- Date: Mon, 20 Sep 2004 11:02:22 -0400
-JP
-- 
JP Rosevear <jpr novell com>
Novell, Inc.
Index: ChangeLog
===================================================================
RCS file: /cvs/gnome/evolution/calendar/ChangeLog,v
retrieving revision 1.2500.2.7
diff -u -p -r1.2500.2.7 ChangeLog
--- ChangeLog	20 Sep 2004 13:08:32 -0000	1.2500.2.7
+++ ChangeLog	20 Sep 2004 14:50:57 -0000
@@ -1,5 +1,12 @@
 2004-09-20  JP Rosevear  <jpr novell com>
- 
+
+	Fixes #66158
+	
+	* gui/e-cal-model-tasks.c (e_cal_model_tasks_mark_task_complete):
+	notify of change so completion status updates immediately
+
+2004-09-20  JP Rosevear  <jpr novell com>
+	
  	Fixes #55172
  	
  	* conduits/calendar/calendar-conduit.c (local_record_from_comp):
Index: gui/e-cal-model-tasks.c
===================================================================
RCS file: /cvs/gnome/evolution/calendar/gui/e-cal-model-tasks.c,v
retrieving revision 1.24.6.1
diff -u -p -r1.24.6.1 e-cal-model-tasks.c
--- gui/e-cal-model-tasks.c	2 Sep 2004 08:54:55 -0000	1.24.6.1
+++ gui/e-cal-model-tasks.c	20 Sep 2004 14:50:57 -0000
@@ -1099,6 +1099,11 @@ e_cal_model_tasks_mark_task_complete (EC
 	priv = model->priv;
 
 	comp_data = e_cal_model_get_component_at (E_CAL_MODEL (model), model_row);
-	if (comp_data)
+	if (comp_data) {
+		e_table_model_pre_change (E_TABLE_MODEL (model));
+
 		ensure_task_complete (comp_data, -1);
+
+		e_table_model_row_changed (E_TABLE_MODEL (model), model_row);
+	}
 }
[
Date Prev][
Date Next]   [
Thread Prev][
Thread Next]   
[
Thread Index]
[
Date Index]
[
Author Index]