diff options
author | Not Zed <NotZed@Ximian.com> | 2004-09-24 11:06:15 +0800 |
---|---|---|
committer | Michael Zucci <zucchi@src.gnome.org> | 2004-09-24 11:06:15 +0800 |
commit | 71dab312c14e17ea8c9125b56a82db016fff527c (patch) | |
tree | b0415da93edd5aa3a7c167910eb014c8e919851f /mail/em-folder-tree.c | |
parent | 8759ffeca078686662c9be8678ddc8f497f7dfff (diff) | |
download | gsoc2013-evolution-71dab312c14e17ea8c9125b56a82db016fff527c.tar.gz gsoc2013-evolution-71dab312c14e17ea8c9125b56a82db016fff527c.tar.zst gsoc2013-evolution-71dab312c14e17ea8c9125b56a82db016fff527c.zip |
describe the get-folder process. This also makes it cancellable.
2004-09-23 Not Zed <NotZed@Ximian.com>
* em-folder-tree.c (emft_get_folder_info__desc): describe the
get-folder process. This also makes it cancellable.
** See bug #64972.
* em-composer-utils.c (em_utils_reply_to_message): pass the folder
to guess_account.
svn path=/trunk/; revision=27354
Diffstat (limited to 'mail/em-folder-tree.c')
-rw-r--r-- | mail/em-folder-tree.c | 14 |
1 files changed, 13 insertions, 1 deletions
diff --git a/mail/em-folder-tree.c b/mail/em-folder-tree.c index 5c8c384af8..c516a53735 100644 --- a/mail/em-folder-tree.c +++ b/mail/em-folder-tree.c @@ -1708,6 +1708,18 @@ struct _EMFolderTreeGetFolderInfo { CamelFolderInfo *fi; }; +static char * +emft_get_folder_info__desc(struct _mail_msg *mm, int done) +{ + struct _EMFolderTreeGetFolderInfo *m = (struct _get_folderinfo_msg *)mm; + char *ret, *name; + + name = camel_service_get_name((CamelService *)m->store, TRUE); + ret = g_strdup_printf(_("Scanning folders in \"%s\""), name); + g_free(name); + return ret; +} + static void emft_get_folder_info__get (struct _mail_msg *mm) { @@ -1819,7 +1831,7 @@ emft_get_folder_info__free (struct _mail_msg *mm) } static struct _mail_msg_op get_folder_info_op = { - NULL, + emft_get_folder_info__desc, emft_get_folder_info__get, emft_get_folder_info__got, emft_get_folder_info__free, |