aboutsummaryrefslogtreecommitdiffstats
path: root/composer/e-msg-composer-hdrs.c
diff options
context:
space:
mode:
authorChristopher James Lahey <clahey@helixcode.com>2000-07-09 20:35:16 +0800
committerChris Lahey <clahey@src.gnome.org>2000-07-09 20:35:16 +0800
commit6525d9ad47554ce93f66a2d266c4b979ee65cbad (patch)
treec798a644d08172303a04547298242d77dbef05b3 /composer/e-msg-composer-hdrs.c
parentaf3c0ca93922eccab25da7e4b3ef6bf109c2ce80 (diff)
downloadgsoc2013-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/e-msg-composer-hdrs.c')
-rw-r--r--composer/e-msg-composer-hdrs.c15
1 files changed, 1 insertions, 14 deletions
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);