aboutsummaryrefslogtreecommitdiffstats
path: root/mail
diff options
context:
space:
mode:
authorDan Winship <danw@src.gnome.org>2003-06-24 04:26:10 +0800
committerDan Winship <danw@src.gnome.org>2003-06-24 04:26:10 +0800
commit796730a1a1f5b1221971360f95b57b69ef8699d2 (patch)
tree83619f56b466cf83351e8bd6da0e897f7af9f638 /mail
parent2bebec36f0c05956ca41e4ec5889f19081b52408 (diff)
downloadgsoc2013-evolution-796730a1a1f5b1221971360f95b57b69ef8699d2.tar
gsoc2013-evolution-796730a1a1f5b1221971360f95b57b69ef8699d2.tar.gz
gsoc2013-evolution-796730a1a1f5b1221971360f95b57b69ef8699d2.tar.bz2
gsoc2013-evolution-796730a1a1f5b1221971360f95b57b69ef8699d2.tar.lz
gsoc2013-evolution-796730a1a1f5b1221971360f95b57b69ef8699d2.tar.xz
gsoc2013-evolution-796730a1a1f5b1221971360f95b57b69ef8699d2.tar.zst
gsoc2013-evolution-796730a1a1f5b1221971360f95b57b69ef8699d2.zip
Save the idle_id
* message-list.c (on_selection_changed_cmd): Save the idle_id svn path=/trunk/; revision=21517
Diffstat (limited to 'mail')
-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