diff options
author | Not Zed <NotZed@Ximian.com> | 2002-02-26 08:26:55 +0800 |
---|---|---|
committer | Michael Zucci <zucchi@src.gnome.org> | 2002-02-26 08:26:55 +0800 |
commit | b0a253e060442cad91f28458f868d64c98ac1817 (patch) | |
tree | 813159647f669cc8c9a06371ecc79a1bf482f046 /mail/mail-folder-cache.c | |
parent | 822bc5f1d92f2f0c481d84c2d40f6f1cf02a5e50 (diff) | |
download | gsoc2013-evolution-b0a253e060442cad91f28458f868d64c98ac1817.tar.gz gsoc2013-evolution-b0a253e060442cad91f28458f868d64c98ac1817.tar.zst gsoc2013-evolution-b0a253e060442cad91f28458f868d64c98ac1817.zip |
If a related part is requested, remove it from the related undisplayed
2002-02-26 Not Zed <NotZed@Ximian.com>
* mail-display.c (on_url_requested): If a related part is
requested, remove it from the related undisplayed list.
* mail-format.c (handle_multipart_related): Check if related parts
are displayed, if not, remove them. For #2741.
svn path=/trunk/; revision=15837
Diffstat (limited to 'mail/mail-folder-cache.c')
-rw-r--r-- | mail/mail-folder-cache.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/mail/mail-folder-cache.c b/mail/mail-folder-cache.c index 7cf21ca1da..c43a093a5a 100644 --- a/mail/mail-folder-cache.c +++ b/mail/mail-folder-cache.c @@ -46,7 +46,7 @@ #include "mail-vfolder.h" #include "mail-autofilter.h" -#define w(x) +#define w(x) #define d(x) /* note that many things are effectively serialised by having them run in @@ -302,6 +302,8 @@ update_1folder(struct _folder_info *mfi, CamelFolderInfo *info) } else if (info) unread = info->unread_message_count; + d(printf("folder updated: unread %d: '%s'\n", unread, mfi->full_name)); + if (unread == -1) return; @@ -354,7 +356,7 @@ setup_folder(CamelFolderInfo *fi, struct _store_info *si) static void create_folders(CamelFolderInfo *fi, struct _store_info *si) { - d(printf("Setup new folder: %s\n", fi->url)); + d(printf("Setup new folder: %s\n %s\n", fi->url, fi->full_name)); setup_folder(fi, si); |