[Xfce4-commits] <postler:master> Fix alignment problem in message list

Christian Dywan noreply at xfce.org
Mon Feb 28 00:36:01 CET 2011


Updating branch refs/heads/master
         to 656de24d1616762ee4bf15d08aa9b15845ac3008 (commit)
       from b5c6f8ff3a2c4afe1390815829bab96ae79ca4bf (commit)

commit 656de24d1616762ee4bf15d08aa9b15845ac3008
Author: Lucas Baudin <xapantu at gmail.com>
Date:   Sun Feb 27 10:54:50 2011 +0100

    Fix alignment problem in message list
    
    Fixes: https://bugs.launchpad.net/postler/+bug/725942

 postler/postler-messages.vala |    4 ++++
 1 files changed, 4 insertions(+), 0 deletions(-)

diff --git a/postler/postler-messages.vala b/postler/postler-messages.vala
index a5b62f9..25e8235 100644
--- a/postler/postler-messages.vala
+++ b/postler/postler-messages.vala
@@ -148,6 +148,10 @@ public class Postler.Messages : Gtk.TreeView {
 
         subject = escape_text (parse_encoded (subject, out charset));
         string date = Postler.Content.format_timestamp (timestamp);
+        long size = date.length;
+        for (int j = 0; j < 20 - size; j++)
+            date = date + " ";
+
         from = escape_text (parse_address (parse_encoded (from, out charset))[0]);
         from = dexter.get_name (from) ?? from;
 



More information about the Xfce4-commits mailing list