Updating branch refs/heads/master
         to ee915c1e96b27cbccf2db34bb7de79f470be0471 (commit)
       from da8c2d56a95becb40071a75d50cce52556ca0b86 (commit)

commit ee915c1e96b27cbccf2db34bb7de79f470be0471
Author: Christian Dywan <[email protected]>
Date:   Sun Jul 17 22:46:39 2011 +0200

    Show a Send Again button next to own messages

 postler/postler-content.vala |   11 +++++++++--
 1 files changed, 9 insertions(+), 2 deletions(-)

diff --git a/postler/postler-content.vala b/postler/postler-content.vala
index fb371a6..0f8079b 100644
--- a/postler/postler-content.vala
+++ b/postler/postler-content.vala
@@ -788,8 +788,15 @@ public class Postler.Content : WebKit.WebView {
                             sender_name, html_escape 
(Contact.address_from_string (child.sender))))));
                     }
 
-                    reply_chunk.append ("""
-                        <div class="actions">
+                    reply_chunk.append ("<div class=\"actions\">");
+                    if (sender_name == _("You")) {
+                        reply_chunk.append_printf ("""
+                            <a href="mailto:%s"; class="button">%s</a>
+                            """.printf (
+                            html_escape (reply_uri (child, "")), _("Send 
Again")));
+                    }
+                    reply_chunk.append_printf (
+                        """
                         <a href="mailto:%s"; class="button">%s</a>
                         <a href="mailto:%s"; class="button">%s</a></div>
                         """.printf (
_______________________________________________
Xfce4-commits mailing list
[email protected]
http://foo-projects.org/mailman/listinfo/xfce4-commits

Reply via email to