]> git.cworth.org Git - sup/commitdiff
minor cryptosig prettynesses
authorwmorgan <wmorgan@5c8cc53c-5e98-4d25-b20a-d8db53a31250>
Fri, 14 Sep 2007 19:04:31 +0000 (19:04 +0000)
committerwmorgan <wmorgan@5c8cc53c-5e98-4d25-b20a-d8db53a31250>
Fri, 14 Sep 2007 19:04:31 +0000 (19:04 +0000)
git-svn-id: svn://rubyforge.org/var/svn/sup/trunk@575 5c8cc53c-5e98-4d25-b20a-d8db53a31250

bin/sup
lib/sup/message.rb
lib/sup/modes/thread-view-mode.rb

diff --git a/bin/sup b/bin/sup
index 9180f7608d820e2dc1423473cea7de7bcf66a124..1b68596db6244196bd052ad4e0789fb079c8c0eb 100644 (file)
--- a/bin/sup
+++ b/bin/sup
@@ -126,7 +126,7 @@ begin
     c.add :alternate_patina_color, Ncurses::COLOR_BLACK, Ncurses::COLOR_BLUE
     c.add :missing_message_color, Ncurses::COLOR_BLACK, Ncurses::COLOR_RED
     c.add :attachment_color, Ncurses::COLOR_CYAN, Ncurses::COLOR_BLACK
-    c.add :valid_cryptosig_color, Ncurses::COLOR_CYAN, Ncurses::COLOR_BLACK
+    c.add :valid_cryptosig_color, Ncurses::COLOR_YELLOW, Ncurses::COLOR_BLACK, Ncurses::A_BOLD
     c.add :invalid_cryptosig_color, Ncurses::COLOR_YELLOW, Ncurses::COLOR_RED, Ncurses::A_BOLD
     c.add :quote_patina_color, Ncurses::COLOR_YELLOW, Ncurses::COLOR_BLACK
     c.add :sig_patina_color, Ncurses::COLOR_YELLOW, Ncurses::COLOR_BLACK
index 42ec88ae6059b325ac1e6182924d3f3fecdfcfb6..c454adb21ad0f4bfbfca549114ea15dbf34f2bc4 100644 (file)
@@ -146,7 +146,7 @@ EOS
         if gpg_output =~ /^gpg: (.* signature from .*$)/
           $1
         else
-          "Unable to determine signature validity"
+          "Unable to determine validity of cryptographic signature"
         end
 
       @status = ($? == 0 ? :valid : :invalid)
index b1727798cb50105ea0453bb70886ea0a0ed30270..bb7d4fe4a7ec5de0ad3c0c39dfacc11f6c643900 100644 (file)
@@ -514,9 +514,9 @@ private
       color = chunk.valid? ? :valid_cryptosig_color : :invalid_cryptosig_color
       case state
       when :closed
-        [[[color, "#{prefix}+ Cryptographic signature: #{chunk.description}"]]] 
+        [[[color, "#{prefix}+ #{chunk.description}"]]] 
       when :open
-        [[[color, "#{prefix}- Cryptographic signature: #{chunk.description}"]]] +
+        [[[color, "#{prefix}- #{chunk.description}"]]] +
           chunk.lines.map { |line| [[color, "#{prefix}#{line}"]] }
         end
     else