aboutsummaryrefslogtreecommitdiffstats
path: root/composer/e-msg-composer.c
diff options
context:
space:
mode:
authorJeffrey Stedfast <fejj@ximian.com>2003-06-18 03:47:53 +0800
committerJeffrey Stedfast <fejj@src.gnome.org>2003-06-18 03:47:53 +0800
commit35fea294345bd6c04ef81282fec3ecb052d12619 (patch)
tree05938da956b9ba636d48e2cef2fdd0959cd58b40 /composer/e-msg-composer.c
parent93da15659a14ed3f5c6d3295b80960698be095ac (diff)
downloadgsoc2013-evolution-35fea294345bd6c04ef81282fec3ecb052d12619.tar
gsoc2013-evolution-35fea294345bd6c04ef81282fec3ecb052d12619.tar.gz
gsoc2013-evolution-35fea294345bd6c04ef81282fec3ecb052d12619.tar.bz2
gsoc2013-evolution-35fea294345bd6c04ef81282fec3ecb052d12619.tar.lz
gsoc2013-evolution-35fea294345bd6c04ef81282fec3ecb052d12619.tar.xz
gsoc2013-evolution-35fea294345bd6c04ef81282fec3ecb052d12619.tar.zst
gsoc2013-evolution-35fea294345bd6c04ef81282fec3ecb052d12619.zip
Fixes bug #44139.
2003-06-16 Jeffrey Stedfast <fejj@ximian.com> Fixes bug #44139. * e-msg-composer-hdrs.c (attach_couple): Set the vertical and horizontal padding to 3 always. (create_from_optionmenu): Change the hbox spacing to 6 pixels. * e-msg-composer.c (create_composer): Set the border width around the composer's vbox to HIG specification and make the box_spacing 6 pixels as well. svn path=/trunk/; revision=21460
Diffstat (limited to 'composer/e-msg-composer.c')
-rw-r--r--composer/e-msg-composer.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/composer/e-msg-composer.c b/composer/e-msg-composer.c
index 0a72e2aad1..18cf3382e0 100644
--- a/composer/e-msg-composer.c
+++ b/composer/e-msg-composer.c
@@ -216,10 +216,10 @@ best_encoding (GByteArray *buf, const char *charset)
if ((unsigned char)*ch > 127)
count++;
}
- } while (status == -1 && errno == E2BIG);
+ } while (status == (size_t) -1 && errno == E2BIG);
iconv_close (cd);
- if (status == -1)
+ if (status == (size_t) -1)
return -1;
if (count == 0)
@@ -2939,6 +2939,8 @@ create_composer (int visible_mask)
return NULL;
}
+ gtk_container_set_border_width (GTK_CONTAINER (vbox), 6);
+ gtk_box_set_spacing (GTK_BOX (vbox), 6);
gtk_box_pack_start (GTK_BOX (vbox), composer->hdrs, FALSE, FALSE, 0);
g_signal_connect (composer->hdrs, "subject_changed",
G_CALLBACK (subject_changed_cb), composer);