[balsa/gtk3] Show the attached message



commit 81aaaa672ea4ab2b85619db9d772afa7a0dec787
Author: Peter Bloomfield <PeterBloomfield bellsouth net>
Date:   Tue Jan 11 10:28:59 2011 -0500

    Show the attached message
    
    	* src/balsa-mime-widget-message.c
    	(balsa_mime_widget_new_message): show the message.

 ChangeLog                       |    5 +++++
 src/balsa-mime-widget-message.c |    5 ++++-
 2 files changed, 9 insertions(+), 1 deletions(-)
---
diff --git a/ChangeLog b/ChangeLog
index d2124e7..3b6b868 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2011-01-11  Peter Bloomfield
+
+	* src/balsa-mime-widget-message.c
+	(balsa_mime_widget_new_message): show the message.
+
 2011-01-09  Peter Bloomfield
 
 	* configure.in: do not configure Bonobo/Corba; do not check
diff --git a/src/balsa-mime-widget-message.c b/src/balsa-mime-widget-message.c
index 193560f..218e2ee 100644
--- a/src/balsa-mime-widget-message.c
+++ b/src/balsa-mime-widget-message.c
@@ -119,6 +119,8 @@ balsa_mime_widget_new_message(BalsaMessage * bm,
 	    break;
 	}
 	g_free(access_type);
+        if (mw)
+            gtk_widget_show_all(mw->widget);
     } else if (!g_ascii_strcasecmp("message/rfc822", content_type)) {
 	GtkWidget *emb_hdrs;
 
@@ -130,10 +132,11 @@ balsa_mime_widget_new_message(BalsaMessage * bm,
 	gtk_container_set_border_width(GTK_CONTAINER(mw->container),
 				       BMW_MESSAGE_PADDING);
 	gtk_container_add(GTK_CONTAINER(mw->widget), mw->container);
+        gtk_widget_show(mw->container);
 
         mw->header_widget = emb_hdrs = bm_header_widget_new(bm, NULL);
 	gtk_box_pack_start(GTK_BOX(mw->container), emb_hdrs, FALSE, FALSE, 0);
-	
+
 	balsa_mime_widget_message_set_headers(bm, mw, mime_body);
     }
 



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]