From 796730a1a1f5b1221971360f95b57b69ef8699d2 Mon Sep 17 00:00:00 2001 From: Dan Winship Date: Mon, 23 Jun 2003 20:26:10 +0000 Subject: Save the idle_id * message-list.c (on_selection_changed_cmd): Save the idle_id svn path=/trunk/; revision=21517 --- mail/ChangeLog | 4 ++++ mail/message-list.c | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) 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 + + * message-list.c (on_selection_changed_cmd): Save the idle_id + 2003-06-23 Larry Ewing * 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 -- cgit v1.2.3