From 591b98e2192bb7f36ad1b5638acd2c225e13aac3 Mon Sep 17 00:00:00 2001 From: Not Zed Date: Mon, 17 May 2004 06:10:53 +0000 Subject: put the None item at the head of the providers list. 2004-05-17 Not Zed * 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 --- mail/message-list.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'mail/message-list.c') 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 { -- cgit v1.2.3