From 3965fd4abaeaa50e58c59d50db9478efb03b53bd Mon Sep 17 00:00:00 2001 From: Carlos Garcia Campos Date: Fri, 16 Jan 2009 10:35:15 +0000 Subject: [PATCH] Add missing brakets around the percentage in progress messages. See bug 2009-01-16 Carlos Garcia Campos * shell/ev-window.c: (window_open_file_copy_progress_cb): Add missing brakets around the percentage in progress messages. See bug #567910. svn path=/trunk/; revision=3341 --- ChangeLog | 7 +++++++ shell/ev-window.c | 4 ++-- 2 files changed, 9 insertions(+), 2 deletions(-) diff --git a/ChangeLog b/ChangeLog index 0858172e..aca9f43b 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,10 @@ +2009-01-16 Carlos Garcia Campos + + * shell/ev-window.c: (window_open_file_copy_progress_cb): + + Add missing brakets around the percentage in progress + messages. See bug #567910. + 2009-01-16 Carlos Garcia Campos * shell/ev-application.c: (ev_application_open_window), diff --git a/shell/ev-window.c b/shell/ev-window.c index 1ec9fe9d..9c639047 100644 --- a/shell/ev-window.c +++ b/shell/ev-window.c @@ -1721,9 +1721,9 @@ window_open_file_copy_progress_cb (goffset n_bytes, if (!ev_window->priv->message_area) return; - + fraction = n_bytes / (gdouble)total_bytes; - status = g_strdup_printf (_("Downloading document %d%%"), + status = g_strdup_printf (_("Downloading document (%d%%)"), (gint)(fraction * 100)); ev_progress_message_area_set_status (EV_PROGRESS_MESSAGE_AREA (ev_window->priv->message_area), -- 2.43.5