[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 header-pane.cc:
--- ../../../pan-0.100/pan/gui/header-pane.cc 2006-06-14 12:55:24.000000000
-0600
+++ header-pane.cc 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 :
PANGO_UNDERLINE_NONE),
+ "foreground", (bold || underlined ? "red" : NULL),
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
- [Pan-users] Coloring read and unread articles differently, Benjamin Esham, 2006/08/09
- Re: [Pan-users] Coloring read and unread articles differently,
Peter B. Steiger <=
- Re: [Pan-users] Coloring read and unread articles differently, Benjamin Esham, 2006/08/09
- Re: [Pan-users] Coloring read and unread articles differently, Darren, 2006/08/09
- Re: [Pan-users] Coloring read and unread articles differently, Benjamin Esham, 2006/08/09
- Re: [Pan-users] Coloring read and unread articles differently, Per Hedeland, 2006/08/09
- [Pan-users] Re: Coloring read and unread articles differently, Duncan, 2006/08/09
- Re: [Pan-users] Re: Coloring read and unread articles differently, Benjamin Esham, 2006/08/09
- [Pan-users] Re: Re: Coloring read and unread articles differently, Duncan, 2006/08/10
- Re: [Pan-users] Coloring read and unread articles differently, Douglas Bollinger, 2006/08/09