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

Re: [sup-talk] color customization



* arstoien <arstoien@googlemail.com> [Do Aug 05 17:21:58 +0200 2010]
>   * the space between the date and the sender name in the index view
>     (where the star is when a message is starred) is still highlighted in
>     green, but only when the message is _not_ starred. When the message is
>     starred it is highlighted correctly.

Search the sup-devel archive for issue58 (msg-id
1264760080.41.0.139357784083.issue58@masanjin.net, from January).

This was my fix for that problem. Nobody else seemed to care about that
problem, so it's only included in my private Git branch.

Regards,
    Gregor



commit 6551fc3e5373cc9f3a32b28b4335a2de2cd2efa4
Author: Gregor Hoffleit <gregor@hoffleit.de>
Date:   Thu May 27 11:40:13 2010 +0200

    Bugfix: Background for starred messages

diff --git a/lib/sup/modes/thread-index-mode.rb
b/lib/sup/modes/thread-index-mode.rb
index 5f3499c..f012123 100644
--- a/lib/sup/modes/thread-index-mode.rb
+++ b/lib/sup/modes/thread-index-mode.rb
@@ -887,7 +887,7 @@ protected
     [ 
       [:tagged_color, @tags.tagged?(t) ? ">" : " "],
       [:date_color, date_widget_text],
-      (starred ? [:starred_color, "*"] : [:none, " "]),
+      [:starred_color, (starred ? "*" : " ")],
     ] +
       from +
       [
_______________________________________________
sup-talk mailing list
sup-talk@rubyforge.org
http://rubyforge.org/mailman/listinfo/sup-talk