+2002-10-01 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
+
+ * elmo-filter.el (elmo-folder-list-unreads): Call generic method
+ if require-msgdb slot is nil.
+ (elmo-folder-list-importants): Likewise.
+
2002-09-26 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
* elmo.el (elmo-message-set-cached): Set mark-modified slot if
(elmo-folder-list-unreads
(elmo-filter-folder-target-internal folder))))
-(luna-define-method elmo-folder-list-unreads ((folder elmo-filter-folder))
- (elmo-filter-folder-list-unreads folder))
+(luna-define-method elmo-folder-list-unreads :around ((folder
+ elmo-filter-folder))
+ (if (elmo-filter-folder-require-msgdb-internal folder)
+ (elmo-filter-folder-list-unreads folder)
+ (luna-call-next-method)))
(defsubst elmo-filter-folder-list-importants (folder)
(elmo-list-filter
(elmo-folder-list-importants
(elmo-filter-folder-target-internal folder))))
-(luna-define-method elmo-folder-list-importants ((folder elmo-filter-folder))
- (elmo-filter-folder-list-importants folder))
+(luna-define-method elmo-folder-list-importants :around ((folder
+ elmo-filter-folder))
+ (if (elmo-filter-folder-require-msgdb-internal folder)
+ (elmo-filter-folder-list-importants folder)
+ (luna-call-next-method)))
(luna-define-method elmo-folder-list-subfolders ((folder elmo-filter-folder)
&optional one-level)