aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--calendar/ChangeLog3
-rw-r--r--calendar/gui/tasks-control.c2
2 files changed, 4 insertions, 1 deletions
diff --git a/calendar/ChangeLog b/calendar/ChangeLog
index 18e3b9ba9c..8fb7ad333c 100644
--- a/calendar/ChangeLog
+++ b/calendar/ChangeLog
@@ -1,5 +1,8 @@
2003-11-24 Rodrigo Moya <rodrigo@ximian.com>
+ * gui/tasks-control.c (sensitize_commands): no need to have a
+ selection for Paste to work.
+
* gui/e-calendar-table.c (e_calendar_table_show_popup_menu): disable
editing items if the selected task list is read only, not if it's not.
diff --git a/calendar/gui/tasks-control.c b/calendar/gui/tasks-control.c
index d046ac3283..7b92889809 100644
--- a/calendar/gui/tasks-control.c
+++ b/calendar/gui/tasks-control.c
@@ -250,7 +250,7 @@ sensitize_commands (ETasks *tasks, BonoboControl *control, int n_selected)
n_selected == 0 ? "0" : "1",
NULL);
bonobo_ui_component_set_prop (uic, "/commands/TasksPaste", "sensitive",
- n_selected == 0 || read_only ? "0" : "1",
+ read_only ? "0" : "1",
NULL);
bonobo_ui_component_set_prop (uic, "/commands/TasksDelete", "sensitive",
n_selected == 0 || read_only ? "0" : "1",