aboutsummaryrefslogtreecommitdiffstats
path: root/addressbook/gui
diff options
context:
space:
mode:
authorMatthew Barnes <mbarnes@redhat.com>2010-07-30 10:05:27 +0800
committerMatthew Barnes <mbarnes@redhat.com>2010-07-30 11:32:53 +0800
commit71eff23a1d4f6d06b7bdd6a8fc38878d3bfeeb6a (patch)
tree0abc123d092629057e7a12318271bbb07c60556c /addressbook/gui
parent831cb20c977c941f8cf592e2ca8d0622e1a8c9e8 (diff)
downloadgsoc2013-evolution-71eff23a1d4f6d06b7bdd6a8fc38878d3bfeeb6a.tar.gz
gsoc2013-evolution-71eff23a1d4f6d06b7bdd6a8fc38878d3bfeeb6a.tar.zst
gsoc2013-evolution-71eff23a1d4f6d06b7bdd6a8fc38878d3bfeeb6a.zip
Bug 625624 - Customizations of contacts views forgotten
Found similar bugs in EShellMemoContent and EShellTaskContent.
Diffstat (limited to 'addressbook/gui')
-rw-r--r--addressbook/gui/widgets/e-addressbook-view.c6
1 files changed, 5 insertions, 1 deletions
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);
}