From 71eff23a1d4f6d06b7bdd6a8fc38878d3bfeeb6a Mon Sep 17 00:00:00 2001 From: Matthew Barnes Date: Thu, 29 Jul 2010 22:05:27 -0400 Subject: Bug 625624 - Customizations of contacts views forgotten Found similar bugs in EShellMemoContent and EShellTaskContent. --- addressbook/gui/widgets/e-addressbook-view.c | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'addressbook') diff --git a/addressbook/gui/widgets/e-addressbook-view.c b/addressbook/gui/widgets/e-addressbook-view.c index db9917f37f..ca767ecf92 100644 --- a/addressbook/gui/widgets/e-addressbook-view.c +++ b/addressbook/gui/widgets/e-addressbook-view.c @@ -577,9 +577,13 @@ addressbook_view_constructed (GObject *object) g_signal_connect_swapped ( view_instance, "display-view", G_CALLBACK (addressbook_view_display_view_cb), view); - gal_view_instance_load (view_instance); view->priv->view_instance = view_instance; + /* Do not call gal_view_instance_load() here. EBookShellContent + * must first obtain a reference to this EAddressbookView so that + * e_book_shell_content_get_current_view() returns the correct + * view in GalViewInstance::loaded signal handlers. */ + g_free (uri); } -- cgit