diff options
author | Christopher James Lahey <clahey@helixcode.com> | 2000-07-09 20:35:16 +0800 |
---|---|---|
committer | Chris Lahey <clahey@src.gnome.org> | 2000-07-09 20:35:16 +0800 |
commit | 6525d9ad47554ce93f66a2d266c4b979ee65cbad (patch) | |
tree | c798a644d08172303a04547298242d77dbef05b3 /composer | |
parent | af3c0ca93922eccab25da7e4b3ef6bf109c2ce80 (diff) | |
download | gsoc2013-evolution-6525d9ad47554ce93f66a2d266c4b979ee65cbad.tar.gz gsoc2013-evolution-6525d9ad47554ce93f66a2d266c4b979ee65cbad.tar.zst gsoc2013-evolution-6525d9ad47554ce93f66a2d266c4b979ee65cbad.zip |
Removed the extra frame here.
2000-07-09 Christopher James Lahey <clahey@helixcode.com>
* e-msg-composer-hdrs.c: Removed the extra frame here.
svn path=/trunk/; revision=4009
Diffstat (limited to 'composer')
-rw-r--r-- | composer/ChangeLog | 4 | ||||
-rw-r--r-- | composer/e-msg-composer-hdrs.c | 15 |
2 files changed, 5 insertions, 14 deletions
diff --git a/composer/ChangeLog b/composer/ChangeLog index faca377d51..adbd10f91c 100644 --- a/composer/ChangeLog +++ b/composer/ChangeLog @@ -1,3 +1,7 @@ +2000-07-09 Christopher James Lahey <clahey@helixcode.com> + + * e-msg-composer-hdrs.c: Removed the extra frame here. + 2000-07-08 Dan Winship <danw@helixcode.com> * e-msg-composer.c (create_menubar): Create an empty "Edit" menu diff --git a/composer/e-msg-composer-hdrs.c b/composer/e-msg-composer-hdrs.c index 0a29724d98..cffa8a763e 100644 --- a/composer/e-msg-composer-hdrs.c +++ b/composer/e-msg-composer-hdrs.c @@ -190,22 +190,9 @@ add_header (EMsgComposerHdrs *hdrs, entry = gtk_entry_new (); if (entry != NULL) { - GtkWidget *widget_to_attach; - - /* The entries we get from ::SelectNames don't have a frame. - FIXME: They should. */ - if (GTK_IS_ENTRY (entry)) { - widget_to_attach = entry; - } else { - widget_to_attach = gtk_frame_new (NULL); - gtk_frame_set_shadow_type (GTK_FRAME (widget_to_attach), GTK_SHADOW_IN); - gtk_container_add (GTK_CONTAINER (widget_to_attach), entry); - gtk_widget_show (widget_to_attach); - } - gtk_widget_show (entry); - gtk_table_attach (GTK_TABLE (hdrs), widget_to_attach, + gtk_table_attach (GTK_TABLE (hdrs), entry, 1, 2, priv->num_hdrs, priv->num_hdrs + 1, GTK_FILL | GTK_EXPAND, GTK_FILL, 2, 2); |