Bug 1379123 - Sort UI density options by density. r=dao

MozReview-Commit-ID: JibzseS8LEN

--HG--
extra : rebase_source : d2813c714a04a150fb6c344235908239682fabd4
This commit is contained in:
Johann Hofmann 2017-07-13 14:59:45 +02:00
Родитель 8f2cc50a2a
Коммит d5983f0183
1 изменённых файлов: 12 добавлений и 12 удалений

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

@ -61,18 +61,6 @@
position="topcenter bottomleft"
flip="none"
role="menu">
<menuitem id="customization-uidensity-menu-button-normal"
class="menuitem-iconic customization-uidensity-menu-button"
role="menuitemradio"
label="&customizeMode.uidensity.menuNormal.label;"
accesskey="&customizeMode.uidensity.menuNormal.accessKey;"
tooltiptext="&customizeMode.uidensity.menuNormal.tooltip;"
tabindex="0"
onfocus="gCustomizeMode.updateUIDensity(this.mode);"
onmouseover="gCustomizeMode.updateUIDensity(this.mode);"
onblur="gCustomizeMode.resetUIDensity();"
onmouseout="gCustomizeMode.resetUIDensity();"
oncommand="gCustomizeMode.setUIDensity(this.mode);" />
<menuitem id="customization-uidensity-menu-button-compact"
class="menuitem-iconic customization-uidensity-menu-button"
role="menuitemradio"
@ -85,6 +73,18 @@
onblur="gCustomizeMode.resetUIDensity();"
onmouseout="gCustomizeMode.resetUIDensity();"
oncommand="gCustomizeMode.setUIDensity(this.mode);" />
<menuitem id="customization-uidensity-menu-button-normal"
class="menuitem-iconic customization-uidensity-menu-button"
role="menuitemradio"
label="&customizeMode.uidensity.menuNormal.label;"
accesskey="&customizeMode.uidensity.menuNormal.accessKey;"
tooltiptext="&customizeMode.uidensity.menuNormal.tooltip;"
tabindex="0"
onfocus="gCustomizeMode.updateUIDensity(this.mode);"
onmouseover="gCustomizeMode.updateUIDensity(this.mode);"
onblur="gCustomizeMode.resetUIDensity();"
onmouseout="gCustomizeMode.resetUIDensity();"
oncommand="gCustomizeMode.setUIDensity(this.mode);" />
#ifndef XP_MACOSX
<menuitem id="customization-uidensity-menu-button-touch"
class="menuitem-iconic customization-uidensity-menu-button"