aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--mail/ChangeLog4
-rw-r--r--mail/message-list.c2
2 files changed, 5 insertions, 1 deletions
diff --git a/mail/ChangeLog b/mail/ChangeLog
index 198564db72..5208c99006 100644
--- a/mail/ChangeLog
+++ b/mail/ChangeLog
@@ -1,3 +1,7 @@
+2003-06-23 Dan Winship <danw@ximian.com>
+
+ * message-list.c (on_selection_changed_cmd): Save the idle_id
+
2003-06-23 Larry Ewing <lewing@ximian.com>
* folder-browser.c (do_message_selected): make sure not to strcmp
diff --git a/mail/message-list.c b/mail/message-list.c
index 8720de0820..6ac4acab9a 100644
--- a/mail/message-list.c
+++ b/mail/message-list.c
@@ -2285,7 +2285,7 @@ on_selection_changed_cmd(ETree *tree, MessageList *ml)
e_tree_selected_path_foreach(ml->tree, (ETreeForeachFunc)get_selected_cb, ml);
if ((selected == 1 || selected == 0) && !ml->idle_id)
- g_idle_add_full (G_PRIORITY_LOW, on_cursor_activated_idle, ml, NULL);
+ ml->idle_id = g_idle_add_full (G_PRIORITY_LOW, on_cursor_activated_idle, ml, NULL);
}
static gint