aboutsummaryrefslogtreecommitdiffstats
path: root/addressbook/gui/component/e-book-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 /addressbook/gui/component/e-book-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 'addressbook/gui/component/e-book-shell-view.c')
-rw-r--r--addressbook/gui/component/e-book-shell-view.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/addressbook/gui/component/e-book-shell-view.c b/addressbook/gui/component/e-book-shell-view.c
index fc5c6d7a7f..601ce3b596 100644
--- a/addressbook/gui/component/e-book-shell-view.c
+++ b/addressbook/gui/component/e-book-shell-view.c
@@ -197,6 +197,10 @@ book_shell_view_update_actions (EShellView *shell_view)
sensitive = has_primary_source && !primary_source_is_system;
gtk_action_set_sensitive (action, sensitive);
+ action = ACTION (ADDRESS_BOOK_RENAME);
+ sensitive = has_primary_source;
+ gtk_action_set_sensitive (action, sensitive);
+
action = ACTION (ADDRESS_BOOK_STOP);
sensitive = source_is_busy;
gtk_action_set_sensitive (action, sensitive);