[balsa] Set the parent right for a GPG dialog.



commit f89d90d7e52a06d64a79ee0add9f75674f9a2b24
Author: Pawel Salek <pawsa0 gmail com>
Date:   Thu Mar 4 21:44:37 2010 +0100

    Set the parent right for a GPG dialog.

 ChangeLog                      |    4 ++++
 libbalsa/imap/imap-handle.h    |    2 +-
 src/balsa-mime-widget-crypto.c |    3 ++-
 3 files changed, 7 insertions(+), 2 deletions(-)
---
diff --git a/ChangeLog b/ChangeLog
index c48791e..cd37a43 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+2010-03-04  Pawel Salek
+
+	* src/balsa-mime-widget-crypto.c: set the parent right.
+
 2010-03-03  Albrecht DreÃ?
 
 	* libbalsa/misc.[hc]:
diff --git a/libbalsa/imap/imap-handle.h b/libbalsa/imap/imap-handle.h
index 340ce73..692c170 100644
--- a/libbalsa/imap/imap-handle.h
+++ b/libbalsa/imap/imap-handle.h
@@ -62,7 +62,7 @@ typedef enum
   IMCAP_ACRAM_MD5,		/* RFC 2195: CRAM-MD5 authentication */
   IMCAP_AGSSAPI,		/* RFC 1731: GSSAPI authentication */
   IMCAP_APLAIN,                 /* RFC 2595: */
-  IMCAP_ACL,			/* RFC 2086: IMAP4 ACL extension */
+  IMCAP_ACL,			/* RFC 4314: IMAP4 ACL extension */
   IMCAP_BINARY,                 /* RFC 3516 */
   IMCAP_CHILDREN,               /* RFC 3348 */
   IMCAP_COMPRESS_DEFLATE,       /* RFC 4978 */
diff --git a/src/balsa-mime-widget-crypto.c b/src/balsa-mime-widget-crypto.c
index 211c0a6..8d2aa34 100644
--- a/src/balsa-mime-widget-crypto.c
+++ b/src/balsa-mime-widget-crypto.c
@@ -174,7 +174,8 @@ on_gpg_key_button(GtkButton * button, const gchar * fingerprint)
     gpg_keyserver_action_t action =
         GPOINTER_TO_INT(g_object_get_data(G_OBJECT(button), "gpg-keyserver-op"));
 
-    gpg_keyserver_op(fingerprint, action, GTK_WINDOW(balsa_app.main_window));
+    gpg_keyserver_op(fingerprint, action,
+                     balsa_get_parent_window(GTK_WIDGET(button)));
 }
 #endif /* HAVE_GPG */
 



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