diff options
author | Not Zed <NotZed@Ximian.com> | 2004-01-20 08:17:56 +0800 |
---|---|---|
committer | Michael Zucci <zucchi@src.gnome.org> | 2004-01-20 08:17:56 +0800 |
commit | 96b112cb998fcf711eb3d0d3d66640a94607042f (patch) | |
tree | 873153ab51a1d5cc1d23ff335326e1c832a9768a | |
parent | 1394828ccaf3f5d0b1cc5222de415c16d69614c3 (diff) | |
download | gsoc2013-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
-rw-r--r-- | mail/ChangeLog | 7 | ||||
-rw-r--r-- | mail/message-list.c | 4 |
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) { |