aboutsummaryrefslogtreecommitdiffstats
path: root/composer/e-msg-composer-hdrs.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-hdrs.c
parent93da15659a14ed3f5c6d3295b80960698be095ac (diff)
downloadgsoc2013-evolution-35fea294345bd6c04ef81282fec3ecb052d12619.tar.gz
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-hdrs.c')
-rw-r--r--composer/e-msg-composer-hdrs.c13
1 files changed, 3 insertions, 10 deletions
diff --git a/composer/e-msg-composer-hdrs.c b/composer/e-msg-composer-hdrs.c
index dedb8abb4f..9810fa63b4 100644
--- a/composer/e-msg-composer-hdrs.c
+++ b/composer/e-msg-composer-hdrs.c
@@ -386,7 +386,7 @@ create_from_optionmenu (EMsgComposerHdrs *hdrs)
g_signal_emit_by_name (first, "activate", hdrs);
}
- hbox = gtk_hbox_new (FALSE, 3);
+ hbox = gtk_hbox_new (FALSE, 6);
gtk_box_pack_start_defaults (GTK_BOX (hbox), omenu);
gtk_widget_show (omenu);
gtk_widget_show (hbox);
@@ -557,22 +557,15 @@ create_headers (EMsgComposerHdrs *hdrs)
static void
attach_couple (EMsgComposerHdrs *hdrs, EMsgComposerHdrPair *pair, int line)
{
- int pad;
-
- if (GTK_IS_LABEL (pair->label))
- pad = GNOME_PAD;
- else
- pad = 2;
-
gtk_table_attach (GTK_TABLE (hdrs),
pair->label, 0, 1,
line, line + 1,
- GTK_FILL, GTK_FILL, pad, pad);
+ GTK_FILL, GTK_FILL, 3, 3);
gtk_table_attach (GTK_TABLE (hdrs),
pair->entry, 1, 2,
line, line + 1,
- GTK_FILL | GTK_EXPAND, 0, 2, 2);
+ GTK_FILL | GTK_EXPAND, 0, 3, 3);
}
static void