[Xfce4-commits] <postler:master> Add padding to folders and say 'Retrieving x of y'
Christian Dywan
noreply at xfce.org
Sun Dec 19 01:34:02 CET 2010
Updating branch refs/heads/master
to e5e3f24f14d68f3c6669178e439459d2091d0304 (commit)
from 634635446b7a206a41eccf866e4684767208f2e1 (commit)
commit e5e3f24f14d68f3c6669178e439459d2091d0304
Author: Christian Dywan <christian at twotoasts.de>
Date: Sun Dec 19 01:31:25 2010 +0100
Add padding to folders and say 'Retrieving x of y'
postler/postler-bureau.vala | 1 +
postler/postler-service.vala | 2 +-
2 files changed, 2 insertions(+), 1 deletions(-)
diff --git a/postler/postler-bureau.vala b/postler/postler-bureau.vala
index 6c937a0..54bcc33 100644
--- a/postler/postler-bureau.vala
+++ b/postler/postler-bureau.vala
@@ -536,6 +536,7 @@ public class Postler.Bureau : Gtk.Window {
progressbar = new Gtk.ProgressBar ();
statuslabel = new Gtk.Label ("");
var panebox = new Gtk.VBox (false, 0);
+ panebox.border_width = 4;
panebox.pack_start (folderbox, true, true, 0);
panebox.pack_end (progressbar, false, false, 0);
panebox.pack_end (statuslabel, false, false, 0);
diff --git a/postler/postler-service.vala b/postler/postler-service.vala
index 882028b..2139813 100644
--- a/postler/postler-service.vala
+++ b/postler/postler-service.vala
@@ -88,7 +88,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 ((int)count, (int)total);
+ string state = _("Retrieving %d of %d").printf ((int)count, (int)total);
progress (folder + "\n" + state,
total > count ? count / total : 0);
}
More information about the Xfce4-commits
mailing list