diff options
author | Not Zed <NotZed@Ximian.com> | 2003-04-07 09:45:08 +0800 |
---|---|---|
committer | Michael Zucci <zucchi@src.gnome.org> | 2003-04-07 09:45:08 +0800 |
commit | 1ade970722a1bb0608f0282f38df3c1efd3db4b6 (patch) | |
tree | 5ddfabae643a3ef7ccbfa6e28f6ce4702d6eeb36 /mail/mail-send-recv.c | |
parent | cc0748768a7f1115590d627a92337fe657158bab (diff) | |
download | gsoc2013-evolution-1ade970722a1bb0608f0282f38df3c1efd3db4b6.tar.gz gsoc2013-evolution-1ade970722a1bb0608f0282f38df3c1efd3db4b6.tar.zst gsoc2013-evolution-1ade970722a1bb0608f0282f38df3c1efd3db4b6.zip |
** Bug 40536
2003-04-03 Not Zed <NotZed@Ximian.com>
** Bug 40536
* component-factory.c (send_receive_cb): run the warning dialogue
asynchronously. Also, set the mail send/receive dialogue to
transient for parent.
* mail-send-recv.c (mail_send_receive): return the dialogue for
send/receive.
svn path=/trunk/; revision=20691
Diffstat (limited to 'mail/mail-send-recv.c')
-rw-r--r-- | mail/mail-send-recv.c | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/mail/mail-send-recv.c b/mail/mail-send-recv.c index b64064a8f8..7e13f99f51 100644 --- a/mail/mail-send-recv.c +++ b/mail/mail-send-recv.c @@ -669,7 +669,7 @@ receive_update_got_store (char *uri, CamelStore *store, void *data) } } -void mail_send_receive (void) +GtkWidget *mail_send_receive (void) { extern CamelFolder *outbox_folder; struct _send_data *data; @@ -682,15 +682,15 @@ void mail_send_receive (void) gdk_window_show(send_recv_dialogue->window); gdk_window_raise(send_recv_dialogue->window); } - return; + return send_recv_dialogue; } if (!camel_session_is_online (session)) - return; + return send_recv_dialogue; account = mail_config_get_default_account (); if (!account || !account->transport->url) - return; + return send_recv_dialogue; accounts = mail_config_get_accounts (); @@ -726,6 +726,8 @@ void mail_send_receive (void) } scan = scan->next; } + + return send_recv_dialogue; } struct _auto_data { |