aboutsummaryrefslogtreecommitdiffstats
path: root/modules
diff options
context:
space:
mode:
authorMilan Crha <mcrha@redhat.com>2010-05-13 01:27:45 +0800
committerMilan Crha <mcrha@redhat.com>2010-05-13 01:27:45 +0800
commit4e53d5e948214fceadb1eb477dac11c1bcaae8d5 (patch)
tree52f4ad40d7f5a5f2ed767754e81d5b0b4d43278b /modules
parent4abf496f28e91caeb434b0d13259434302acade7 (diff)
downloadgsoc2013-evolution-4e53d5e948214fceadb1eb477dac11c1bcaae8d5.tar
gsoc2013-evolution-4e53d5e948214fceadb1eb477dac11c1bcaae8d5.tar.gz
gsoc2013-evolution-4e53d5e948214fceadb1eb477dac11c1bcaae8d5.tar.bz2
gsoc2013-evolution-4e53d5e948214fceadb1eb477dac11c1bcaae8d5.tar.lz
gsoc2013-evolution-4e53d5e948214fceadb1eb477dac11c1bcaae8d5.tar.xz
gsoc2013-evolution-4e53d5e948214fceadb1eb477dac11c1bcaae8d5.tar.zst
gsoc2013-evolution-4e53d5e948214fceadb1eb477dac11c1bcaae8d5.zip
Bug #603006 - Move All Contacts To enabled for read-only address books
Diffstat (limited to 'modules')
-rw-r--r--modules/addressbook/e-book-shell-view.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/modules/addressbook/e-book-shell-view.c b/modules/addressbook/e-book-shell-view.c
index 3ecea2c49f..e7b1c7b0b0 100644
--- a/modules/addressbook/e-book-shell-view.c
+++ b/modules/addressbook/e-book-shell-view.c
@@ -299,6 +299,10 @@ book_shell_view_update_actions (EShellView *shell_view)
any_contacts_selected =
(single_contact_selected || multiple_contacts_selected);
+ action = ACTION (ADDRESS_BOOK_MOVE);
+ sensitive = source_is_editable;
+ gtk_action_set_sensitive (action, sensitive);
+
action = ACTION (ADDRESS_BOOK_DELETE);
sensitive = can_delete_primary_source;
gtk_action_set_sensitive (action, sensitive);