From: Jose Dapena Paz Date: Sat, 22 Aug 2009 21:35:43 +0000 (+0200) Subject: Revert "Fixes NB#123383, unexpected lines appear in new email editor body area" X-Git-Tag: 3.0.17-rc39~2 X-Git-Url: http://git.maemo.org/git/?p=modest;a=commitdiff_plain;h=b6021c433dd0ecec843ed83819296a253023313a;hp=1582b0d179634d2e877641f8bd7e18ce1698ef52 Revert "Fixes NB#123383, unexpected lines appear in new email editor body area" This reverts commit 5f5d20e1973b4928bc70504174de6edd15f59758. Reason is: it will break proper allocation of the body widget in composer. It won't grow properly and basically break functionality of editor. --- diff --git a/src/hildon2/modest-msg-edit-window.c b/src/hildon2/modest-msg-edit-window.c index 55cd46b..e5f3937 100644 --- a/src/hildon2/modest-msg-edit-window.c +++ b/src/hildon2/modest-msg-edit-window.c @@ -975,7 +975,7 @@ init_window (ModestMsgEditWindow *obj) init_wp_text_view_style (); priv->msg_body = modest_wp_text_view_new (); - hildon_gtk_widget_set_theme_size (priv->msg_body, MODEST_EDITABLE_SIZE); + gtk_text_view_set_wrap_mode (GTK_TEXT_VIEW (priv->msg_body), GTK_WRAP_WORD_CHAR); priv->text_buffer = gtk_text_view_get_buffer (GTK_TEXT_VIEW (priv->msg_body));