[Xfce4-commits] <postler:master> Ellipsize long subjects in rich rows towards the end
Christian Dywan
noreply at xfce.org
Thu Jul 29 12:26:02 CEST 2010
Updating branch refs/heads/master
to 48e82afe7ec5f175fb10105db5b4489a39208ebd (commit)
from bcb7cfd450c0ad8eecb95b8d616f559780b5ebab (commit)
commit 48e82afe7ec5f175fb10105db5b4489a39208ebd
Author: Christian Dywan <christian at twotoasts.de>
Date: Mon Jul 19 22:21:13 2010 +0200
Ellipsize long subjects in rich rows towards the end
postler/postler-messages.vala | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
diff --git a/postler/postler-messages.vala b/postler/postler-messages.vala
index 4403d23..69fa84b 100644
--- a/postler/postler-messages.vala
+++ b/postler/postler-messages.vala
@@ -111,6 +111,7 @@ public class Postler.Messages : Gtk.TreeView {
subject = escape_text (parse_encoded (subject, out charset));
from = escape_text (parse_address (parse_encoded (from, out charset))[0]);
+ renderer.ellipsize = Pango.EllipsizeMode.END;
renderer.markup = ("<span weight=\"%d\">%s</span>\n" +
"<small><tt>%s </tt></small> %s").printf (
weight, subject,
More information about the Xfce4-commits
mailing list