[balsa/gtk3] Reorganize window-showing
- From: Peter Bloomfield <PeterB src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [balsa/gtk3] Reorganize window-showing
- Date: Tue, 18 Jan 2011 00:16:24 +0000 (UTC)
commit b291285261bce1c5f78f0423f7d6dc9e05acd80c
Author: Peter Bloomfield <PeterBloomfield bellsouth net>
Date: Mon Jan 17 19:15:13 2011 -0500
Reorganize window-showing
* src/balsa-mime-widget-crypto.c
(balsa_mime_widget_signature_widget),
(balsa_mime_widget_crypto_frame): reorganize window-showing.
ChangeLog | 6 ++++++
src/balsa-mime-widget-crypto.c | 7 +------
2 files changed, 7 insertions(+), 6 deletions(-)
---
diff --git a/ChangeLog b/ChangeLog
index 957d5ec..63a430d 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,11 @@
2011-01-17 Peter Bloomfield
+ * src/balsa-mime-widget-crypto.c
+ (balsa_mime_widget_signature_widget),
+ (balsa_mime_widget_crypto_frame): reorganize window-showing.
+
+2011-01-17 Peter Bloomfield
+
* src/balsa-icons.c (balsa_register_pixbufs): new icon-render
API.
* src/balsa-mime-widget.c (balsa_mime_widget_new),
diff --git a/src/balsa-mime-widget-crypto.c b/src/balsa-mime-widget-crypto.c
index 7b54183..6874082 100644
--- a/src/balsa-mime-widget-crypto.c
+++ b/src/balsa-mime-widget-crypto.c
@@ -104,8 +104,6 @@ balsa_mime_widget_signature_widget(LibBalsaMessageBody * mime_body,
}
#endif /* HAVE_GPG */
- gtk_widget_show_all(vbox);
-
return vbox;
}
@@ -119,7 +117,7 @@ balsa_mime_widget_crypto_frame(LibBalsaMessageBody * mime_body, GtkWidget * chil
GtkWidget * icon_box;
const gchar * icon_name;
- frame = gtk_frame_new(NULL);
+ frame = gtk_frame_new(NULL);
vbox = gtk_vbox_new(FALSE, BMW_VBOX_SPACE);
gtk_container_add(GTK_CONTAINER(frame), vbox);
icon_box = gtk_hbox_new(FALSE, BMW_VBOX_SPACE);
@@ -136,14 +134,11 @@ balsa_mime_widget_crypto_frame(LibBalsaMessageBody * mime_body, GtkWidget * chil
FALSE, FALSE, 0);
gtk_frame_set_label_widget(GTK_FRAME(frame), icon_box);
gtk_container_set_border_width(GTK_CONTAINER(vbox), BMW_MESSAGE_PADDING);
- gtk_widget_show_all(frame);
gtk_box_pack_start(GTK_BOX(vbox), child, FALSE, FALSE, 0);
- gtk_widget_show(child);
if (signature) {
gtk_box_pack_end(GTK_BOX(vbox), signature, FALSE, FALSE, 0);
- gtk_widget_show(signature);
}
return frame;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]