Bug 562776: Buttons in digest pane are using the same access key multiple times. r=Unfocused

This commit is contained in:
Michael Kohler 2010-05-26 08:13:08 -07:00
Родитель 9136e67528
Коммит 82b72cabd6
2 изменённых файлов: 0 добавлений и 16 удалений

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

@ -86,10 +86,8 @@
<!ENTITY showMore.label "Show more">
<!ENTITY showMore.accesskey "m">
<!ENTITY showMore.tooltip "Show more details">
<!ENTITY showLess.label "Show less">
<!ENTITY showLess.accesskey "l">
<!ENTITY showLess.tooltip "Show fewer details">
<!ENTITY search.filter.label "Show:">

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

@ -712,13 +712,10 @@
<xul:spacer flex="1"/>
<xul:button type="checkbox" anonid="toggle-more" class="toggle-more"
label="&showMore.label;"
accesskey="&showMore.accesskey;"
tooltiptext="&showMore.tooltip;"
showless="&showLess.label;"
showlessaccesskey="&showLess.accesskey;"
showlesstooltip="&showLess.tooltip;"
showmore="&showMore.label;"
showmoreaccesskey="&showMore.accesskey;"
showmoretooltip="&showMore.tooltip;"
oncommand="document.getBindingParent(this).toggleDetails();"/>
</xul:hbox>
@ -727,17 +724,14 @@
<xul:hbox anonid="control-container" class="control-container">
<xul:button anonid="remove-btn" class="addon-control remove"
label="&cmd.uninstallAddon.label;"
accesskey="&cmd.uninstallAddon.accesskey;"
tooltiptext="&cmd.uninstallAddon.tooltip;"
oncommand="document.getBindingParent(this).uninstall();"/>
<xul:button anonid="enable-btn" class="addon-control enable"
label="&cmd.enableAddon.label;"
accesskey="&cmd.enableAddon.accesskey;"
tooltiptext="&cmd.enableAddon.tooltip;"
oncommand="document.getBindingParent(this).userDisabled = false;"/>
<xul:button anonid="disable-btn" class="addon-control disable"
label="&cmd.disableAddon.label;"
accesskey="&cmd.disableAddon.accesskey;"
tooltiptext="&cmd.disableAddon.tooltip;"
oncommand="document.getBindingParent(this).userDisabled = true;"/>
</xul:hbox>
@ -882,10 +876,6 @@
"label",
this._toggleMore.getAttribute("showmore")
);
this._toggleMore.setAttribute(
"accesskey",
this._toggleMore.getAttribute("showmoreaccesskey")
);
this._toggleMore.setAttribute(
"tooltiptext",
this._toggleMore.getAttribute("showmoretooltip")
@ -898,10 +888,6 @@
"label",
this._toggleMore.getAttribute("showless")
);
this._toggleMore.setAttribute(
"accesskey",
this._toggleMore.getAttribute("showlessaccesskey")
);
this._toggleMore.setAttribute(
"tooltiptext",
this._toggleMore.getAttribute("showlesstooltip")