aboutsummaryrefslogtreecommitdiffstats
path: root/calendar/modules/e-cal-shell-view.c
diff options
context:
space:
mode:
Diffstat (limited to 'calendar/modules/e-cal-shell-view.c')
-rw-r--r--calendar/modules/e-cal-shell-view.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/calendar/modules/e-cal-shell-view.c b/calendar/modules/e-cal-shell-view.c
index fa2142e42a..ca6264efef 100644
--- a/calendar/modules/e-cal-shell-view.c
+++ b/calendar/modules/e-cal-shell-view.c
@@ -140,6 +140,10 @@ cal_shell_view_update_actions (EShellView *shell_view)
sensitive = (source != NULL);
gtk_action_set_sensitive (action, sensitive);
+ action = ACTION (CALENDAR_RENAME);
+ sensitive = has_primary_source;
+ gtk_action_set_sensitive (action, sensitive);
+
action = ACTION (EVENT_CLIPBOARD_COPY);
sensitive = (n_selected > 0);
gtk_action_set_sensitive (action, sensitive);