[Xfce4-commits] <postler:master> Always set the font weight to normal for read messages

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


Updating branch refs/heads/master
         to 28c24fc2e312cca02a4bb1d09ddf8a1a2860408a (commit)
       from 8ffe3a6aa4a3f414a06e8a1563b15b9e109d1790 (commit)

commit 28c24fc2e312cca02a4bb1d09ddf8a1a2860408a
Author: Christian Dywan <christian at twotoasts.de>
Date:   Tue Jun 29 18:28:13 2010 +0200

    Always set the font weight to normal for read messages

 postler/postler-messages.vala |    5 ++---
 1 files changed, 2 insertions(+), 3 deletions(-)

diff --git a/postler/postler-messages.vala b/postler/postler-messages.vala
index 41b692b..0538402 100644
--- a/postler/postler-messages.vala
+++ b/postler/postler-messages.vala
@@ -368,10 +368,9 @@ public class Postler.Messages : Gtk.TreeView {
                 status = STOCK_MAIL_REPLY_SENDER;
                 break;
             case 'S':
-                if (status == Gtk.STOCK_NEW) {
+                weight = Pango.Weight.NORMAL;
+                if (status == Gtk.STOCK_NEW)
                     status = null;
-                    weight = Pango.Weight.NORMAL;
-                }
                 break;
             case 'T':
                 flagged = "T";



More information about the Xfce4-commits mailing list