diff options
author | Dan Vrátil <dvratil@redhat.com> | 2011-02-16 15:21:01 +0800 |
---|---|---|
committer | Milan Crha <mcrha@redhat.com> | 2011-02-16 15:21:01 +0800 |
commit | 005bb4e64093f3f18bc09dbc54381f6413ec1754 (patch) | |
tree | 20edded7d4d93fd5059e73e7926e25ea76388f1b /modules | |
parent | 23e3079db1c9343a89b2b80e1762e5c9597af8a5 (diff) | |
download | gsoc2013-evolution-005bb4e64093f3f18bc09dbc54381f6413ec1754.tar gsoc2013-evolution-005bb4e64093f3f18bc09dbc54381f6413ec1754.tar.gz gsoc2013-evolution-005bb4e64093f3f18bc09dbc54381f6413ec1754.tar.bz2 gsoc2013-evolution-005bb4e64093f3f18bc09dbc54381f6413ec1754.tar.lz gsoc2013-evolution-005bb4e64093f3f18bc09dbc54381f6413ec1754.tar.xz gsoc2013-evolution-005bb4e64093f3f18bc09dbc54381f6413ec1754.tar.zst gsoc2013-evolution-005bb4e64093f3f18bc09dbc54381f6413ec1754.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); |