From 0b039f085f6808a755e0ec8a36d0a029019cd3a4 Mon Sep 17 00:00:00 2001 From: "sspitzer%mozilla.org" Date: Thu, 3 Aug 2006 00:54:49 +0000 Subject: [PATCH] fix for bug #342845 when dragging a tab over the "all tabs" button, act as if we are dragging over the "scroll down" button r=mconnor --- toolkit/content/widgets/tabbrowser.xml | 7 +++++-- toolkit/themes/pinstripe/global/globalBindings.xml | 3 ++- 2 files changed, 7 insertions(+), 3 deletions(-) diff --git a/toolkit/content/widgets/tabbrowser.xml b/toolkit/content/widgets/tabbrowser.xml index 5c15bcac466d..331680149537 100644 --- a/toolkit/content/widgets/tabbrowser.xml +++ b/toolkit/content/widgets/tabbrowser.xml @@ -1686,7 +1686,9 @@ pixelsToScroll = tabStrip.scrollIncrement * -1; tabStrip.scrollByPixels(pixelsToScroll); } - else if (targetAnonid == "scrollbutton-down") { + else if (targetAnonid == "scrollbutton-down" || + (targetAnonid == "alltabs-button" && + this.mTabContainer.getAttribute("overflow") == "true")) { pixelsToScroll = tabStrip.scrollIncrement; tabStrip.scrollByPixels(pixelsToScroll); } @@ -2483,7 +2485,8 @@ see bugs #346307 and #346035 --> - + diff --git a/toolkit/themes/pinstripe/global/globalBindings.xml b/toolkit/themes/pinstripe/global/globalBindings.xml index 1e9ab3a67f58..6b242e2e1628 100644 --- a/toolkit/themes/pinstripe/global/globalBindings.xml +++ b/toolkit/themes/pinstripe/global/globalBindings.xml @@ -78,7 +78,8 @@ see bugs #346307 and #346035 --> - +