[Xfce4-commits] <postler:master> Fix message count in status label
Christian Dywan
noreply at xfce.org
Tue Dec 14 23:12:01 CET 2010
Updating branch refs/heads/master
to 8df8611a1d2bd7d51068ff531aa6c963c42fd76d (commit)
from ee3f52c823d3bee4b8604ca7d1e405555020dac9 (commit)
commit 8df8611a1d2bd7d51068ff531aa6c963c42fd76d
Author: Bernd Prünster <bernd.pruenster at gmail.com>
Date: Tue Dec 14 23:11:37 2010 +0100
Fix message count in status label
postler/postler-service.vala | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/postler/postler-service.vala b/postler/postler-service.vala
index af18707..d3c70d4 100644
--- a/postler/postler-service.vala
+++ b/postler/postler-service.vala
@@ -87,7 +87,7 @@ namespace Postler {
double count = (((msg.split ("/"))[2]).split (" ") [0]).to_double ();
if (folder.contains ("/"))
folder = folder.split ("/") [1];
- string state = _("Retrieving %d/%d").printf (count, total);
+ string state = _("Retrieving %d/%d").printf ((int)count, (int)total);
progress (folder + "\n" + state,
total > count ? count / total : 0);
}
More information about the Xfce4-commits
mailing list