From df6a8262a141e0bec824149e7f65568d2187c5c2 Mon Sep 17 00:00:00 2001 From: Matthew Barnes Date: Fri, 12 Sep 2008 01:54:07 +0000 Subject: Arrange for an ESourceList to be shared amongst all instances of a type of shell view. For example, all EBookShellView instances will now share the same ESourceList instance for address books. svn path=/branches/kill-bonobo/; revision=36311 --- addressbook/gui/component/e-book-shell-view-private.h | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) (limited to 'addressbook/gui/component/e-book-shell-view-private.h') diff --git a/addressbook/gui/component/e-book-shell-view-private.h b/addressbook/gui/component/e-book-shell-view-private.h index ccd344567e..6fbff31c5d 100644 --- a/addressbook/gui/component/e-book-shell-view-private.h +++ b/addressbook/gui/component/e-book-shell-view-private.h @@ -81,6 +81,10 @@ enum { struct _EBookShellViewPrivate { + /*** Module Data ***/ + + ESourceList *source_list; + /*** UI Management ***/ GtkActionGroup *contact_actions; @@ -98,14 +102,14 @@ struct _EBookShellViewPrivate { EBook *book; guint activity_id; - ESourceList *source_list; gchar *password; EABMenu *menu; }; void e_book_shell_view_private_init - (EBookShellView *book_shell_view); + (EBookShellView *book_shell_view, + EShellViewClass *shell_view_class); void e_book_shell_view_private_constructed (EBookShellView *book_shell_view); void e_book_shell_view_private_dispose -- cgit v1.2.3