[Xfce4-commits] <postler:master> Use Pango.Weight constants for read/ unread

Christian Dywan noreply at xfce.org
Sat May 29 17:28:02 CEST 2010


Updating branch refs/heads/master
         to 414be82a02a575aa6589640c1ced73beae9210df (commit)
       from 49c7eb837b00cd1cf7b5de478cca3445dd908939 (commit)

commit 414be82a02a575aa6589640c1ced73beae9210df
Author: Christian Dywan <christian at twotoasts.de>
Date:   Sat May 29 17:11:22 2010 +0200

    Use Pango.Weight constants for read/ unread

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

diff --git a/postler/postler-messages.vala b/postler/postler-messages.vala
index b8c6264..ebda4ec 100644
--- a/postler/postler-messages.vala
+++ b/postler/postler-messages.vala
@@ -164,7 +164,7 @@ public class Postler.Messages : Gtk.TreeView {
                         continue;
 
                     string status = Gtk.STOCK_NEW;
-                    int font_weight = 800; /* FIXME: constant? */
+                    int font_weight = Pango.Weight.BOLD;
                     string flagged = null;
                     if (folder == "cur") {
                         /* format "unique:2,DFPRST", ordered alphabetically */
@@ -188,7 +188,7 @@ public class Postler.Messages : Gtk.TreeView {
                             case 'S':
                                 if (status == Gtk.STOCK_NEW) {
                                     status = null;
-                                    font_weight = 400; /* FIXME: constant? */
+                                    font_weight = Pango.Weight.NORMAL;
                                 }
                                 break;
                             case 'T':



More information about the Xfce4-commits mailing list