aboutsummaryrefslogtreecommitdiffstats
path: root/mail/mail-account-gui.c
diff options
context:
space:
mode:
authorJeffrey Stedfast <fejj@ximian.com>2002-02-16 09:10:56 +0800
committerJeffrey Stedfast <fejj@src.gnome.org>2002-02-16 09:10:56 +0800
commit63fb014af98634fb87bd5f0e0cec43b9f6d8db05 (patch)
treef797243b9dda45c4796da9ad2592de571cb40bec /mail/mail-account-gui.c
parent4801096f6186fe7d3ff06544ab7fb0e635131524 (diff)
downloadgsoc2013-evolution-63fb014af98634fb87bd5f0e0cec43b9f6d8db05.tar
gsoc2013-evolution-63fb014af98634fb87bd5f0e0cec43b9f6d8db05.tar.gz
gsoc2013-evolution-63fb014af98634fb87bd5f0e0cec43b9f6d8db05.tar.bz2
gsoc2013-evolution-63fb014af98634fb87bd5f0e0cec43b9f6d8db05.tar.lz
gsoc2013-evolution-63fb014af98634fb87bd5f0e0cec43b9f6d8db05.tar.xz
gsoc2013-evolution-63fb014af98634fb87bd5f0e0cec43b9f6d8db05.tar.zst
gsoc2013-evolution-63fb014af98634fb87bd5f0e0cec43b9f6d8db05.zip
Ack, strip off the leading '/' char and also only translate if it is a
2002-02-15 Jeffrey Stedfast <fejj@ximian.com> * 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
Diffstat (limited to 'mail/mail-account-gui.c')
-rw-r--r--mail/mail-account-gui.c2
1 files changed, 1 insertions, 1 deletions
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);