diff options
| author | Jeffrey Stedfast <fejj@ximian.com> | 2002-02-16 09:10:56 +0800 | 
|---|---|---|
| committer | Jeffrey Stedfast <fejj@src.gnome.org> | 2002-02-16 09:10:56 +0800 | 
| commit | 63fb014af98634fb87bd5f0e0cec43b9f6d8db05 (patch) | |
| tree | f797243b9dda45c4796da9ad2592de571cb40bec | |
| parent | 4801096f6186fe7d3ff06544ab7fb0e635131524 (diff) | |
| download | gsoc2013-evolution-63fb014af98634fb87bd5f0e0cec43b9f6d8db05.tar.gz 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
| -rw-r--r-- | mail/ChangeLog | 2 | ||||
| -rw-r--r-- | mail/mail-account-gui.c | 2 | 
2 files changed, 2 insertions, 2 deletions
| 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  <fejj@ximian.com>  	* 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); | 
