[balsa/gtk3] Put digital signature info in a GtkExpander
- From: Peter Bloomfield <peterb src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [balsa/gtk3] Put digital signature info in a GtkExpander
- Date: Sun, 29 Mar 2015 00:54:53 +0000 (UTC)
commit a1d180ecc2188e10343f7673cbf5030cc0ff78a3
Author: Peter Bloomfield <PeterBloomfield bellsouth net>
Date: Sat Mar 28 20:53:57 2015 -0400
Put digital signature info in a GtkExpander
* src/balsa-mime-widget-crypto.c
(balsa_mime_widget_signature_widget): put digital signature info
in a GtkExpander.
ChangeLog | 6 ++++++
src/balsa-mime-widget-crypto.c | 6 +++++-
2 files changed, 11 insertions(+), 1 deletions(-)
---
diff --git a/ChangeLog b/ChangeLog
index c195771..2de33a1 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+2015-03-28 Peter Bloomfield <pbloomfield bellsouth net>
+
+ * src/balsa-mime-widget-crypto.c
+ (balsa_mime_widget_signature_widget): put digital signature info
+ in a GtkExpander.
+
2015-03-27 Peter Bloomfield <pbloomfield bellsouth net>
* src/balsa-message.c: do not crash when current part is changed
diff --git a/src/balsa-mime-widget-crypto.c b/src/balsa-mime-widget-crypto.c
index 719ca63..88da682 100644
--- a/src/balsa-mime-widget-crypto.c
+++ b/src/balsa-mime-widget-crypto.c
@@ -61,6 +61,7 @@ balsa_mime_widget_signature_widget(LibBalsaMessageBody * mime_body,
{
gchar *infostr;
GtkWidget *vbox, *label;
+ GtkWidget *expander;
if (!mime_body->sig_info ||
mime_body->sig_info->status == GPG_ERR_NOT_SIGNED)
@@ -108,7 +109,10 @@ balsa_mime_widget_signature_widget(LibBalsaMessageBody * mime_body,
}
#endif /* HAVE_GPG */
- return vbox;
+ expander = gtk_expander_new(_("Digital Signature"));
+ gtk_container_add(GTK_CONTAINER(expander), vbox);
+
+ return expander;
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]