[Xfce4-commits] <postler:master> Escape sender address in message cell renderer
Christian Dywan
noreply at xfce.org
Sun Jul 18 15:40:08 CEST 2010
Updating branch refs/heads/master
to d4cd37b66c9f8aceb07c949021b84a626c0cda60 (commit)
from 409d7cd46f49e9ede06b5ee2b1adb658d3335d28 (commit)
commit d4cd37b66c9f8aceb07c949021b84a626c0cda60
Author: Christian Dywan <christian at twotoasts.de>
Date: Sat Jul 10 22:31:14 2010 +0200
Escape sender address in message cell renderer
postler/postler-messages.vala | 3 ++-
1 files changed, 2 insertions(+), 1 deletions(-)
diff --git a/postler/postler-messages.vala b/postler/postler-messages.vala
index 0350347..2b53951 100644
--- a/postler/postler-messages.vala
+++ b/postler/postler-messages.vala
@@ -110,11 +110,12 @@ public class Postler.Messages : Gtk.TreeView {
Columns.FROM, out from);
subject = escape_text (parse_encoded (subject, out charset));
+ from = escape_text (parse_address (parse_encoded (from, out charset))[0]);
renderer.markup = ("<span weight=\"%d\">%s</span>\n" +
"<small><tt>%s </tt></small> %s").printf (
weight, subject,
GLib.Time.local (timestamp).format ("%x %X"),
- parse_address (parse_encoded (from, out charset))[0]);
+ from);
}
void render_from (Gtk.TreeViewColumn column, Gtk.CellRenderer cell,
More information about the Xfce4-commits
mailing list