mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-27 06:43:32 +00:00
68961 (r=varada, sr=ben/alecf, a=asa) "sort" options on view menu of history should have mnemonics
This commit is contained in:
parent
ea2236d67f
commit
2a5a094dd4
@ -101,36 +101,43 @@
|
|||||||
<outlinercol flex="4" id="Name" persist="hidden width sortActive sortDirection ordinal"
|
<outlinercol flex="4" id="Name" persist="hidden width sortActive sortDirection ordinal"
|
||||||
label="&tree.header.name.label;" primary="true"
|
label="&tree.header.name.label;" primary="true"
|
||||||
sort="rdf:http://home.netscape.com/NC-rdf#Name"
|
sort="rdf:http://home.netscape.com/NC-rdf#Name"
|
||||||
|
accesskey="&tree.header.name.akey;"
|
||||||
class="sortDirectionIndicator"/>
|
class="sortDirectionIndicator"/>
|
||||||
<splitter class="tree-splitter" id="pre-URL-splitter"/>
|
<splitter class="tree-splitter" id="pre-URL-splitter"/>
|
||||||
<outlinercol flex="4" id="URL"
|
<outlinercol flex="4" id="URL"
|
||||||
persist="hidden width sortActive sortDirection ordinal"
|
persist="hidden width sortActive sortDirection ordinal"
|
||||||
label="&tree.header.url.label;" class="sortDirectionIndicator"
|
label="&tree.header.url.label;" class="sortDirectionIndicator"
|
||||||
|
accesskey="&tree.header.url.akey;"
|
||||||
sort="rdf:http://home.netscape.com/NC-rdf#URL"/>
|
sort="rdf:http://home.netscape.com/NC-rdf#URL"/>
|
||||||
<splitter class="tree-splitter" id="pre-Date-splitter"/>
|
<splitter class="tree-splitter" id="pre-Date-splitter"/>
|
||||||
<outlinercol flex="1" id="Date"
|
<outlinercol flex="1" id="Date"
|
||||||
persist="hidden width sortActive sortDirection ordinal"
|
persist="hidden width sortActive sortDirection ordinal"
|
||||||
label="&tree.header.date.label;" class="sortDirectionIndicator"
|
label="&tree.header.date.label;" class="sortDirectionIndicator"
|
||||||
|
accesskey="&tree.header.date.akey;"
|
||||||
sort="rdf:http://home.netscape.com/NC-rdf#Date"/>
|
sort="rdf:http://home.netscape.com/NC-rdf#Date"/>
|
||||||
<splitter class="tree-splitter" id="pre-FirstVisitDate-splitter"/>
|
<splitter class="tree-splitter" id="pre-FirstVisitDate-splitter"/>
|
||||||
<outlinercol flex="1" id="FirstVisitDate" hidden="true"
|
<outlinercol flex="1" id="FirstVisitDate" hidden="true"
|
||||||
persist="hidden width sortActive sortDirection ordinal"
|
persist="hidden width sortActive sortDirection ordinal"
|
||||||
label="&tree.header.firstvisitdate.label;" class="sortDirectionIndicator"
|
label="&tree.header.firstvisitdate.label;" class="sortDirectionIndicator"
|
||||||
|
accesskey="&tree.header.firstvisitdate.akey;"
|
||||||
sort="rdf:http://home.netscape.com/NC-rdf#FirstVisitDate"/>
|
sort="rdf:http://home.netscape.com/NC-rdf#FirstVisitDate"/>
|
||||||
<splitter class="tree-splitter" id="pre-Hostname-splitter"/>
|
<splitter class="tree-splitter" id="pre-Hostname-splitter"/>
|
||||||
<outlinercol flex="1" id="Hostname" hidden="true"
|
<outlinercol flex="1" id="Hostname" hidden="true"
|
||||||
persist="hidden width sortActive sortDirection ordinal"
|
persist="hidden width sortActive sortDirection ordinal"
|
||||||
label="&tree.header.hostname.label;" class="sortDirectionIndicator"
|
label="&tree.header.hostname.label;" class="sortDirectionIndicator"
|
||||||
|
accesskey="&tree.header.hostname.akey;"
|
||||||
sort="rdf:http://home.netscape.com/NC-rdf#Hostname"/>
|
sort="rdf:http://home.netscape.com/NC-rdf#Hostname"/>
|
||||||
<splitter class="tree-splitter" id="pre-Referrer-splitter"/>
|
<splitter class="tree-splitter" id="pre-Referrer-splitter"/>
|
||||||
<outlinercol flex="1" id="Referrer" hidden="true"
|
<outlinercol flex="1" id="Referrer" hidden="true"
|
||||||
persist="hidden width sortActive sortDirection ordinal"
|
persist="hidden width sortActive sortDirection ordinal"
|
||||||
label="&tree.header.referrer.label;" class="sortDirectionIndicator"
|
label="&tree.header.referrer.label;" class="sortDirectionIndicator"
|
||||||
|
accesskey="&tree.header.referrer.akey;"
|
||||||
sort="rdf:http://home.netscape.com/NC-rdf#Referrer"/>
|
sort="rdf:http://home.netscape.com/NC-rdf#Referrer"/>
|
||||||
<splitter class="tree-splitter" id="pre-VisitCount-splitter"/>
|
<splitter class="tree-splitter" id="pre-VisitCount-splitter"/>
|
||||||
<outlinercol flex="1" id="VisitCount" hidden="true"
|
<outlinercol flex="1" id="VisitCount" hidden="true"
|
||||||
persist="hidden width sortActive sortDirection ordinal"
|
persist="hidden width sortActive sortDirection ordinal"
|
||||||
label="&tree.header.visitcount.label;" class="sortDirectionIndicator"
|
label="&tree.header.visitcount.label;" class="sortDirectionIndicator"
|
||||||
|
accesskey="&tree.header.visitcount.akey;"
|
||||||
sort="rdf:http://home.netscape.com/NC-rdf#VisitCount"/>
|
sort="rdf:http://home.netscape.com/NC-rdf#VisitCount"/>
|
||||||
</outlinercols>
|
</outlinercols>
|
||||||
</outliner>
|
</outliner>
|
||||||
|
@ -1,8 +1,15 @@
|
|||||||
<!ENTITY tree.header.name.label "Title">
|
<!ENTITY tree.header.name.label "Title">
|
||||||
<!ENTITY tree.header.url.label "Location">
|
<!ENTITY tree.header.name.akey "T">
|
||||||
<!ENTITY tree.header.date.label "Last Visited">
|
<!ENTITY tree.header.url.label "Location">
|
||||||
<!ENTITY tree.header.firstvisitdate.label "First Visited">
|
<!ENTITY tree.header.url.akey "L">
|
||||||
<!ENTITY tree.header.referrer.label "Referrer">
|
<!ENTITY tree.header.date.label "Last Visited">
|
||||||
<!ENTITY tree.header.hostname.label "Hostname">
|
<!ENTITY tree.header.date.akey "a">
|
||||||
<!ENTITY tree.header.visitcount.label "Visit Count">
|
<!ENTITY tree.header.firstvisitdate.label "First Visited">
|
||||||
<!ENTITY collapseExpand.accesskey "e">
|
<!ENTITY tree.header.firstvisitdate.akey "F">
|
||||||
|
<!ENTITY tree.header.referrer.label "Referrer">
|
||||||
|
<!ENTITY tree.header.referrer.akey "R">
|
||||||
|
<!ENTITY tree.header.hostname.label "Hostname">
|
||||||
|
<!ENTITY tree.header.hostname.akey "H">
|
||||||
|
<!ENTITY tree.header.visitcount.label "Visit Count">
|
||||||
|
<!ENTITY tree.header.visitcount.akey "V">
|
||||||
|
<!ENTITY collapseExpand.accesskey "e">
|
||||||
|
@ -275,9 +275,11 @@ function fillViewMenu(popup)
|
|||||||
if (skip_column != tree_column && tree_column.getAttribute("collapsed") != "true") {
|
if (skip_column != tree_column && tree_column.getAttribute("collapsed") != "true") {
|
||||||
// Construct an entry for each cell in the row.
|
// Construct an entry for each cell in the row.
|
||||||
var column_name = tree_column.getAttribute("label");
|
var column_name = tree_column.getAttribute("label");
|
||||||
|
var column_accesskey = treecolumn.getAttribute("accesskey");
|
||||||
var item = document.createElement("menuitem");
|
var item = document.createElement("menuitem");
|
||||||
item.setAttribute("type", "radio");
|
item.setAttribute("type", "radio");
|
||||||
item.setAttribute("name", "sort_column");
|
item.setAttribute("name", "sort_column");
|
||||||
|
item.setAttribute("accesskey", column_accesskey);
|
||||||
if (column_name == "")
|
if (column_name == "")
|
||||||
column_name = tree_column.getAttribute("display");
|
column_name = tree_column.getAttribute("display");
|
||||||
var name = name_template.replace(/%NAME%/g, column_name);
|
var name = name_template.replace(/%NAME%/g, column_name);
|
||||||
|
Loading…
Reference in New Issue
Block a user