aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--mail/ChangeLog7
-rw-r--r--mail/message-list.c4
2 files changed, 10 insertions, 1 deletions
diff --git a/mail/ChangeLog b/mail/ChangeLog
index a64d41cde4..df187b024f 100644
--- a/mail/ChangeLog
+++ b/mail/ChangeLog
@@ -1,5 +1,12 @@
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.
+
+2004-01-20 Not Zed <NotZed@Ximian.com>
+
** See bug #52990.
* mail-component.c (mail_component_init): re-enable auto-send-recv
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) {