diff options
author | Not Zed <NotZed@Ximian.com> | 2004-11-12 13:54:07 +0800 |
---|---|---|
committer | Michael Zucci <zucchi@src.gnome.org> | 2004-11-12 13:54:07 +0800 |
commit | d25f16e9ea91dc50cc8477576c6a7def086d34c7 (patch) | |
tree | afd1003f6acc2573c505d25b74d3e1f3c8b1691c /mail/em-popup.c | |
parent | 8e212824134c1740d05fb36799f78716c5059801 (diff) | |
download | gsoc2013-evolution-d25f16e9ea91dc50cc8477576c6a7def086d34c7.tar.gz gsoc2013-evolution-d25f16e9ea91dc50cc8477576c6a7def086d34c7.tar.zst gsoc2013-evolution-d25f16e9ea91dc50cc8477576c6a7def086d34c7.zip |
** Merge in notzed-messageinfo-branch.
2004-11-12 Not Zed <NotZed@Ximian.com>
** Merge in notzed-messageinfo-branch.
svn path=/trunk/; revision=27899
Diffstat (limited to 'mail/em-popup.c')
-rw-r--r-- | mail/em-popup.c | 14 |
1 files changed, 8 insertions, 6 deletions
diff --git a/mail/em-popup.c b/mail/em-popup.c index 5d7017aa75..7ecc258417 100644 --- a/mail/em-popup.c +++ b/mail/em-popup.c @@ -206,34 +206,36 @@ em_popup_target_new_select(EMPopup *emp, struct _CamelFolder *folder, const char for (i = 0; i < uids->len; i++) { CamelMessageInfo *info = camel_folder_get_message_info(folder, uids->pdata[i]); + guint32 flags; if (info == NULL) continue; - if (info->flags & CAMEL_MESSAGE_SEEN) + flags = camel_message_info_flags(info); + if (flags & CAMEL_MESSAGE_SEEN) mask &= ~EM_POPUP_SELECT_MARK_UNREAD; else mask &= ~EM_POPUP_SELECT_MARK_READ; - if (info->flags & CAMEL_MESSAGE_DELETED) + if (flags & CAMEL_MESSAGE_DELETED) mask &= ~EM_POPUP_SELECT_UNDELETE; else mask &= ~EM_POPUP_SELECT_DELETE; - if (info->flags & CAMEL_MESSAGE_FLAGGED) + if (flags & CAMEL_MESSAGE_FLAGGED) mask &= ~EM_POPUP_SELECT_MARK_UNIMPORTANT; else mask &= ~EM_POPUP_SELECT_MARK_IMPORTANT; - if (info->flags & CAMEL_MESSAGE_JUNK) + if (flags & CAMEL_MESSAGE_JUNK) mask &= ~EM_POPUP_SELECT_MARK_NOJUNK; else mask &= ~EM_POPUP_SELECT_MARK_JUNK; - tmp = camel_tag_get (&info->user_tags, "follow-up"); + tmp = camel_message_info_user_tag(info, "follow-up"); if (tmp && *tmp) { mask &= ~EM_POPUP_SELECT_FLAG_CLEAR; - tmp = camel_tag_get(&info->user_tags, "completed-on"); + tmp = camel_message_info_user_tag(info, "completed-on"); if (tmp == NULL || *tmp == 0) mask &= ~EM_POPUP_SELECT_FLAG_COMPLETED; } else |