From 42b04463cc9b6bbbb2a3a1b89d5da21f46e3d4c3 Mon Sep 17 00:00:00 2001 From: "p_ch%verizon.net" Date: Wed, 25 Aug 2004 20:24:14 +0000 Subject: [PATCH] Bug 235243: Need drag and drop feedback for toolbar bookmarks (and menuitem bookmarks for gtk2). In addition to the DND feedback, this patch: - introduces a new var 'BookmarksInsertion' that 'encapsulates' DND feedback display. - rewrite the rtl handling related to DND. BookmarksInsertion deals with this subtleties and the "public" feedback orientation ("before"|"on"|"after") returned by BookmarksInsertion.getOrientation refers now to the DOM. - paste and copy commands on the menus now insert after the rclicked element. The hack that appended everything at the end of the container has been removed or more accurately replaced by another one that is at least invisible to the user and we already used for DND. The problem is due a problem with the content building of containers with siblings (open in tabs stuff) not generated by the bookmarks template. - usual small glitch fixing. --- browser/base/content/browser.xul | 5 +- .../components/bookmarks/content/bookmarks.js | 26 +- .../bookmarks/content/bookmarksMenu.js | 490 +++++++++++------- browser/themes/pinstripe/browser/browser.css | 14 +- browser/themes/winstripe/browser/browser.css | 19 +- 5 files changed, 347 insertions(+), 207 deletions(-) diff --git a/browser/base/content/browser.xul b/browser/base/content/browser.xul index ff817bda2fb..f9522b18ae2 100644 --- a/browser/base/content/browser.xul +++ b/browser/base/content/browser.xul @@ -295,6 +295,9 @@ +