diff options
author | Peter Williams <peterw@src.gnome.org> | 2000-08-15 00:31:43 +0800 |
---|---|---|
committer | Peter Williams <peterw@src.gnome.org> | 2000-08-15 00:31:43 +0800 |
commit | a22313c0a44338909cb84ca2b262d8b8217d65bc (patch) | |
tree | ef64629fe4eed01677770458314d17ea55ce630b /mail/mail-threads.c | |
parent | 377513db1f7bbe49122a981bce1efb7295e09094 (diff) | |
download | gsoc2013-evolution-a22313c0a44338909cb84ca2b262d8b8217d65bc.tar.gz gsoc2013-evolution-a22313c0a44338909cb84ca2b262d8b8217d65bc.tar.zst gsoc2013-evolution-a22313c0a44338909cb84ca2b262d8b8217d65bc.zip |
Fix the error dialogs.
svn path=/trunk/; revision=4837
Diffstat (limited to 'mail/mail-threads.c')
-rw-r--r-- | mail/mail-threads.c | 11 |
1 files changed, 8 insertions, 3 deletions
diff --git a/mail/mail-threads.c b/mail/mail-threads.c index 8df6d3f5e0..5d1b56975c 100644 --- a/mail/mail-threads.c +++ b/mail/mail-threads.c @@ -716,7 +716,7 @@ read_msg (GIOChannel * source, GIOCondition condition, gpointer userdata) case ERROR: DEBUG (("*** Message -- ERROR\n")); - /* show_error (msg); */ + show_error (msg); break; /* Don't fall through; dispatch_func does the FINISHED @@ -806,9 +806,14 @@ show_error (com_msg_t * msg) /* Show the dialog. */ - GDK_THREADS_ENTER (); + /* Do not GDK_THREADS_ENTER; we're inside the read_msg + * handler which takes care of this for us. Oh, if + * only GDK_THREADS_ENTER were recursive... + */ + + /*GDK_THREADS_ENTER ();*/ gnome_dialog_run_and_close (GNOME_DIALOG (err_dialog)); - GDK_THREADS_LEAVE (); + /*GDK_THREADS_LEAVE ();*/ /* Allow the other thread to proceed */ |