aboutsummaryrefslogtreecommitdiffstats
path: root/camel/camel-store.c
diff options
context:
space:
mode:
authorNot Zed <NotZed@Ximian.com>2004-04-27 16:23:55 +0800
committerMichael Zucci <zucchi@src.gnome.org>2004-04-27 16:23:55 +0800
commit60d23895f74a901e27a8118f9d97186d5e6a60c1 (patch)
treec5ad1a1b543895eacfd4901def60484940428435 /camel/camel-store.c
parent81d3fd68b3d62326b88d59fa99f61655ab14cd21 (diff)
downloadgsoc2013-evolution-60d23895f74a901e27a8118f9d97186d5e6a60c1.tar
gsoc2013-evolution-60d23895f74a901e27a8118f9d97186d5e6a60c1.tar.gz
gsoc2013-evolution-60d23895f74a901e27a8118f9d97186d5e6a60c1.tar.bz2
gsoc2013-evolution-60d23895f74a901e27a8118f9d97186d5e6a60c1.tar.lz
gsoc2013-evolution-60d23895f74a901e27a8118f9d97186d5e6a60c1.tar.xz
gsoc2013-evolution-60d23895f74a901e27a8118f9d97186d5e6a60c1.tar.zst
gsoc2013-evolution-60d23895f74a901e27a8118f9d97186d5e6a60c1.zip
** See bug #57659.
2004-04-27 Not Zed <NotZed@Ximian.com> ** See bug #57659. * camel-vee-store.c (vee_get_folder_info): translate Unmatched in the folder display name. * camel-store.c (add_special_info): dont translate full_name or path, only do that for name. svn path=/trunk/; revision=25626
Diffstat (limited to 'camel/camel-store.c')
-rw-r--r--camel/camel-store.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/camel/camel-store.c b/camel/camel-store.c
index 9f4a0f9c7f..d9deb41d98 100644
--- a/camel/camel-store.c
+++ b/camel/camel-store.c
@@ -676,7 +676,7 @@ get_folder_info (CamelStore *store, const char *top, guint32 flags, CamelExcepti
}
static void
-add_special_info (CamelStore *store, CamelFolderInfo *info, const char *name, const char *full_name, gboolean unread_count)
+add_special_info (CamelStore *store, CamelFolderInfo *info, const char *name, const char *translated, gboolean unread_count)
{
CamelFolderInfo *fi, *vinfo, *parent;
char *uri, *path;
@@ -726,12 +726,12 @@ add_special_info (CamelStore *store, CamelFolderInfo *info, const char *name, co
/* Fill in the new fields */
vinfo->flags |= CAMEL_FOLDER_VIRTUAL|CAMEL_FOLDER_SYSTEM|CAMEL_FOLDER_VTRASH;
- vinfo->full_name = g_strdup (full_name);
- vinfo->name = g_strdup (vinfo->full_name);
+ vinfo->full_name = g_strdup (name);
+ vinfo->name = g_strdup (translated);
vinfo->uri = uri;
if (!unread_count)
vinfo->unread = -1;
- vinfo->path = g_strdup_printf ("/%s", vinfo->name);
+ vinfo->path = g_strdup_printf ("/%s", vinfo->full_name);
}
static void