[Xfce4-commits] <postler:master> Support the Postler-specific class attachmentMessage

Christian Dywan noreply at xfce.org
Thu Jun 30 00:34:03 CEST 2011


Updating branch refs/heads/master
         to fee41d4cf3238c025f87d39a7d1ed97c16533a22 (commit)
       from 98fd9073b789962b67334782b0320fba5c95f75d (commit)

commit fee41d4cf3238c025f87d39a7d1ed97c16533a22
Author: Christian Dywan <christian at twotoasts.de>
Date:   Wed Jun 29 22:23:36 2011 +0200

    Support the Postler-specific class attachmentMessage

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

diff --git a/postler/postler-content.vala b/postler/postler-content.vala
index 1b96360..50a8d81 100644
--- a/postler/postler-content.vala
+++ b/postler/postler-content.vala
@@ -740,6 +740,9 @@ public class Postler.Content : WebKit.WebView {
                      && !attachment_part.mime_type.has_prefix ("multipart/")) {
                         message_parts.append (attachment_part);
                         reply_markup = status_template.replace ("%time%", "");
+                        /* The extra class attachmentMessage is Postler-specific */
+                        reply_markup = reply_markup.replace ("statusMessage",
+                            "statusMessage attachmentMessage");
                         reply_markup = reply_markup.replace ("%message%",
                             """
                             <b>%s</b><div class="actions">



More information about the Xfce4-commits mailing list