(elmo-folder-set-plugged): Define.
authorhmurata <hmurata>
Thu, 16 Nov 2006 14:27:47 +0000 (14:27 +0000)
committerhmurata <hmurata>
Thu, 16 Nov 2006 14:27:47 +0000 (14:27 +0000)
elmo/ChangeLog
elmo/elmo-pipe.el

index ea7cc85..f78ce9a 100644 (file)
@@ -1,3 +1,7 @@
+2006-11-16  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
+
+       * elmo-pipe.el (elmo-folder-set-plugged): Define.
+
 2006-11-15  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
 
        * elsp-bsfilter.el (elmo-spam-bsfilter-use-remote): New user option.
index 163fb71..f3c7ffc 100644 (file)
   (and (elmo-folder-plugged-p (elmo-pipe-folder-src-internal folder))
        (elmo-folder-plugged-p (elmo-pipe-folder-dst-internal folder))))
 
+(luna-define-method elmo-folder-set-plugged ((folder elmo-pipe-folder)
+                                            plugged &optional add)
+  (elmo-folder-set-plugged (elmo-pipe-folder-src-internal folder)
+                          plugged add)
+  (elmo-folder-set-plugged (elmo-pipe-folder-dst-internal folder)
+                          plugged add))
+
 (luna-define-method elmo-folder-message-file-p ((folder elmo-pipe-folder))
   (elmo-folder-message-file-p (elmo-pipe-folder-dst-internal folder)))