aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDavid Malcolm <dave_malcolm@src.gnome.org>2005-08-03 12:13:29 +0800
committerDavid Malcolm <dave_malcolm@src.gnome.org>2005-08-03 12:13:29 +0800
commit54f8da4d572015fe3049a5c4ae5a360328650d64 (patch)
tree7597e7c55a252b77e8ab209dd4e42729b03f2cb5
parent44a81b14be6513a90cc71a2e425233cd5f17d9fe (diff)
downloadgsoc2013-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
-rw-r--r--widgets/misc/ChangeLog5
-rw-r--r--widgets/misc/e-attachment-bar.c2
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);