Bug #603006 - Move All Contacts To enabled for read-only address books

This commit is contained in:
Milan Crha
2010-05-12 19:27:45 +02:00
parent 4abf496f28
commit 4e53d5e948
2 changed files with 13 additions and 2 deletions

View File

@ -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);