[balsa] Use Balsa's main window as parent of a dialog



commit de7cb1d0f93b3ed7e0bc5cdee8f52f69415e6f89
Author: Peter Bloomfield <PeterBloomfield bellsouth net>
Date:   Sat May 27 14:05:17 2017 -0400

    Use Balsa's main window as parent of a dialog
    
        * src/sendmsg-window.c (send_message_handler): use
          balsa_app.main_window as the parent for the sending progress
          dialog, to allow the compose window to close before sending is
          finished.

 ChangeLog            |    9 +++++++++
 src/sendmsg-window.c |    2 +-
 2 files changed, 10 insertions(+), 1 deletions(-)
---
diff --git a/ChangeLog b/ChangeLog
index 0b1a301..be74c89 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,14 @@
 2017-05-27  Peter Bloomfield  <pbloomfield bellsouth net>
 
+       Use Balsa's main window as parent of a dialog
+
+       * src/sendmsg-window.c (send_message_handler): use
+         balsa_app.main_window as the parent for the sending progress
+         dialog, to allow the compose window to close before sending is
+         finished.
+
+2017-05-27  Peter Bloomfield  <pbloomfield bellsouth net>
+
        After a transient error, leave messages ready to resend
 
        * libbalsa/send.c (balsa_send_message_real): clear FLAGGED flag
diff --git a/src/sendmsg-window.c b/src/sendmsg-window.c
index 748d685..8a139d8 100644
--- a/src/sendmsg-window.c
+++ b/src/sendmsg-window.c
@@ -5255,7 +5255,7 @@ send_message_handler(BalsaSendmsg * bsmsg, gboolean queue_only)
         result = libbalsa_message_send(message, balsa_app.outbox, fcc,
                                        balsa_find_sentbox_by_url,
                                       bsmsg->ident->smtp_server,
-                                       GTK_WINDOW(bsmsg->window),
+                                       GTK_WINDOW(balsa_app.main_window),
                                        bsmsg->flow, &error);
     if (result == LIBBALSA_MESSAGE_CREATE_OK) {
        if (bsmsg->parent_message && bsmsg->parent_message->mailbox


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