diff options
author | Ettore Perazzoli <ettore@src.gnome.org> | 2003-10-22 02:28:34 +0800 |
---|---|---|
committer | Ettore Perazzoli <ettore@src.gnome.org> | 2003-10-22 02:28:34 +0800 |
commit | 0fb08f3ff81575a4749d851404233f34252dd2f2 (patch) | |
tree | 7e03befedc3a76fd104921dbbc616810d87333be /mail/mail-local.c | |
parent | 0e19f2c16de592607a341eb9974d31e4e47e02b5 (diff) | |
download | gsoc2013-evolution-0fb08f3ff81575a4749d851404233f34252dd2f2.tar.gz gsoc2013-evolution-0fb08f3ff81575a4749d851404233f34252dd2f2.tar.zst gsoc2013-evolution-0fb08f3ff81575a4749d851404233f34252dd2f2.zip |
Merge new-ui-branch to the trunk.
svn path=/trunk/; revision=22964
Diffstat (limited to 'mail/mail-local.c')
-rw-r--r-- | mail/mail-local.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/mail/mail-local.c b/mail/mail-local.c index 0ec4f5a8e9..565e028432 100644 --- a/mail/mail-local.c +++ b/mail/mail-local.c @@ -533,10 +533,11 @@ mlf_getv(CamelObject *object, CamelException *ex, CamelArgGetV *args) /* CamelObject args */ case CAMEL_OBJECT_ARG_DESCRIPTION: if (mlf->description == NULL) { + const char *base_directory = mail_component_peek_base_directory (mail_component_peek ()); int pathlen; /* string to describe a local folder as the location of a message */ - pathlen = strlen(evolution_dir) + strlen("local") + 1; + pathlen = strlen(base_directory) + strlen("local") + 1; if (strlen(folder->full_name) > pathlen) mlf->description = g_strdup_printf(_("Local folders/%s"), folder->full_name+pathlen); else |