[evolution-patches] [Tasks] Fix for #330374



Hi,
Sending patch for review.

with regards,
Rajeev


Yahoo! Autos. Looking for a sweet ride? Get pricing, reviews, & more on new and used cars.
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 <rajeevramanathan_2004 yahoo co in>
+
+	**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  <tml novell com>
 
 	* gui/alarm-notify/alarm-queue.c (open_alarm_dialog,


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]