From 72861cffee5a3f9a5434fe0a94c7ec60beec1cc2 Mon Sep 17 00:00:00 2001 From: Matthew Barnes Date: Thu, 19 Nov 2009 07:38:59 -0500 Subject: Disallow renaming a non-deletable ESource. This is a partial solution to bug #600397. --- modules/addressbook/e-book-shell-view.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'modules/addressbook') diff --git a/modules/addressbook/e-book-shell-view.c b/modules/addressbook/e-book-shell-view.c index 568bc4567a..e7d26d727d 100644 --- a/modules/addressbook/e-book-shell-view.c +++ b/modules/addressbook/e-book-shell-view.c @@ -299,7 +299,7 @@ book_shell_view_update_actions (EShellView *shell_view) gtk_action_set_sensitive (action, sensitive); action = ACTION (ADDRESS_BOOK_RENAME); - sensitive = has_primary_source; + sensitive = can_delete_primary_source; gtk_action_set_sensitive (action, sensitive); action = ACTION (ADDRESS_BOOK_STOP); -- cgit