[Xfce4-commits] <postler:master> Hide extra headers unless hovering the header area

Christian Dywan noreply at xfce.org
Sat Jul 10 00:24:17 CEST 2010


Updating branch refs/heads/master
         to f6225311cd1ec4f2bc1511dda01253a92be65a62 (commit)
       from d67819786342f928af19353164098d34703c22c8 (commit)

commit f6225311cd1ec4f2bc1511dda01253a92be65a62
Author: Christian Dywan <christian at twotoasts.de>
Date:   Thu Jul 1 22:30:01 2010 +0200

    Hide extra headers unless hovering the header area

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

diff --git a/postler/postler-content.vala b/postler/postler-content.vala
index 1625b8f..5c0b111 100644
--- a/postler/postler-content.vala
+++ b/postler/postler-content.vala
@@ -48,6 +48,12 @@ public class Postler.Content : WebKit.WebView {
             background-color: Window !important; color: WindowText !important;
             font: 9pt sans-serif !important;
         }
+        .headers .extra_headers {
+            display: none;
+        }
+        .headers:hover .extra_headers {
+            display: inline;
+        }
         .body {
             background-color: Window !important; color: WindowText !important;
             font: 10pt sans-serif !important;
@@ -612,12 +618,14 @@ public class Postler.Content : WebKit.WebView {
                 <div style="float: right;">%s</div>
                 <b>%s</b> %s<br>
                 %s
-                %s
+                %s <span style="float: right;"><a href="#">%s</a></span>
                 <b>%s</b> %s <br>
+                <span class="extra_headers">
                 %s
                 %s
                 %s
                 </span>
+                </span>
                 <p class="body" style="%s">%s</p>
                 """.
                 printf (style_sheet,
@@ -625,6 +633,8 @@ public class Postler.Content : WebKit.WebView {
                         _("From:"), sender,
                         format_header (_("To:"), recipient),
                         format_header (_("Copy:"), carbon_copy),
+                        reply != "" || organization != "" || x_mailer != ""
+                            ? "%s »".printf (_("More")) : "",
                         _("Subject:"), subject,
                         /* TODO: Sender:? */
                         format_header (_("Reply To:"), reply),



More information about the Xfce4-commits mailing list