aboutsummaryrefslogtreecommitdiffstats
path: root/modules/addressbook
diff options
context:
space:
mode:
authorDan Vrátil <dvratil@redhat.com>2011-02-16 15:21:01 +0800
committerMilan Crha <mcrha@redhat.com>2011-02-16 15:21:01 +0800
commit005bb4e64093f3f18bc09dbc54381f6413ec1754 (patch)
tree20edded7d4d93fd5059e73e7926e25ea76388f1b /modules/addressbook
parent23e3079db1c9343a89b2b80e1762e5c9597af8a5 (diff)
downloadgsoc2013-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/addressbook')
-rw-r--r--modules/addressbook/e-book-shell-content.c11
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);