diff options
author | Jeffrey Stedfast <fejj@ximian.com> | 2001-07-17 06:04:14 +0800 |
---|---|---|
committer | Jeffrey Stedfast <fejj@src.gnome.org> | 2001-07-17 06:04:14 +0800 |
commit | 6bebd14b92660bd0c95eac2d003764b71e9253d1 (patch) | |
tree | a517df285b5dbaf54fa1c7e1a20e14ee69004657 /mail/mail-local.c | |
parent | 29672fc78d4142c6666f8546f055278f485b83c2 (diff) | |
download | gsoc2013-evolution-6bebd14b92660bd0c95eac2d003764b71e9253d1.tar gsoc2013-evolution-6bebd14b92660bd0c95eac2d003764b71e9253d1.tar.gz gsoc2013-evolution-6bebd14b92660bd0c95eac2d003764b71e9253d1.tar.bz2 gsoc2013-evolution-6bebd14b92660bd0c95eac2d003764b71e9253d1.tar.lz gsoc2013-evolution-6bebd14b92660bd0c95eac2d003764b71e9253d1.tar.xz gsoc2013-evolution-6bebd14b92660bd0c95eac2d003764b71e9253d1.tar.zst gsoc2013-evolution-6bebd14b92660bd0c95eac2d003764b71e9253d1.zip |
Use g_strcasecmp() when looking for a Trash folder - it may be lowercase
2001-07-16 Jeffrey Stedfast <fejj@ximian.com>
* mail-ops.c (add_vtrash_info): Use g_strcasecmp() when looking
for a Trash folder - it may be lowercase or something funky.
* mail-local.c (init_trash): No need to specify the vfolder
expression here. This code was moved into camel-vtrash-folder.c
ages ago.
* component-factory.c: Let VTrash folders accept/export the same
dnd types as normal folders.
svn path=/trunk/; revision=11140
Diffstat (limited to 'mail/mail-local.c')
-rw-r--r-- | mail/mail-local.c | 10 |
1 files changed, 3 insertions, 7 deletions
diff --git a/mail/mail-local.c b/mail/mail-local.c index 56b68344e0..5f77db80d4 100644 --- a/mail/mail-local.c +++ b/mail/mail-local.c @@ -350,13 +350,8 @@ static void init_trash (CamelStore *store) { MailLocalStore *local_store = MAIL_LOCAL_STORE (store); - char *name; - name = g_strdup_printf ("%s?(match-all (system-flag \"Deleted\"))", "vTrash"); - - store->vtrash = camel_vtrash_folder_new (store, name); - - g_free (name); + store->vtrash = camel_vtrash_folder_new (store, _("Trash")); if (store->vtrash) { /* attach to the finalize event of the vtrash */ @@ -446,7 +441,8 @@ struct _register_msg { MailLocalFolder *local_folder; }; -static char *register_folder_desc(struct _mail_msg *mm, int done) +static char * +register_folder_desc(struct _mail_msg *mm, int done) { struct _register_msg *m = (struct _register_msg *)mm; |