aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJeffrey Stedfast <fejj@ximian.com>2002-02-16 08:47:55 +0800
committerJeffrey Stedfast <fejj@src.gnome.org>2002-02-16 08:47:55 +0800
commit40fc52b3220bba58fec4e2abe11105011aca5c6f (patch)
tree5741caa9332aa65c3d025a76a6fef9739b4964b7
parent3b87b4b2736550cc66c76f5ebb545d307f4d94ee (diff)
downloadgsoc2013-evolution-40fc52b3220bba58fec4e2abe11105011aca5c6f.tar
gsoc2013-evolution-40fc52b3220bba58fec4e2abe11105011aca5c6f.tar.gz
gsoc2013-evolution-40fc52b3220bba58fec4e2abe11105011aca5c6f.tar.bz2
gsoc2013-evolution-40fc52b3220bba58fec4e2abe11105011aca5c6f.tar.lz
gsoc2013-evolution-40fc52b3220bba58fec4e2abe11105011aca5c6f.tar.xz
gsoc2013-evolution-40fc52b3220bba58fec4e2abe11105011aca5c6f.tar.zst
gsoc2013-evolution-40fc52b3220bba58fec4e2abe11105011aca5c6f.zip
Ack, strip off the leading '/' char.
2002-02-15 Jeffrey Stedfast <fejj@ximian.com> * mail-account-gui.c (basename_from_uri): Ack, strip off the leading '/' char. svn path=/trunk/; revision=15749
-rw-r--r--mail/ChangeLog3
-rw-r--r--mail/mail-account-gui.c2
2 files changed, 4 insertions, 1 deletions
diff --git a/mail/ChangeLog b/mail/ChangeLog
index d6791e76c1..562d3af8c6 100644
--- a/mail/ChangeLog
+++ b/mail/ChangeLog
@@ -1,5 +1,8 @@
2002-02-15 Jeffrey Stedfast <fejj@ximian.com>
+ * mail-account-gui.c (basename_from_uri): Ack, strip off the
+ leading '/' char.
+
* mail-display.c (do_attachment_header): Don't display a
down-arrow if the attachment is undisplayable. Fixes bug #6919.
(launch_cb): Some programs are buggy when it comes to parsing
diff --git a/mail/mail-account-gui.c b/mail/mail-account-gui.c
index b10ad6d4f8..092c8c5a99 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 */
- return g_strdup (_(base));
+ return g_strdup (_(base + 1));
}
static void