aboutsummaryrefslogtreecommitdiffstats
path: root/mail/mail-ops.c
diff options
context:
space:
mode:
Diffstat (limited to 'mail/mail-ops.c')
-rw-r--r--mail/mail-ops.c16
1 files changed, 14 insertions, 2 deletions
diff --git a/mail/mail-ops.c b/mail/mail-ops.c
index 04b7953630..0a3ea46293 100644
--- a/mail/mail-ops.c
+++ b/mail/mail-ops.c
@@ -78,6 +78,12 @@ struct _fetch_mail_msg {
void *data;
};
+static char *
+filter_folder_describe (struct _mail_msg *mm, int complete)
+{
+ return g_strdup (_("Filtering Folder"));
+}
+
/* filter a folder, or a subset thereof, uses source_folder/source_uids */
/* this is shared with fetch_mail */
static void
@@ -159,7 +165,7 @@ filter_folder_free(struct _mail_msg *mm)
}
static struct _mail_msg_op filter_folder_op = {
- NULL, /* we do our own progress reporting? */
+ filter_folder_describe, /* we do our own progress reporting? */
filter_folder_filter,
filter_folder_filtered,
filter_folder_free,
@@ -215,6 +221,12 @@ uid_cachename_hack (CamelStore *store)
return filename;
}
+static char *
+fetch_mail_describe (struct _mail_msg *mm)
+{
+ return g_strdup (_("Fetching Mail"));
+}
+
static void
fetch_mail_fetch (struct _mail_msg *mm)
{
@@ -335,7 +347,7 @@ fetch_mail_free (struct _mail_msg *mm)
}
static struct _mail_msg_op fetch_mail_op = {
- NULL, /* we do our own progress reporting */
+ fetch_mail_describe, /* we do our own progress reporting */
fetch_mail_fetch,
fetch_mail_fetched,
fetch_mail_free,