Score column incorrectly rendered
Christophe Lambin <[email protected]>
| Newsgroups | gmane.comp.gnome.apps.pan.devel |
|---|---|
| Message-ID | <[email protected]> |
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
_______________________________________________
Pan-devel mailing list
[email protected]
http://lists.nongnu.org/mailman/listinfo/pan-devel
signature.asc
(application/pgp-signature, 189 B)
-----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.3 (GNU/Linux) iD8DBQFEdLKETG6UpjnemCIRAnO+AKCtTjWG+udo2iDfNteEsJ+AdF6vGwCglMbp N4xNfpykdZoUxiQiPSlb83Q= =+dPe -----END PGP SIGNATURE-----