diff options
Diffstat (limited to 'addressbook/gui')
-rw-r--r-- | addressbook/gui/component/e-book-shell-view.c | 5 |
1 files changed, 3 insertions, 2 deletions
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); } |