when dragging a tab over the "all tabs" button, act as if we are dragging over the "scroll down" button

r=mconnor
This commit is contained in:
sspitzer%mozilla.org 2006-08-03 00:54:49 +00:00
Родитель 5fd9cdfd65
Коммит 0b039f085f
2 изменённых файлов: 7 добавлений и 3 удалений

Просмотреть файл

@ -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
-->
<xul:hbox style="position: relative;">
<xul:toolbarbutton class="tabs-alltabs-button" type="menu">
<xul:toolbarbutton class="tabs-alltabs-button" type="menu"
anonid="alltabs-button">
<xul:menupopup class="tabs-alltabs-popup"
anonid="alltabs-popup"
position="after_end"/>

Просмотреть файл

@ -78,7 +78,8 @@
see bugs #346307 and #346035
-->
<xul:hbox style="position: relative;">
<xul:toolbarbutton class="tabs-alltabs-button" type="menu">
<xul:toolbarbutton class="tabs-alltabs-button" type="menu"
anonid="alltabs-button">
<xul:menupopup class="tabs-alltabs-popup"
anonid="alltabs-popup" position="after_end"/>
</xul:toolbarbutton>