diff options
author | Dan Vrátil <dvratil@redhat.com> | 2011-02-16 15:21:01 +0800 |
---|---|---|
committer | Rodrigo Moya <rodrigo@gnome-db.org> | 2011-06-30 00:41:35 +0800 |
commit | b6512982fbbdd02d9f7813449d359f07f72db1e0 (patch) | |
tree | 442bcc6b29f6bdaac53d4f9c56b9e972f5914b59 /modules | |
parent | 3c6cc7e1a7b2cf2af50c4d7372ae95d4f2ca690c (diff) | |
download | gsoc2013-evolution-b6512982fbbdd02d9f7813449d359f07f72db1e0.tar.gz gsoc2013-evolution-b6512982fbbdd02d9f7813449d359f07f72db1e0.tar.zst gsoc2013-evolution-b6512982fbbdd02d9f7813449d359f07f72db1e0.zip |
Bug #255973 - Contact preview waste space and cosmetic correction
Diffstat (limited to 'modules')
-rw-r--r-- | modules/addressbook/e-book-shell-content.c | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/modules/addressbook/e-book-shell-content.c b/modules/addressbook/e-book-shell-content.c index 1d510fb3b7..a2f7f9cddd 100644 --- a/modules/addressbook/e-book-shell-content.c +++ b/modules/addressbook/e-book-shell-content.c @@ -262,6 +262,17 @@ book_shell_content_constructed (GObject *object) eab_contact_display_set_mode ( EAB_CONTACT_DISPLAY (widget), EAB_CONTACT_DISPLAY_RENDER_NORMAL); + + eab_contact_display_set_orientation ( + EAB_CONTACT_DISPLAY (widget), + priv->orientation); + + g_object_bind_property ( + object, "orientation", + widget, "orientation", + G_BINDING_SYNC_CREATE); + + e_shell_configure_web_view (shell, E_WEB_VIEW (widget)); gtk_widget_show (widget); |