talons

Fork of Claws Mail https://www.claws-mail
Log | Files | Refs | README | LICENSE

commit efa30efaa4eb82d13ec218ce323a5ca2c655709c
parent e302414124d275c1f5ada66ce63da2da5aa7eec2
Author: Paul Mangan <paul@claws-mail.org>
Date:   Fri, 14 May 2010 14:39:06 +0000

2010-05-14 [paul]	3.7.6cvs6

	* src/compose.c
		add a margin to the compose window text that matches
		the margin in textview

Diffstat:
MChangeLog | 6++++++
MPATCHSETS | 1+
Mconfigure.ac | 2+-
Msrc/compose.c | 2++
4 files changed, 10 insertions(+), 1 deletion(-)

diff --git a/ChangeLog b/ChangeLog @@ -1,3 +1,9 @@ +2010-05-14 [paul] 3.7.6cvs6 + + * src/compose.c + add a margin to the compose window text that matches + the margin in textview + 2010-05-14 [colin] 3.7.6cvs5 * src/gtk/sslcertwindow.c diff --git a/PATCHSETS b/PATCHSETS @@ -4001,3 +4001,4 @@ ( cvs diff -u -r 1.1.2.44 -r 1.1.2.45 src/plugins/pgpinline/pgpinline.c; ) > 3.7.6cvs3.patchset ( cvs diff -u -r 1.9.2.29 -r 1.9.2.30 src/gtk/sslcertwindow.c; ) > 3.7.6cvs4.patchset ( cvs diff -u -r 1.9.2.30 -r 1.9.2.31 src/gtk/sslcertwindow.c; ) > 3.7.6cvs5.patchset +( cvs diff -u -r 1.382.2.550 -r 1.382.2.551 src/compose.c; ) > 3.7.6cvs6.patchset diff --git a/configure.ac b/configure.ac @@ -12,7 +12,7 @@ MINOR_VERSION=7 MICRO_VERSION=6 INTERFACE_AGE=0 BINARY_AGE=0 -EXTRA_VERSION=5 +EXTRA_VERSION=6 EXTRA_RELEASE= EXTRA_GTK2_VERSION= diff --git a/src/compose.c b/src/compose.c @@ -7407,6 +7407,8 @@ static Compose *compose_create(PrefsAccount *account, gtk_widget_set_size_request(scrolledwin, prefs_common.compose_width, -1); text = gtk_text_view_new(); + gtk_text_view_set_left_margin(GTK_TEXT_VIEW(text), 6); + gtk_text_view_set_right_margin(GTK_TEXT_VIEW(text), 6); buffer = gtk_text_view_get_buffer(GTK_TEXT_VIEW(text)); gtk_text_view_set_wrap_mode(GTK_TEXT_VIEW(text), GTK_WRAP_WORD_CHAR); gtk_text_view_set_editable(GTK_TEXT_VIEW(text), TRUE);