diff options
author | Not Zed <NotZed@Ximian.com> | 2004-05-17 14:10:53 +0800 |
---|---|---|
committer | Michael Zucci <zucchi@src.gnome.org> | 2004-05-17 14:10:53 +0800 |
commit | 591b98e2192bb7f36ad1b5638acd2c225e13aac3 (patch) | |
tree | 65a7553860ce7737a1b0b4953f721ff53619d8d3 /mail/message-list.c | |
parent | f01f470467198a6a5ccc619dac508e8bf7c07d9e (diff) | |
download | gsoc2013-evolution-591b98e2192bb7f36ad1b5638acd2c225e13aac3.tar gsoc2013-evolution-591b98e2192bb7f36ad1b5638acd2c225e13aac3.tar.gz gsoc2013-evolution-591b98e2192bb7f36ad1b5638acd2c225e13aac3.tar.bz2 gsoc2013-evolution-591b98e2192bb7f36ad1b5638acd2c225e13aac3.tar.lz gsoc2013-evolution-591b98e2192bb7f36ad1b5638acd2c225e13aac3.tar.xz gsoc2013-evolution-591b98e2192bb7f36ad1b5638acd2c225e13aac3.tar.zst gsoc2013-evolution-591b98e2192bb7f36ad1b5638acd2c225e13aac3.zip |
put the None item at the head of the providers list.
2004-05-17 Not Zed <NotZed@Ximian.com>
* mail-account-gui.c (mail_account_gui_setup): put the None item
at the head of the providers list.
(mail_account_gui_setup): only set the transport default fallback
if it is not a STORE_AND_TRANSPORT type provider (since that was
just disabled). #57939.
* message-list.c (on_selection_changed_cmd): only NOOP if we have
no selection and no uid, if we have a selection and no uid, then
always update. Fixes #58267 without breaking the double-load
thing.
svn path=/trunk/; revision=25919
Diffstat (limited to 'mail/message-list.c')
-rw-r--r-- | mail/message-list.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/mail/message-list.c b/mail/message-list.c index 0fd105c14e..f488c8bf1a 100644 --- a/mail/message-list.c +++ b/mail/message-list.c @@ -2844,7 +2844,10 @@ on_selection_changed_cmd(ETree *tree, MessageList *ml) else newuid = NULL; - if ((newuid == NULL && ml->cursor_uid == NULL) + /* If the selection isn't empty, then we ignore the no-uid check, since this event + is also used for other updating. If it is empty, it might just be a setup event + from etree which we do need to ignore */ + if ((newuid == NULL && ml->cursor_uid == NULL && uids->len == 0) || (newuid != NULL && ml->cursor_uid != NULL && !strcmp(ml->cursor_uid, newuid))) { /* noop */ } else { |