From 098ea8aad8d3249d9faca5df5b4fe67b94ba660f Mon Sep 17 00:00:00 2001 From: Matthew Barnes Date: Mon, 29 Sep 2008 16:14:46 +0000 Subject: Get Memos to come up. Doesn't really work yet, but the widgets are all there. svn path=/branches/kill-bonobo/; revision=36491 --- addressbook/gui/component/e-book-shell-view.c | 16 +--------------- 1 file changed, 1 insertion(+), 15 deletions(-) (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 d43ef0bd96..697f3def7b 100644 --- a/addressbook/gui/component/e-book-shell-view.c +++ b/addressbook/gui/component/e-book-shell-view.c @@ -129,20 +129,6 @@ book_shell_view_constructed (GObject *object) e_book_shell_view_private_constructed (book_shell_view); } -static void -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_active (shell_view); - gtk_action_group_set_visible (action_group, visible); -} - static void book_shell_view_class_init (EBookShellViewClass *class, GTypeModule *type_module) @@ -162,11 +148,11 @@ book_shell_view_class_init (EBookShellViewClass *class, shell_view_class = E_SHELL_VIEW_CLASS (class); shell_view_class->label = N_("Contacts"); shell_view_class->icon_name = "x-office-address-book"; + shell_view_class->ui_definition = "evolution-contacts.ui"; shell_view_class->search_options = "/contact-search-options"; shell_view_class->type_module = type_module; shell_view_class->new_shell_content = e_book_shell_content_new; shell_view_class->new_shell_sidebar = e_book_shell_sidebar_new; - shell_view_class->changed = book_shell_view_changed; g_object_class_install_property ( object_class, -- cgit v1.2.3