aboutsummaryrefslogtreecommitdiffstats
path: root/modules/calendar/e-task-shell-view.c
diff options
context:
space:
mode:
authorMatthew Barnes <mbarnes@redhat.com>2009-11-19 20:38:59 +0800
committerMatthew Barnes <mbarnes@redhat.com>2009-11-19 20:40:54 +0800
commit72861cffee5a3f9a5434fe0a94c7ec60beec1cc2 (patch)
treee86a4a260b316811d39905792dc1ddac70911f07 /modules/calendar/e-task-shell-view.c
parent52a16bed13a045f8356c1d6e7a3a511d60cbf6b1 (diff)
downloadgsoc2013-evolution-72861cffee5a3f9a5434fe0a94c7ec60beec1cc2.tar.gz
gsoc2013-evolution-72861cffee5a3f9a5434fe0a94c7ec60beec1cc2.tar.zst
gsoc2013-evolution-72861cffee5a3f9a5434fe0a94c7ec60beec1cc2.zip
Disallow renaming a non-deletable ESource.
This is a partial solution to bug #600397.
Diffstat (limited to 'modules/calendar/e-task-shell-view.c')
-rw-r--r--modules/calendar/e-task-shell-view.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/calendar/e-task-shell-view.c b/modules/calendar/e-task-shell-view.c
index bab7fa1539..1bb2820911 100644
--- a/modules/calendar/e-task-shell-view.c
+++ b/modules/calendar/e-task-shell-view.c
@@ -370,7 +370,7 @@ task_shell_view_update_actions (EShellView *shell_view)
gtk_action_set_sensitive (action, sensitive);
action = ACTION (TASK_LIST_RENAME);
- sensitive = has_primary_source;
+ sensitive = can_delete_primary_source;
gtk_action_set_sensitive (action, sensitive);
action = ACTION (TASK_MARK_COMPLETE);