[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Pan-users] Coloring read and unread articles differently

From: Peter B. Steiger
Subject: Re: [Pan-users] Coloring read and unread articles differently
Date: Wed, 09 Aug 2006 10:20:17 -0600

On Wed, 2006-08-09 at 10:53 -0500, Benjamin Esham wrote:
> I'm sure this has been discussed before, but I couldn't find it in  
> the archives... how can I make read and unread articles display in  
> different colors? 

I had to add  a line to
--- ../../../pan-0.100/pan/gui/   2006-06-14 12:55:24.000000000 
+++      2006-06-28 10:12:09.000000000 -0600
@@ -419,6 +419,7 @@
       "xalign", 0.0,
       "weight", (bold ? PANGO_WEIGHT_BOLD : PANGO_WEIGHT_NORMAL),
       "underline", (underlined ? PANGO_UNDERLINE_DOUBLE : 
+      "foreground", (bold || underlined ? "red" : NULL),

... I just hunted for the section that underlines unread messages, and
added that "foreground" line with the color hardcoded to "red".  Maybe
later I'll put in some preferences to pick a color, but just for a quick
fix it was easier to hard-code the red.

Peter B. Steiger
Cheyenne, WY

reply via email to

[Prev in Thread] Current Thread [Next in Thread]