From 54f8da4d572015fe3049a5c4ae5a360328650d64 Mon Sep 17 00:00:00 2001 From: David Malcolm Date: Wed, 3 Aug 2005 04:13:29 +0000 Subject: escape the "%" character correctly. * e-attachment-bar.c: (update_remote_file): escape the "%" character correctly. svn path=/trunk/; revision=29959 --- widgets/misc/ChangeLog | 5 +++++ widgets/misc/e-attachment-bar.c | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/widgets/misc/ChangeLog b/widgets/misc/ChangeLog index dd28f51880..ebacdecdf0 100644 --- a/widgets/misc/ChangeLog +++ b/widgets/misc/ChangeLog @@ -1,3 +1,8 @@ +2005-08-02 David Malcolm + + * e-attachment-bar.c: (update_remote_file): escape the "%" character + correctly. + 2005-07-29 Srinivasa Ragavan * e-attachment.c: (e_attachment_new_from_mime_part) used ref instead of diff --git a/widgets/misc/e-attachment-bar.c b/widgets/misc/e-attachment-bar.c index c403285cca..df13b456e6 100644 --- a/widgets/misc/e-attachment-bar.c +++ b/widgets/misc/e-attachment-bar.c @@ -425,7 +425,7 @@ update_remote_file (EAttachment *attachment, EAttachmentBar *bar) } base = g_path_get_basename(attachment->file_name); - msg = g_strdup_printf("%s (%d\%)", base, attachment->percentage); + msg = g_strdup_printf("%s (%d%%)", base, attachment->percentage); g_free(base); icon_list = GNOME_ICON_LIST (bar); -- cgit