]> git.notmuchmail.org Git - sup/commitdiff
bugfix for archived events
authorwmorgan <wmorgan@5c8cc53c-5e98-4d25-b20a-d8db53a31250>
Mon, 12 Feb 2007 23:32:33 +0000 (23:32 +0000)
committerwmorgan <wmorgan@5c8cc53c-5e98-4d25-b20a-d8db53a31250>
Mon, 12 Feb 2007 23:32:33 +0000 (23:32 +0000)
git-svn-id: svn://rubyforge.org/var/svn/sup/trunk@325 5c8cc53c-5e98-4d25-b20a-d8db53a31250

lib/sup/modes/inbox-mode.rb

index 780ae4c72a5b8e1c9ec906413fc7ddf512674a0a..c65198838f8e178fa23ed761a3f29263f3cc724e 100644 (file)
@@ -26,7 +26,10 @@ class InboxMode < ThreadIndexMode
   end
 
   def handle_archived_update sender, t
-    hide_thread t if contains_thread? t
+    if contains_thread? t
+      hide_thread t
+      regen_text
+    end
   end
 
 # not quite working, and not sure if i like it anyways