]> git.cworth.org Git - sup/commitdiff
added # message in index on the status line
authorwmorgan <wmorgan@5c8cc53c-5e98-4d25-b20a-d8db53a31250>
Fri, 19 Jan 2007 16:35:20 +0000 (16:35 +0000)
committerwmorgan <wmorgan@5c8cc53c-5e98-4d25-b20a-d8db53a31250>
Fri, 19 Jan 2007 16:35:20 +0000 (16:35 +0000)
git-svn-id: svn://rubyforge.org/var/svn/sup/trunk@267 5c8cc53c-5e98-4d25-b20a-d8db53a31250

lib/sup/modes/inbox-mode.rb

index 97b85610f69e3d781c569cf7ae3c26f80bb175d7..ae231a7097f7c9100fcaa9c12adf725d40cd5166 100644 (file)
@@ -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={}