From mboxrd@z Thu Jan 1 00:00:00 1970 Received: by 10.90.87.14 with SMTP id k14cs1314936agb; Thu, 31 Dec 2009 08:44:24 -0800 (PST) Received: by 10.224.95.232 with SMTP id e40mr9353136qan.231.1262277863990; Thu, 31 Dec 2009 08:44:23 -0800 (PST) Return-Path: Received: from rubyforge.org (rubyforge.org [205.234.109.19]) by mx.google.com with ESMTP id 16si22156319qyk.49.2009.12.31.08.44.23; Thu, 31 Dec 2009 08:44:23 -0800 (PST) Received-SPF: pass (google.com: domain of sup-devel-bounces@rubyforge.org designates 205.234.109.19 as permitted sender) client-ip=205.234.109.19; Authentication-Results: mx.google.com; spf=pass (google.com: domain of sup-devel-bounces@rubyforge.org designates 205.234.109.19 as permitted sender) smtp.mail=sup-devel-bounces@rubyforge.org; dkim=neutral (body hash did not verify) header.i=@gmail.com Received: from rubyforge.org (rubyforge.org [127.0.0.1]) by rubyforge.org (Postfix) with ESMTP id 84E98167830A; Thu, 31 Dec 2009 11:44:23 -0500 (EST) Received: from qw-out-2122.google.com (qw-out-2122.google.com [74.125.92.27]) by rubyforge.org (Postfix) with ESMTP id 9C3BE185826F for ; Thu, 31 Dec 2009 11:44:20 -0500 (EST) Received: by qw-out-2122.google.com with SMTP id 9so2141268qwb.29 for ; Thu, 31 Dec 2009 08:44:20 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:content-type:subject:from:to :date:message-id:user-agent:content-transfer-encoding; bh=DjbvHIqAcPmDkQskilKV4N+AHSmIOupH+SRDjVwkR8k=; b=Ak7ma991nfxnCNqdI+3Wzgy0eKihsBIVH/d+LHloEa3kAJ9+mUYylEP1o0gz+nuN8K beK0bx5xVVho2mk0FzfIb/juAyHpPAZS9/MmmZ+BTffdKKQsVEsGeHM4X+1I/k+IUfh6 wJYSUeivnAvdPUgklYTea1TeuSzIGsAdHdlXM= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=content-type:subject:from:to:date:message-id:user-agent :content-transfer-encoding; b=nCta0DnEdQAfekfsIz6fwWEo+lfJp/GN1BpAPcnDd5cICj8lNzuaQchR6Mzb+rhMxk m3SzdHWRcQMArQFZQNw3OFwFiGtwD3AR3QxDoULb+g8aeZJcW0d2qZH48jaVfOfk989h bkMlQavB8hQaRMww3hxh/14/jYd0RluoKbHW0= Received: by 10.224.43.160 with SMTP id w32mr5945908qae.277.1262277860355; Thu, 31 Dec 2009 08:44:20 -0800 (PST) Received: from localhost (c-76-98-110-216.hsd1.nj.comcast.net [76.98.110.216]) by mx.google.com with ESMTPS id 23sm13206858qyk.7.2009.12.31.08.44.19 (version=TLSv1/SSLv3 cipher=RC4-MD5); Thu, 31 Dec 2009 08:44:19 -0800 (PST) From: Eric Sherman To: sup-devel Date: Thu, 31 Dec 2009 11:44:17 -0500 Message-Id: <1262277743-sup-775@changeling.local> User-Agent: Sup/git Subject: [sup-devel] [PATCH] added colorized dates in thread-index-mode X-BeenThere: sup-devel@rubyforge.org X-Mailman-Version: 2.1.12 Precedence: list Reply-To: Sup developer discussion List-Id: Sup developer discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: sup-devel-bounces@rubyforge.org Errors-To: sup-devel-bounces@rubyforge.org --- 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