aboutsummaryrefslogtreecommitdiffstats
path: root/calendar/modules/e-cal-shell-view.c
diff options
context:
space:
mode:
authorMatthew Barnes <mbarnes@src.gnome.org>2008-10-31 20:54:01 +0800
committerMatthew Barnes <mbarnes@src.gnome.org>2008-10-31 20:54:01 +0800
commit78fd379aa7c17c60c4b5fc07e5243b32ec4a2639 (patch)
tree55a5c29dfb02f27e094b1fcf3e324904008aa5ad /calendar/modules/e-cal-shell-view.c
parent9c9e85d286fe61ed11e457c737bd26e2732119ab (diff)
downloadgsoc2013-evolution-78fd379aa7c17c60c4b5fc07e5243b32ec4a2639.tar
gsoc2013-evolution-78fd379aa7c17c60c4b5fc07e5243b32ec4a2639.tar.gz
gsoc2013-evolution-78fd379aa7c17c60c4b5fc07e5243b32ec4a2639.tar.bz2
gsoc2013-evolution-78fd379aa7c17c60c4b5fc07e5243b32ec4a2639.tar.lz
gsoc2013-evolution-78fd379aa7c17c60c4b5fc07e5243b32ec4a2639.tar.xz
gsoc2013-evolution-78fd379aa7c17c60c4b5fc07e5243b32ec4a2639.tar.zst
gsoc2013-evolution-78fd379aa7c17c60c4b5fc07e5243b32ec4a2639.zip
Support inline renaming of sources in the source selector, with help
from evolution-data-server (see bug #558322). Kill another frivolous plugin: select-one-source svn path=/branches/kill-bonobo/; revision=36705
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);