mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 1149179 - Use separate access keys for Enter and Exit in Reader View. r=me, a=RyanVM
This commit is contained in:
parent
e803dcfc9a
commit
3e44325c80
@ -135,6 +135,7 @@ let ReaderParent = {
|
||||
button.setAttribute("tooltiptext", closeText);
|
||||
command.setAttribute("label", closeText);
|
||||
command.setAttribute("hidden", false);
|
||||
command.setAttribute("accesskey", gStringBundle.GetStringFromName("readerView.close.accesskey"));
|
||||
} else {
|
||||
button.removeAttribute("readeractive");
|
||||
button.hidden = !browser.isArticle;
|
||||
@ -142,8 +143,8 @@ let ReaderParent = {
|
||||
button.setAttribute("tooltiptext", enterText);
|
||||
command.setAttribute("label", enterText);
|
||||
command.setAttribute("hidden", !browser.isArticle);
|
||||
command.setAttribute("accesskey", gStringBundle.GetStringFromName("readerView.enter.accesskey"));
|
||||
}
|
||||
command.setAttribute("accesskey", gStringBundle.GetStringFromName("readerView.accesskey"));
|
||||
},
|
||||
|
||||
toggleReaderMode: function(event) {
|
||||
|
@ -31,5 +31,6 @@ aboutReader.footer.deleteThisArticle=Delete this article
|
||||
# These are used for the Reader View toolbar button and the menuitem within the
|
||||
# View menu.
|
||||
readerView.enter=Enter Reader View
|
||||
readerView.enter.accesskey=R
|
||||
readerView.close=Close Reader View
|
||||
readerView.accesskey=R
|
||||
readerView.close.accesskey=R
|
||||
|
Loading…
Reference in New Issue
Block a user