From 288eac7584751c1dd35bb28ea22a09ad304b3676 Mon Sep 17 00:00:00 2001 From: hiro Date: Mon, 28 May 2012 06:00:47 +0000 Subject: properly set line-space for auto-wrapped lines (fixes Bug #64). git-svn-id: svn://sylpheed.sraoss.jp/sylpheed/trunk@3076 ee746299-78ed-0310-b773-934348b2243d --- src/compose.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'src/compose.c') diff --git a/src/compose.c b/src/compose.c index 3ea5e586..e81e7ccf 100644 --- a/src/compose.c +++ b/src/compose.c @@ -5490,9 +5490,12 @@ static Compose *compose_create(PrefsAccount *account, ComposeMode mode) } gtk_text_view_set_pixels_above_lines - (GTK_TEXT_VIEW(text), prefs_common.line_space / 2); + (GTK_TEXT_VIEW(text), + prefs_common.line_space - prefs_common.line_space / 2); gtk_text_view_set_pixels_below_lines (GTK_TEXT_VIEW(text), prefs_common.line_space / 2); + gtk_text_view_set_pixels_inside_wrap + (GTK_TEXT_VIEW(text), prefs_common.line_space); n_entries = sizeof(compose_popup_entries) / sizeof(compose_popup_entries[0]); -- cgit v1.2.3