aboutsummaryrefslogtreecommitdiffstats
path: root/mail/mail-threads.c
diff options
context:
space:
mode:
authorEttore Perazzoli <ettore@src.gnome.org>2000-12-15 03:12:58 +0800
committerEttore Perazzoli <ettore@src.gnome.org>2000-12-15 03:12:58 +0800
commit302ed285925f1e321def275329aa5283b02239ba (patch)
tree3d92c5a51c862444f199a042f79e5a1c4975c24c /mail/mail-threads.c
parent37a6a1330714dc2b5dadb5661caf939b23416772 (diff)
downloadgsoc2013-evolution-302ed285925f1e321def275329aa5283b02239ba.tar
gsoc2013-evolution-302ed285925f1e321def275329aa5283b02239ba.tar.gz
gsoc2013-evolution-302ed285925f1e321def275329aa5283b02239ba.tar.bz2
gsoc2013-evolution-302ed285925f1e321def275329aa5283b02239ba.tar.lz
gsoc2013-evolution-302ed285925f1e321def275329aa5283b02239ba.tar.xz
gsoc2013-evolution-302ed285925f1e321def275329aa5283b02239ba.tar.zst
gsoc2013-evolution-302ed285925f1e321def275329aa5283b02239ba.zip
Fix a slight race condition that could cause the busy indicator not to
go off after switching folder views. svn path=/trunk/; revision=7021
Diffstat (limited to 'mail/mail-threads.c')
-rw-r--r--mail/mail-threads.c15
1 files changed, 8 insertions, 7 deletions
diff --git a/mail/mail-threads.c b/mail/mail-threads.c
index 4ded984dd4..1e33be693c 100644
--- a/mail/mail-threads.c
+++ b/mail/mail-threads.c
@@ -174,6 +174,7 @@ static gboolean busy = FALSE;
**/
static void ui_set_busy (void);
+
static void ui_unset_busy (void);
static void ui_set_message (const char *message);
static void ui_unset_message (void);
@@ -741,8 +742,8 @@ read_msg (GIOChannel * source, GIOCondition condition, gpointer userdata)
switch (msg->type) {
case STARTING:
DEBUG (("*** Message -- STARTING %s\n", msg->message));
- ui_set_message (msg->message);
ui_set_busy ();
+ ui_set_message (msg->message);
g_free (msg->message);
break;
#if 0
@@ -1105,14 +1106,14 @@ update_active_views (void)
} else {
if (current_message == NULL)
GNOME_Evolution_ShellView_setMessage (shell_view_interface,
- "",
- busy,
- &ev);
+ "",
+ busy,
+ &ev);
else
GNOME_Evolution_ShellView_setMessage (shell_view_interface,
- current_message,
- busy,
- &ev);
+ current_message,
+ busy,
+ &ev);
}
}