aboutsummaryrefslogtreecommitdiffstats
path: root/modules/addressbook
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 /modules/addressbook
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 'modules/addressbook')
-rw-r--r--modules/addressbook/e-book-shell-view-private.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/modules/addressbook/e-book-shell-view-private.c b/modules/addressbook/e-book-shell-view-private.c
index 4482383331..746a11c4e7 100644
--- a/modules/addressbook/e-book-shell-view-private.c
+++ b/modules/addressbook/e-book-shell-view-private.c
@@ -303,6 +303,11 @@ book_shell_view_activate_selected_source (EBookShellView *book_shell_view,
E_ADDRESSBOOK_VIEW (widget));
view_instance = e_addressbook_view_get_view_instance (view);
+
+ /* This must come after e_book_shell_content_set_current_view()
+ * because book_shell_view_notify_view_id_cb() relies on it. */
+ gal_view_instance_load (view_instance);
+
view_id = gal_view_instance_get_current_view_id (view_instance);
e_shell_view_set_view_id (shell_view, view_id);
g_free (view_id);