aboutsummaryrefslogtreecommitdiffstats
path: root/mail/mail-vfolder.c
diff options
context:
space:
mode:
authorNot Zed <NotZed@Ximian.com>2004-06-18 16:57:50 +0800
committerMichael Zucci <zucchi@src.gnome.org>2004-06-18 16:57:50 +0800
commitaf2b5dd152cd54daaf21533b98a704744cbc9265 (patch)
treea2dc371b03002de04097e6b364085168bd050a25 /mail/mail-vfolder.c
parent9eec91e7be4cd60778e3e624ab60d17721d4050a (diff)
downloadgsoc2013-evolution-af2b5dd152cd54daaf21533b98a704744cbc9265.tar.gz
gsoc2013-evolution-af2b5dd152cd54daaf21533b98a704744cbc9265.tar.zst
gsoc2013-evolution-af2b5dd152cd54daaf21533b98a704744cbc9265.zip
** See #31027.
2004-06-18 Not Zed <NotZed@Ximian.com> ** See #31027. * em-vfolder-editor.c (em_vfolder_editor_new): make sure we construct the rule editor with a source of 'incoming', otherwise newly created rules have no source in the current session. * em-vfolder-rule.c (em_vfolder_rule_init): init the vfolder source to 'incoming' always. * mail-vfolder.c (uri_is_ignore): fix debug statement. svn path=/trunk/; revision=26415
Diffstat (limited to 'mail/mail-vfolder.c')
-rw-r--r--mail/mail-vfolder.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/mail/mail-vfolder.c b/mail/mail-vfolder.c
index c8ed01a9eb..07a2a85128 100644
--- a/mail/mail-vfolder.c
+++ b/mail/mail-vfolder.c
@@ -342,7 +342,10 @@ uri_is_ignore(const char *uri, GCompareFunc uri_cmp)
EIterator *iter;
int found = FALSE;
- d(printf("checking '%s' against:\n %s\n %s\n %s\n", uri, default_outbox_folder_uri, default_sent_folder_uri, default_drafts_folder_uri));
+ d(printf("checking '%s' against:\n %s\n %s\n %s\n", uri,
+ mail_component_get_folder_uri(NULL, MAIL_COMPONENT_FOLDER_OUTBOX),
+ mail_component_get_folder_uri(NULL, MAIL_COMPONENT_FOLDER_SENT),
+ mail_component_get_folder_uri(NULL, MAIL_COMPONENT_FOLDER_DRAFTS)));
found = uri_cmp(mail_component_get_folder_uri(NULL, MAIL_COMPONENT_FOLDER_OUTBOX), uri)
|| uri_cmp(mail_component_get_folder_uri(NULL, MAIL_COMPONENT_FOLDER_SENT), uri)