From 63fb014af98634fb87bd5f0e0cec43b9f6d8db05 Mon Sep 17 00:00:00 2001 From: Jeffrey Stedfast Date: Sat, 16 Feb 2002 01:10:56 +0000 Subject: Ack, strip off the leading '/' char and also only translate if it is a 2002-02-15 Jeffrey Stedfast * mail-account-gui.c (basename_from_uri): Ack, strip off the leading '/' char and also only translate if it is a local uri, imap folders and other external folders will be named by the user so no need to translate those. svn path=/trunk/; revision=15751 --- mail/ChangeLog | 2 +- mail/mail-account-gui.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'mail') diff --git a/mail/ChangeLog b/mail/ChangeLog index 13dad8c05a..299490ce88 100644 --- a/mail/ChangeLog +++ b/mail/ChangeLog @@ -1,7 +1,7 @@ 2002-02-15 Jeffrey Stedfast * mail-account-gui.c (basename_from_uri): Ack, strip off the - leading '/' char and also only translate if it is a file: uri, + leading '/' char and also only translate if it is a local uri, imap folders and other external folders will be named by the user so no need to translate those. diff --git a/mail/mail-account-gui.c b/mail/mail-account-gui.c index a6fe52eaf1..496376c7b4 100644 --- a/mail/mail-account-gui.c +++ b/mail/mail-account-gui.c @@ -829,7 +829,7 @@ basename_from_uri (const char *uri) g_assert (base != NULL); /* translate the basename: fixes bug #7160 */ - if (!strncmp (uri, "file:", 5)) + if (!strncmp (uri, "evolution:/local", 16)) return g_strdup (_(base + 1)); else return g_strdup (base + 1); -- cgit v1.2.3