Archive of RubyForge sup-devel mailing list
 help / color / mirror / Atom feed
* [sup-devel] [PATCH] added colorized dates in thread-index-mode
@ 2009-12-31 16:44 Eric Sherman
  2009-12-31 19:49 ` William Morgan
  0 siblings, 1 reply; 2+ messages in thread
From: Eric Sherman @ 2009-12-31 16:44 UTC (permalink / raw)
  To: sup-devel

---
 lib/sup/colormap.rb                |    1 +
 lib/sup/modes/thread-index-mode.rb |    2 +-
 2 files changed, 2 insertions(+), 1 deletions(-)

diff --git a/lib/sup/colormap.rb b/lib/sup/colormap.rb
index fbbbfc9..c4a4024 100644
--- a/lib/sup/colormap.rb
+++ b/lib/sup/colormap.rb
@@ -50,6 +50,7 @@ class Colormap
     :system_buf => { :fg => "blue", :bg => "default" },
     :regular_buf => { :fg => "white", :bg => "default" },
     :modified_buffer => { :fg => "yellow", :bg => "default", :attrs => ["bold"] },
+    :date => { :fg => "white", :bg => "default"},
   }
   
   def initialize
diff --git a/lib/sup/modes/thread-index-mode.rb b/lib/sup/modes/thread-index-mode.rb
index 12a76f9..b3172e4 100644
--- a/lib/sup/modes/thread-index-mode.rb
+++ b/lib/sup/modes/thread-index-mode.rb
@@ -849,7 +849,7 @@ protected
 
     [ 
       [:tagged_color, @tags.tagged?(t) ? ">" : " "],
-      [:none, sprintf("%#{@date_width}s", date)],
+      [:date_color, sprintf("%#{@date_width}s", date)],
       (starred ? [:starred_color, "*"] : [:none, " "]),
     ] +
       from +
-- 
1.6.5.7
_______________________________________________
Sup-devel mailing list
Sup-devel@rubyforge.org
http://rubyforge.org/mailman/listinfo/sup-devel


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2009-12-31 19:50 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2009-12-31 16:44 [sup-devel] [PATCH] added colorized dates in thread-index-mode Eric Sherman
2009-12-31 19:49 ` William Morgan

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox