aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/compose.c5
-rw-r--r--src/textview.c3
2 files changed, 6 insertions, 2 deletions
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]);
diff --git a/src/textview.c b/src/textview.c
index 97234ac9..260f7791 100644
--- a/src/textview.c
+++ b/src/textview.c
@@ -1606,8 +1606,9 @@ void textview_set_font(TextView *textview, const gchar *codeset)
}
}
- gtk_text_view_set_pixels_above_lines(text, prefs_common.line_space / 2);
+ gtk_text_view_set_pixels_above_lines(text, prefs_common.line_space - prefs_common.line_space / 2);
gtk_text_view_set_pixels_below_lines(text, prefs_common.line_space / 2);
+ gtk_text_view_set_pixels_inside_wrap(text, prefs_common.line_space);
}
void textview_set_position(TextView *textview, gint pos)