From 40fc52b3220bba58fec4e2abe11105011aca5c6f Mon Sep 17 00:00:00 2001 From: Jeffrey Stedfast Date: Sat, 16 Feb 2002 00:47:55 +0000 Subject: Ack, strip off the leading '/' char. 2002-02-15 Jeffrey Stedfast * mail-account-gui.c (basename_from_uri): Ack, strip off the leading '/' char. svn path=/trunk/; revision=15749 --- mail/ChangeLog | 3 +++ mail/mail-account-gui.c | 2 +- 2 files changed, 4 insertions(+), 1 deletion(-) (limited to 'mail') 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 + * 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 -- cgit