aboutsummaryrefslogtreecommitdiffstats
path: root/mail/message-list.c
diff options
context:
space:
mode:
authorNot Zed <NotZed@Ximian.com>2004-01-20 08:17:56 +0800
committerMichael Zucci <zucchi@src.gnome.org>2004-01-20 08:17:56 +0800
commit96b112cb998fcf711eb3d0d3d66640a94607042f (patch)
tree873153ab51a1d5cc1d23ff335326e1c832a9768a /mail/message-list.c
parent1394828ccaf3f5d0b1cc5222de415c16d69614c3 (diff)
downloadgsoc2013-evolution-96b112cb998fcf711eb3d0d3d66640a94607042f.tar
gsoc2013-evolution-96b112cb998fcf711eb3d0d3d66640a94607042f.tar.gz
gsoc2013-evolution-96b112cb998fcf711eb3d0d3d66640a94607042f.tar.bz2
gsoc2013-evolution-96b112cb998fcf711eb3d0d3d66640a94607042f.tar.lz
gsoc2013-evolution-96b112cb998fcf711eb3d0d3d66640a94607042f.tar.xz
gsoc2013-evolution-96b112cb998fcf711eb3d0d3d66640a94607042f.tar.zst
gsoc2013-evolution-96b112cb998fcf711eb3d0d3d66640a94607042f.zip
** See bug #53028.
2004-01-20 Not Zed <NotZed@Ximian.com> ** See bug #53028. * message-list.c (on_selection_changed_cmd): emit the cursor_activated if more than 1 item is selected also. svn path=/trunk/; revision=24319
Diffstat (limited to 'mail/message-list.c')
-rw-r--r--mail/message-list.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/mail/message-list.c b/mail/message-list.c
index ebd072cdc3..c239f21cc5 100644
--- a/mail/message-list.c
+++ b/mail/message-list.c
@@ -2663,6 +2663,8 @@ on_selection_changed_cmd(ETree *tree, MessageList *ml)
{
GPtrArray *uids;
+ /* not sure if we could just ignore this for the cursor, i think sometimes you
+ only get a selection changed when you should also get a cursor activated? */
uids = message_list_get_selected(ml);
g_free(ml->cursor_uid);
if (uids->len == 1)
@@ -2670,7 +2672,7 @@ on_selection_changed_cmd(ETree *tree, MessageList *ml)
else
ml->cursor_uid = NULL;
- if (uids->len <= 1 && !ml->idle_id)
+ if (!ml->idle_id)
ml->idle_id = g_idle_add_full (G_PRIORITY_LOW, on_cursor_activated_idle, ml, NULL);
if (ml->priv->primary_uids) {