aboutsummaryrefslogtreecommitdiffstats
path: root/mail
diff options
context:
space:
mode:
authorNot Zed <NotZed@Ximian.com>2004-09-08 12:14:34 +0800
committerMichael Zucci <zucchi@src.gnome.org>2004-09-08 12:14:34 +0800
commit16d40ef28806150e188957dedee2613512dacfcb (patch)
tree20f0258d2a58d1c552e327032df252bb26d5c273 /mail
parentf28eb2be4e77d749ee72c69c2bdcfc510741fe9b (diff)
downloadgsoc2013-evolution-16d40ef28806150e188957dedee2613512dacfcb.tar
gsoc2013-evolution-16d40ef28806150e188957dedee2613512dacfcb.tar.gz
gsoc2013-evolution-16d40ef28806150e188957dedee2613512dacfcb.tar.bz2
gsoc2013-evolution-16d40ef28806150e188957dedee2613512dacfcb.tar.lz
gsoc2013-evolution-16d40ef28806150e188957dedee2613512dacfcb.tar.xz
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')
-rw-r--r--mail/ChangeLog8
-rw-r--r--mail/mail-config.c6
2 files changed, 13 insertions, 1 deletions
diff --git a/mail/ChangeLog b/mail/ChangeLog
index a78eba3bd6..8a6d7036eb 100644
--- a/mail/ChangeLog
+++ b/mail/ChangeLog
@@ -1,3 +1,11 @@
+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.
+
2004-09-03 Jeffrey Stedfast <fejj@novell.com>
* mail-config.glade: Revert the use of gtkfilechooser for Path
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..."));