зеркало из https://github.com/mozilla/pjs.git
fix for bug #331307: Bookmarks toolbar chevron is left-aligned instead of right-aligned
patch=Steve Won <swon@mozilla.com> r=mano
This commit is contained in:
Родитель
3c5c154175
Коммит
625a3284bb
|
@ -64,26 +64,26 @@
|
||||||
<xul:hbox class="bookmarks-toolbar-items places-toolbar-items" flex="1">
|
<xul:hbox class="bookmarks-toolbar-items places-toolbar-items" flex="1">
|
||||||
<children/>
|
<children/>
|
||||||
</xul:hbox>
|
</xul:hbox>
|
||||||
<xul:hbox mousethrough="always"
|
|
||||||
flex="1"
|
|
||||||
pack="end">
|
|
||||||
<xul:toolbarbutton type="menu"
|
|
||||||
class="chevron"
|
|
||||||
mousethrough="never"
|
|
||||||
collapsed="true">
|
|
||||||
<xul:menupopup type="places"
|
|
||||||
anonid="chevronPopup"
|
|
||||||
#ifndef XP_MACOSX
|
|
||||||
context="placesContext"
|
|
||||||
#endif
|
|
||||||
/>
|
|
||||||
</xul:toolbarbutton>
|
|
||||||
</xul:hbox>
|
|
||||||
<xul:toolbarbutton class="bookmark-item bookmarks-toolbar-customize"
|
<xul:toolbarbutton class="bookmark-item bookmarks-toolbar-customize"
|
||||||
mousethrough="never"
|
mousethrough="never"
|
||||||
label="&bookmarksToolbarItem.label;"/>
|
label="&bookmarksToolbarItem.label;"/>
|
||||||
</xul:hbox>
|
</xul:hbox>
|
||||||
</xul:vbox>
|
</xul:vbox>
|
||||||
|
<xul:hbox mousethrough="always"
|
||||||
|
flex="1"
|
||||||
|
pack="end">
|
||||||
|
<xul:toolbarbutton type="menu"
|
||||||
|
class="chevron"
|
||||||
|
mousethrough="never"
|
||||||
|
collapsed="true">
|
||||||
|
<xul:menupopup type="places"
|
||||||
|
anonid="chevronPopup"
|
||||||
|
#ifndef XP_MACOSX
|
||||||
|
context="placesContext"
|
||||||
|
#endif
|
||||||
|
/>
|
||||||
|
</xul:toolbarbutton>
|
||||||
|
</xul:hbox>
|
||||||
</content>
|
</content>
|
||||||
|
|
||||||
<implementation>
|
<implementation>
|
||||||
|
@ -1082,7 +1082,7 @@
|
||||||
if (event.target.localName == "toolbarbutton" ||
|
if (event.target.localName == "toolbarbutton" ||
|
||||||
event.target.localName == "toolbarseparator")
|
event.target.localName == "toolbarseparator")
|
||||||
this._selection = event.target.node;
|
this._selection = event.target.node;
|
||||||
else
|
else
|
||||||
this._selection = this.getResult().root;
|
this._selection = this.getResult().root;
|
||||||
]]></handler>
|
]]></handler>
|
||||||
<handler event="draggesture"><![CDATA[
|
<handler event="draggesture"><![CDATA[
|
||||||
|
|
Загрузка…
Ссылка в новой задаче