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 mailing list
[email protected]
http://lists.nongnu.org/mailman/listinfo/pan-users