diff options
Diffstat (limited to 'mail')
-rw-r--r-- | mail/ChangeLog | 16 | ||||
-rw-r--r-- | mail/folder-info.c | 8 | ||||
-rw-r--r-- | mail/mail-config.c | 8 | ||||
-rw-r--r-- | mail/mail-ops.c | 16 | ||||
-rw-r--r-- | mail/message-list.c | 9 |
5 files changed, 52 insertions, 5 deletions
diff --git a/mail/ChangeLog b/mail/ChangeLog index f736e86c4a..5ce782ad89 100644 --- a/mail/ChangeLog +++ b/mail/ChangeLog @@ -1,3 +1,19 @@ +2001-08-02 Jon Trowbridge <trow@ximian.com> + + * mail-ops.c (filter_folder_describe): Added. Provide + description for filter_folder_op. + (fetch_mail_describe): Added. Provide description for + fetch_mail_op. + + * message-list.c (regen_list_describe): Added. Provide + description for regen_list_op. + + * mail-config.c (check_service_describe): Added. Provide + description for check_service_op. + + * folder-info.c (do_describe_info): Added. Provide description + for get_info_op. + 2001-08-02 Larry Ewing <lewing@ximian.com> * mail-send-recv.c (format_url): handle null paths in the dialog diff --git a/mail/folder-info.c b/mail/folder-info.c index ab823cadb3..c34d21efd4 100644 --- a/mail/folder-info.c +++ b/mail/folder-info.c @@ -54,6 +54,12 @@ struct _folder_info_msg { static GtkType evolution_folder_info_get_type (void); +static char * +do_describe_info (struct _mail_msg *mm, gint complete) +{ + return g_strdup (_("Getting Folder Information")); +} + static void do_get_info (struct _mail_msg *mm) { @@ -148,7 +154,7 @@ do_free_info (struct _mail_msg *mm) } struct _mail_msg_op get_info_op = { - NULL, + do_describe_info, do_get_info, do_got_info, do_free_info, diff --git a/mail/mail-config.c b/mail/mail-config.c index c14826353e..146fa20de2 100644 --- a/mail/mail-config.c +++ b/mail/mail-config.c @@ -1516,6 +1516,12 @@ struct _check_msg { gboolean *success; }; +static char * +check_service_describe (struct _mail_msg *mm, int complete) +{ + return g_strdup (_("Checking Service")); +} + static void check_service_check (struct _mail_msg *mm) { @@ -1542,7 +1548,7 @@ check_service_check (struct _mail_msg *mm) } static struct _mail_msg_op check_service_op = { - NULL, + check_service_describe, check_service_check, NULL, NULL 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, diff --git a/mail/message-list.c b/mail/message-list.c index 581452e99c..e1abf688d7 100644 --- a/mail/message-list.c +++ b/mail/message-list.c @@ -2278,6 +2278,13 @@ struct _regen_list_msg { use vfolder to implement searches ??? */ + +static char * +regen_list_describe (struct _mail_msg *mm, gint complete) +{ + return g_strdup (_("Generating message list")); +} + static void regen_list_regen (struct _mail_msg *mm) { @@ -2452,7 +2459,7 @@ regen_list_free (struct _mail_msg *mm) } static struct _mail_msg_op regen_list_op = { - NULL, + regen_list_describe, regen_list_regen, regen_list_regened, regen_list_free, |