From 78fd379aa7c17c60c4b5fc07e5243b32ec4a2639 Mon Sep 17 00:00:00 2001 From: Matthew Barnes Date: Fri, 31 Oct 2008 12:54:01 +0000 Subject: 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 --- addressbook/gui/component/e-book-shell-view.c | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'addressbook/gui/component/e-book-shell-view.c') 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); -- cgit v1.2.3