From 728f7112e3884aa2cd75c1930a2c7b6fc3af4ae3 Mon Sep 17 00:00:00 2001 From: "benjamin%smedbergs.us" Date: Tue, 18 Jul 2006 17:32:18 +0000 Subject: [PATCH] Fixes bug where messages when bookmark folder children were shifted caused separators not to be removed correctly. bug=329892 r=brettw@gmail.com Original committer: annie.sullivan%gmail.com Original revision: 1.22 Original date: 2006/03/10 19:22:32 git-svn-id: svn://10.0.0.236/trunk@202828 18797224-902f-48f8-a5cc-f745e15eee43 --- .../components/places/public/nsINavBookmarksService.idl | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/mozilla/toolkit/components/places/public/nsINavBookmarksService.idl b/mozilla/toolkit/components/places/public/nsINavBookmarksService.idl index 10c53537d78..fd89e45f856 100644 --- a/mozilla/toolkit/components/places/public/nsINavBookmarksService.idl +++ b/mozilla/toolkit/components/places/public/nsINavBookmarksService.idl @@ -63,6 +63,8 @@ interface nsINavBookmarkObserver : nsISupports /** * Notify this observer that the bookmark was added. * Called after the actual add took place. + * If other bookmarks in the folder shift due to the item being added, + * no additional onItemMoved notifications are sent. * * @param bookmark The bookmark item that was added. * @param folder The folder that the item was added to. @@ -73,6 +75,8 @@ interface nsINavBookmarkObserver : nsISupports /** * Notify this observer that the bookmark was removed. * Called after the actual remove took place. + * If other bookmarks in the folder shift due to the item being removed, + * no additional onItemMoved notifications are sent. * * @param bookmark The bookmark item will be removed. * @param folder The folder that the item was removed from. @@ -84,6 +88,9 @@ interface nsINavBookmarkObserver : nsISupports * Notify this observer that an item has changed position in a folder. * Note that items can exist in more than one folder, but may only occur once * within a given folder. + * If other bookmarks in the folder shift due to the item being moved, + * no additional onItemMoved notifications are sent. + * * @param bookmark The bookmark item that changed position. * @param folder The folder where the item changed position. * @param oldIndex The old index of the item in the folder.