[Xfce4-commits] <postler:master> Use only the name when quoting a message
Christian Dywan
noreply at xfce.org
Sat Jan 15 04:20:02 CET 2011
Updating branch refs/heads/master
to a37e33af180c1c17be450814d651d2c10718ca39 (commit)
from c3c1af6622c51ccd94631d77ce126d535d1ecc1b (commit)
commit a37e33af180c1c17be450814d651d2c10718ca39
Author: Christian Dywan <christian at twotoasts.de>
Date: Sat Jan 15 04:08:11 2011 +0100
Use only the name when quoting a message
postler/postler-content.vala | 3 ++-
1 files changed, 2 insertions(+), 1 deletions(-)
diff --git a/postler/postler-content.vala b/postler/postler-content.vala
index 7f14e90..94ad11a 100644
--- a/postler/postler-content.vala
+++ b/postler/postler-content.vala
@@ -383,8 +383,9 @@ public class Postler.Content : WebKit.WebView {
if (location != null) {
ulong now = new Soup.Date.from_now (0).to_time_t ();
string date = GLib.Time.local ((time_t)now).format ("%x %X");
+ string sender = Postler.Messages.parse_address (recipient)[0];
- body.append_printf (_("On %s, %s wrote:"), date, recipient);
+ body.append_printf (_("On %s, %s wrote:"), date, sender);
body.append_c ('\n');
var contents = File.new_for_path (location);
try {
More information about the Xfce4-commits
mailing list