From 3843185df1e71e14e4f2e5d34aca34724090b496 Mon Sep 17 00:00:00 2001 From: Matthew Barnes Date: Sat, 30 Aug 2008 04:42:02 +0000 Subject: Preferences window awesomeness. svn path=/branches/kill-bonobo/; revision=36215 --- addressbook/gui/component/e-book-shell-view.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'addressbook') diff --git a/addressbook/gui/component/e-book-shell-view.c b/addressbook/gui/component/e-book-shell-view.c index 13098ab84a..1a5c38940d 100644 --- a/addressbook/gui/component/e-book-shell-view.c +++ b/addressbook/gui/component/e-book-shell-view.c @@ -268,15 +268,16 @@ book_shell_view_get_status_widget (EShellView *shell_view) } static void -book_shell_view_changed (EShellView *shell_view, - gboolean visible) +book_shell_view_changed (EShellView *shell_view) { EBookShellViewPrivate *priv; GtkActionGroup *action_group; + gboolean visible; priv = E_BOOK_SHELL_VIEW_GET_PRIVATE (shell_view); action_group = priv->contact_actions; + visible = e_shell_view_is_selected (shell_view); gtk_action_group_set_visible (action_group, visible); } -- cgit