pan-devel
[Top][All Lists]
Advanced

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

[Pan-devel] Score column incorrectly rendered


From: Christophe Lambin
Subject: [Pan-devel] Score column incorrectly rendered
Date: Wed, 24 May 2006 21:22:44 +0200
User-agent: Mutt/1.4.2.1i

The score column doesn't use the prefs when the score is between -1 and
-4999. The following patch fixes this:

--- header-pane.cc-orig 2006-05-24 21:16:03.000000000 +0200
+++ header-pane.cc      2006-05-24 21:15:37.000000000 +0200
@@ -299,7 +299,7 @@
     } else if (score <= -9999) {
       fg = prefs.get_color_str ("score-color-ignored-fg", "dark grey");
       bg = prefs.get_color_str ("score-color-ignored-bg", "black");
-    } else if (score <= -5000) {
+    } else if (score <= -1) {
       fg = prefs.get_color_str ("score-color-low-fg", "light grey");
       bg = prefs.get_color_str ("score-color-low-bg", "black");
     }

Of course, triggering at -5000 may have been intentional, in which case
the text in prefs.cc should be changed ("Scores from -9998 to -1:").

Regards,
Christophe

Attachment: pgp_EWfIN7R_p.pgp
Description: PGP signature


reply via email to

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