I don't know if this works cleanly in the newest versions. But in my
ancient version, doing a search by entering a term in the search box, 
selecting a piece of text of that search string and hitting Ctrl-x would
result in the currently selected task to be deleted. And Ctrl-v would
not bring it back. I inserted a little crutch in my old version to 
simply disable the cut command and that worked. See attached diff.

-- 
thomas

commit cf5444ce2def9c51d40ee6bf4091ad8c516f1a8b
Author: Thomas Mittelstaedt <tmsta...@t-mittelstaedt.de>
Date:   Fri Aug 16 22:21:47 2013 +0200

    Just a quick fix: Disable the TasksCut command in order not accidentally
    delete tasks while hitting Ctrl-x in the search text box.

diff --git a/calendar/gui/tasks-control.c b/calendar/gui/tasks-control.c
index a788931..b24b9a6 100644
--- a/calendar/gui/tasks-control.c
+++ b/calendar/gui/tasks-control.c
@@ -269,7 +269,8 @@ tasks_control_focus_changed (GtkWidget *widget, 
GdkEventFocus *event, struct foc
 static BonoboUIVerb verbs [] = {
        BONOBO_UI_VERB ("TasksOpenTask", tasks_control_open_task_cmd),
        BONOBO_UI_VERB ("TasksNewTask", tasks_control_new_task_cmd),
-       BONOBO_UI_VERB ("TasksCut", tasks_control_cut_cmd),
+       /* BONOBO_UI_VERB ("TasksCut", tasks_control_cut_cmd), */
+       BONOBO_UI_VERB ("TasksCut", NULL),
        BONOBO_UI_VERB ("TasksCopy", tasks_control_copy_cmd),
        BONOBO_UI_VERB ("TasksPaste", tasks_control_paste_cmd),
        BONOBO_UI_VERB ("TasksDelete", tasks_control_delete_cmd),
_______________________________________________
evolution-hackers mailing list
evolution-hackers@gnome.org
To change your list options or unsubscribe, visit ...
https://mail.gnome.org/mailman/listinfo/evolution-hackers

Reply via email to