Bug 1697863 - Use native menulist styling on some dialogs. r=harry

Differential Revision: https://phabricator.services.mozilla.com/D108101
This commit is contained in:
Mike Conley 2021-03-17 17:15:10 +00:00
Родитель 1a2a277eab
Коммит 9420f7a7a8
4 изменённых файлов: 4 добавлений и 4 удалений

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

@ -38,7 +38,7 @@
<menulist id="sanitizeDurationChoice"
preference="privacy.sanitize.timeSpan"
onselect="gSanitizePromptDialog.selectByTimespan();"
flex="1">
flex="1" native="true">
<menupopup id="sanitizeDurationPopup">
<menuitem data-l10n-id="clear-time-duration-value-last-hour" value="1"/>
<menuitem data-l10n-id="clear-time-duration-value-last-2-hours" value="2"/>

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

@ -48,7 +48,7 @@
<hbox align="center">
<label data-l10n-id="set-background-position"/>
<menulist id="menuPosition"
oncommand="gSetBackground.updatePosition();">
oncommand="gSetBackground.updatePosition();" native="true">
<menupopup>
<menuitem data-l10n-id="set-background-center" value="CENTER"/>
<menuitem data-l10n-id="set-background-tile" value="TILE"/>

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

@ -36,7 +36,7 @@
<!-- The items in this menulist must never be sorted,
but remain in the order filled by the application
-->
<menulist id="nicknames" oncommand="onCertSelected();">
<menulist id="nicknames" oncommand="onCertSelected();" native="true">
<menupopup/>
</menulist>
<description data-l10n-id="client-auth-cert-details"></description>

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

@ -72,7 +72,7 @@
<radio id="open" label="&openWith.label;" accesskey="&openWith.accesskey;"/>
<deck id="modeDeck" flex="1">
<hbox id="openHandlerBox" flex="1" align="center">
<menulist id="openHandler" flex="1">
<menulist id="openHandler" flex="1" native="true">
<menupopup id="openHandlerPopup" oncommand="dialog.openHandlerCommand();">
<menuitem id="defaultHandler" default="true" crop="right"/>
<menuitem id="otherHandler" hidden="true" crop="left"/>