From 608d343b8e2c8e283206c0e769c15c752fe632bb Mon Sep 17 00:00:00 2001 From: "benjamin%smedbergs.us" Date: Tue, 18 Jul 2006 17:53:14 +0000 Subject: [PATCH] Bug 329854 r=joe.hughes Add a excludeReadOnlyFolders to query options for use when filing. Original committer: brettw%gmail.com Original revision: 1.40 Original date: 2006/03/10 19:44:28 git-svn-id: svn://10.0.0.236/trunk@202887 18797224-902f-48f8-a5cc-f745e15eee43 --- .../components/places/public/nsINavHistoryService.idl | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/mozilla/toolkit/components/places/public/nsINavHistoryService.idl b/mozilla/toolkit/components/places/public/nsINavHistoryService.idl index fcce2bbe182..c7870b4ba0d 100644 --- a/mozilla/toolkit/components/places/public/nsINavHistoryService.idl +++ b/mozilla/toolkit/components/places/public/nsINavHistoryService.idl @@ -831,6 +831,16 @@ interface nsINavHistoryQueryOptions : nsISupports */ attribute boolean excludeQueries; + /** + * Set to true to exclude read-only folders from the query results. This is + * designed for cases where you want to give the user the option of filing + * something into a list of folders. It only affects cases where the actual + * folder result node would appear in its parent folder and filters it out. + * It doesn't affect the query at all, and doesn't affect more complex + * queries (such as "folders with annotation X"). + */ + attribute boolean excludeReadOnlyFolders; + /** * When set, allows items with "place:" URIs to appear as containers, * with the container's contents filled in from the stored query.