* elmo-multi.el (elmo-folder-close): Set msgdb of children as nil.
authorteranisi <teranisi>
Tue, 24 Sep 2002 02:09:57 +0000 (02:09 +0000)
committerteranisi <teranisi>
Tue, 24 Sep 2002 02:09:57 +0000 (02:09 +0000)
elmo/ChangeLog
elmo/elmo-multi.el

index 31563cf..6da21a3 100644 (file)
@@ -1,3 +1,7 @@
+2002-09-24  Yuuichi Teranishi  <teranisi@gohome.org>
+
+       * elmo-multi.el (elmo-folder-close): Set msgdb of children as nil.
+
 2002-09-24  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
 
        * elmo-msgdb.el (elmo-msgdb-set-status): Fixed logic (new to read).
index d756f3c..5be1400 100644 (file)
@@ -71,9 +71,9 @@
   (dolist (fld (elmo-multi-folder-children-internal folder))
     (elmo-folder-close-internal fld)))
 
-(luna-define-method elmo-folder-close :around ((folder elmo-multi-folder))
+(luna-define-method elmo-folder-close :after ((folder elmo-multi-folder))
   (dolist (fld (elmo-multi-folder-children-internal folder))
-    (elmo-folder-close fld)))
+    (elmo-folder-set-msgdb-internal fld nil)))
 
 (luna-define-method elmo-folder-expand-msgdb-path ((folder
                                                    elmo-multi-folder))