diff options
author | David Malcolm <dave_malcolm@src.gnome.org> | 2005-08-03 12:13:29 +0800 |
---|---|---|
committer | David Malcolm <dave_malcolm@src.gnome.org> | 2005-08-03 12:13:29 +0800 |
commit | 54f8da4d572015fe3049a5c4ae5a360328650d64 (patch) | |
tree | 7597e7c55a252b77e8ab209dd4e42729b03f2cb5 /widgets/misc | |
parent | 44a81b14be6513a90cc71a2e425233cd5f17d9fe (diff) | |
download | gsoc2013-evolution-54f8da4d572015fe3049a5c4ae5a360328650d64.tar gsoc2013-evolution-54f8da4d572015fe3049a5c4ae5a360328650d64.tar.gz gsoc2013-evolution-54f8da4d572015fe3049a5c4ae5a360328650d64.tar.bz2 gsoc2013-evolution-54f8da4d572015fe3049a5c4ae5a360328650d64.tar.lz gsoc2013-evolution-54f8da4d572015fe3049a5c4ae5a360328650d64.tar.xz gsoc2013-evolution-54f8da4d572015fe3049a5c4ae5a360328650d64.tar.zst gsoc2013-evolution-54f8da4d572015fe3049a5c4ae5a360328650d64.zip |
escape the "%" character correctly.
* e-attachment-bar.c: (update_remote_file): escape the "%" character correctly.
svn path=/trunk/; revision=29959
Diffstat (limited to 'widgets/misc')
-rw-r--r-- | widgets/misc/ChangeLog | 5 | ||||
-rw-r--r-- | widgets/misc/e-attachment-bar.c | 2 |
2 files changed, 6 insertions, 1 deletions
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 <dmalcolm@redhat.com> + + * e-attachment-bar.c: (update_remote_file): escape the "%" character + correctly. + 2005-07-29 Srinivasa Ragavan <sragavan@novell.com> * 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); |