diff options
author | Matthew Barnes <mbarnes@redhat.com> | 2009-11-25 21:10:20 +0800 |
---|---|---|
committer | Matthew Barnes <mbarnes@redhat.com> | 2009-11-25 21:12:14 +0800 |
commit | d3497934dbf0aa93e08fe971240953b15c616cf7 (patch) | |
tree | 4a16d330146b952c69f691179985598815b951d2 /modules/addressbook/e-book-shell-view.c | |
parent | dcaa53ca64b42dc7ad4f613ce10b186e4b4b9255 (diff) | |
download | gsoc2013-evolution-d3497934dbf0aa93e08fe971240953b15c616cf7.tar.gz gsoc2013-evolution-d3497934dbf0aa93e08fe971240953b15c616cf7.tar.zst gsoc2013-evolution-d3497934dbf0aa93e08fe971240953b15c616cf7.zip |
BugĀ 602803 - New Contact enabled for read-only address books
Diffstat (limited to 'modules/addressbook/e-book-shell-view.c')
-rw-r--r-- | modules/addressbook/e-book-shell-view.c | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/modules/addressbook/e-book-shell-view.c b/modules/addressbook/e-book-shell-view.c index 663f2a109e..6c4c4303d1 100644 --- a/modules/addressbook/e-book-shell-view.c +++ b/modules/addressbook/e-book-shell-view.c @@ -342,6 +342,14 @@ book_shell_view_update_actions (EShellView *shell_view) sensitive = source_is_editable && any_contacts_selected; gtk_action_set_sensitive (action, sensitive); + action = ACTION (CONTACT_NEW); + sensitive = source_is_editable; + gtk_action_set_sensitive (action, sensitive); + + action = ACTION (CONTACT_NEW_LIST); + sensitive = source_is_editable; + gtk_action_set_sensitive (action, sensitive); + action = ACTION (CONTACT_OPEN); sensitive = any_contacts_selected; gtk_action_set_sensitive (action, sensitive); |