aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRodrigo Moya <rodrigo@ximian.com>2003-11-24 19:24:16 +0800
committerRodrigo Moya <rodrigo@src.gnome.org>2003-11-24 19:24:16 +0800
commit25c1366e4ac195f56bc43c5db31b075e6d088533 (patch)
tree86bcc42ad9295039dcfaa1bae9b6fdf137211eff
parentda439c7f3b3dbea2e531a242ef2ff1765443dc7e (diff)
downloadgsoc2013-evolution-25c1366e4ac195f56bc43c5db31b075e6d088533.tar.gz
gsoc2013-evolution-25c1366e4ac195f56bc43c5db31b075e6d088533.tar.zst
gsoc2013-evolution-25c1366e4ac195f56bc43c5db31b075e6d088533.zip
no need to have a selection for Paste to work.
2003-11-24 Rodrigo Moya <rodrigo@ximian.com> * gui/tasks-control.c (sensitize_commands): no need to have a selection for Paste to work. svn path=/trunk/; revision=23481
-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",