[Tasks] Fix for #330374

Rajeev ramanathan <[email protected]>
Newsgroups gmane.comp.gnome.evolution.patches
Message-ID <[email protected]>
Hi,
Sending patch for review.

with regards,
Rajeev

		
---------------------------------
 Yahoo! Autos. Looking for a sweet ride? Get pricing, reviews, & more on new and used cars.

_______________________________________________
Evolution-patches mailing list
[email protected]
http://mail.gnome.org/mailman/listinfo/evolution-patches
markcomplete.diff (text/x-patch, 1.2 KB)
Index: gui/tasks-control.c
===================================================================
RCS file: /cvs/gnome/evolution/calendar/gui/tasks-control.c,v
retrieving revision 1.85
diff -u -p -r1.85 tasks-control.c
--- gui/tasks-control.c	26 Nov 2005 02:31:50 -0000	1.85
+++ gui/tasks-control.c	14 Feb 2006 06:00:28 -0000
@@ -413,6 +413,9 @@ tasks_control_complete_cmd		(BonoboUICom
 {
 	ETasks *tasks;
 
+	bonobo_ui_component_set_prop (uic, "/commands/TasksMarkComplete", "sensitive",
+					      "0",
+					      NULL);
 	tasks = E_TASKS (data);
 	e_tasks_complete_selected (tasks);
 }
Index: ChangeLog
===================================================================
RCS file: /cvs/gnome/evolution/calendar/ChangeLog,v
retrieving revision 1.2973
diff -u -p -r1.2973 ChangeLog
--- ChangeLog	31 Jan 2006 09:12:12 -0000	1.2973
+++ ChangeLog	14 Feb 2006 06:02:49 -0000
@@ -1,3 +1,10 @@
+2006-02-14  Rajeev ramanathan <[email protected]>
+
+	**Fixes #330374
+
+	* gui/tasks-control.c: (tasks_control_complete_cmd): Added code
+	to disable Edit->Mark as complete for completed events.
+
 2006-01-31  Tor Lillqvist  <[email protected]>
 
 	* gui/alarm-notify/alarm-queue.c (open_alarm_dialog,
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.