aboutsummaryrefslogtreecommitdiffstats
path: root/e-util
diff options
context:
space:
mode:
authorpunit <jpunit@novell.com>2010-04-13 20:28:23 +0800
committerMilan Crha <mcrha@redhat.com>2010-04-13 20:28:23 +0800
commit4502a5afc2447e4a500b593a825ea13ba2afb2f2 (patch)
tree780fe3cb9f80616093b6a601b40ce7498a7b48f6 /e-util
parente8745fb65e7b7c8b5910591ee96d74200c597dfa (diff)
downloadgsoc2013-evolution-4502a5afc2447e4a500b593a825ea13ba2afb2f2.tar
gsoc2013-evolution-4502a5afc2447e4a500b593a825ea13ba2afb2f2.tar.gz
gsoc2013-evolution-4502a5afc2447e4a500b593a825ea13ba2afb2f2.tar.bz2
gsoc2013-evolution-4502a5afc2447e4a500b593a825ea13ba2afb2f2.tar.lz
gsoc2013-evolution-4502a5afc2447e4a500b593a825ea13ba2afb2f2.tar.xz
gsoc2013-evolution-4502a5afc2447e4a500b593a825ea13ba2afb2f2.tar.zst
gsoc2013-evolution-4502a5afc2447e4a500b593a825ea13ba2afb2f2.zip
Bug #610229 - Status bar progress goes beyond 100 percentage
Diffstat (limited to 'e-util')
-rw-r--r--e-util/e-activity.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/e-util/e-activity.c b/e-util/e-activity.c
index 9f8faf75cb..f8a3510049 100644
--- a/e-util/e-activity.c
+++ b/e-util/e-activity.c
@@ -234,7 +234,7 @@ activity_describe (EActivity *activity)
* complete is known. */
g_string_printf (
string, _("%s (%d%% complete)"), text,
- (gint) (percent * 100.0 + 0.5));
+ (gint) (percent));
}
return g_string_free (string, FALSE);