From: wmorgan Date: Fri, 5 Jan 2007 16:54:19 +0000 (+0000) Subject: always use detailed headers for threads of size 1 X-Git-Url: https://git.cworth.org/git?a=commitdiff_plain;h=ab2f27a958c904d87f11d494a4034c6edfb9e3d0;p=sup always use detailed headers for threads of size 1 git-svn-id: svn://rubyforge.org/var/svn/sup/trunk@188 5c8cc53c-5e98-4d25-b20a-d8db53a31250 --- diff --git a/lib/sup/modes/thread-view-mode.rb b/lib/sup/modes/thread-view-mode.rb index 37bef9f..5fc3a30 100644 --- a/lib/sup/modes/thread-view-mode.rb +++ b/lib/sup/modes/thread-view-mode.rb @@ -38,7 +38,7 @@ class ThreadViewMode < LineCursorMode end @state[latest] = :open if @state[latest] == :closed - @state[earliest] = :detailed if earliest.has_label?(:unread) + @state[earliest] = :detailed if earliest.has_label?(:unread) || @thread.size == 1 BufferManager.say "Loading message bodies..." do regen_chunks