From: wmorgan Date: Fri, 19 Jan 2007 16:35:20 +0000 (+0000) Subject: added # message in index on the status line X-Git-Url: https://git.notmuchmail.org/git?a=commitdiff_plain;h=a7072d33045db9dc60cfebd7852b9e36970dd37b;p=sup added # message in index on the status line git-svn-id: svn://rubyforge.org/var/svn/sup/trunk@267 5c8cc53c-5e98-4d25-b20a-d8db53a31250 --- diff --git a/lib/sup/modes/inbox-mode.rb b/lib/sup/modes/inbox-mode.rb index 97b8561..ae231a7 100644 --- a/lib/sup/modes/inbox-mode.rb +++ b/lib/sup/modes/inbox-mode.rb @@ -24,6 +24,10 @@ class InboxMode < ThreadIndexMode regen_text end + def status + super + " #{Index.size} messages in index" + end + def is_relevant? m; m.has_label? :inbox; end def load_threads opts={}