From 0fb08f3ff81575a4749d851404233f34252dd2f2 Mon Sep 17 00:00:00 2001 From: Ettore Perazzoli Date: Tue, 21 Oct 2003 18:28:34 +0000 Subject: Merge new-ui-branch to the trunk. svn path=/trunk/; revision=22964 --- mail/mail-local.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'mail/mail-local.c') 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 -- cgit v1.2.3