diff options
author | Not Zed <NotZed@Ximian.com> | 2004-09-08 12:14:34 +0800 |
---|---|---|
committer | Michael Zucci <zucchi@src.gnome.org> | 2004-09-08 12:14:34 +0800 |
commit | 16d40ef28806150e188957dedee2613512dacfcb (patch) | |
tree | 20f0258d2a58d1c552e327032df252bb26d5c273 /mail/mail-config.c | |
parent | f28eb2be4e77d749ee72c69c2bdcfc510741fe9b (diff) | |
download | gsoc2013-evolution-16d40ef28806150e188957dedee2613512dacfcb.tar.gz gsoc2013-evolution-16d40ef28806150e188957dedee2613512dacfcb.tar.zst gsoc2013-evolution-16d40ef28806150e188957dedee2613512dacfcb.zip |
** See bug #59717.
2004-09-03 Not Zed <NotZed@Ximian.com>
** See bug #59717.
* mail-config.c (mail_config_check_service): Make the dialog
modal. Not ideal but a problem with the way the function works,
it should be fully async instead.
svn path=/trunk/; revision=27181
Diffstat (limited to 'mail/mail-config.c')
-rw-r--r-- | mail/mail-config.c | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/mail/mail-config.c b/mail/mail-config.c index 7e761e319a..c16113d4ab 100644 --- a/mail/mail-config.c +++ b/mail/mail-config.c @@ -970,8 +970,12 @@ mail_config_check_service (const char *url, CamelProviderType type, GList **auth id = m->msg.seq; e_thread_put(mail_thread_new, (EMsg *)m); + /* FIXME: make this use e-error. + * It has to be modal otherwise we can get nasty re-entrancy whilst waiting for the + * subthread to complete. + * FIXME: make this whole function async to deal with this issue */ dialog = gtk_dialog_new_with_buttons(_("Connecting to server..."), window, - GTK_DIALOG_DESTROY_WITH_PARENT, + GTK_DIALOG_DESTROY_WITH_PARENT|GTK_DIALOG_MODAL, GTK_STOCK_CANCEL, GTK_RESPONSE_CANCEL, NULL); label = gtk_label_new (_("Connecting to server...")); |