From fa749291d346f396e4ce498e27331e0179cfa023 Mon Sep 17 00:00:00 2001 From: "annie.sullivan%gmail.com" Date: Wed, 1 Mar 2006 19:45:02 +0000 Subject: [PATCH] Makes items on places toolbar show up as a button during customize so that they can easily be moved. r=ben@mozilla.org bug=327364 git-svn-id: svn://10.0.0.236/trunk@191512 18797224-902f-48f8-a5cc-f745e15eee43 --- mozilla/browser/base/content/browser.xul | 4 ++-- .../components/places/content/toolbar.xml | 16 +++++++++++++--- .../browser/themes/pinstripe/browser/browser.css | 4 ++++ .../browser/themes/winstripe/browser/browser.css | 4 ++++ 4 files changed, 23 insertions(+), 5 deletions(-) diff --git a/mozilla/browser/base/content/browser.xul b/mozilla/browser/base/content/browser.xul index 80dbe313f23..988fc532110 100644 --- a/mozilla/browser/base/content/browser.xul +++ b/mozilla/browser/base/content/browser.xul @@ -272,7 +272,7 @@ #ifdef MOZ_PLACES - + +#ifndef MOZ_PLACES -#ifndef MOZ_PLACES + +%browserDTD; +]> + - + + + @@ -32,6 +39,9 @@ /> + @@ -70,8 +80,8 @@ ]]> - document.getAnonymousNodes(this)[0].firstChild - document.getAnonymousNodes(this)[0].childNodes[1].firstChild.firstChild + document.getAnonymousElementByAttribute(this, "class", "toolbar-drop-indicator-bar") + document.getAnonymousElementByAttribute(this, "class", "chevron") null diff --git a/mozilla/browser/themes/pinstripe/browser/browser.css b/mozilla/browser/themes/pinstripe/browser/browser.css index baf52a1ad7a..9185d82dc07 100755 --- a/mozilla/browser/themes/pinstripe/browser/browser.css +++ b/mozilla/browser/themes/pinstripe/browser/browser.css @@ -195,6 +195,10 @@ toolbarpaletteitem[place="toolbar"] .bookmarks-toolbar-items { visibility: hidden; } +toolbarpaletteitem[place="toolbar"] .places-toolbar-items { + display: none; +} + /* ::::: bookmark menus ::::: */ .bookmark-item > .menu-iconic-left > .menu-iconic-icon { diff --git a/mozilla/browser/themes/winstripe/browser/browser.css b/mozilla/browser/themes/winstripe/browser/browser.css index eb6e9a1df59..80b0d69f693 100644 --- a/mozilla/browser/themes/winstripe/browser/browser.css +++ b/mozilla/browser/themes/winstripe/browser/browser.css @@ -127,6 +127,10 @@ toolbarpaletteitem[place="toolbar"] .bookmarks-toolbar-items { visibility: hidden; } +toolbarpaletteitem[place="toolbar"] .places-toolbar-items { + display: none; +} + /* ::::: bookmark menus ::::: */ menu.bookmark-item,