331414 - accesskeys collide in bookmark organizer window. patch by changdong.cui@sun.com r=ben@mozilla.org

This commit is contained in:
beng%bengoodger.com 2006-04-10 20:01:19 +00:00
parent ae476806c5
commit dd72df764c
4 changed files with 6 additions and 5 deletions

View File

@ -53,8 +53,7 @@
label="&cmd.new_bookmark.label;" accesskey="&cmd.new_bookmark.accesskey;"
oncommand="PlacesController.newBookmark()"/>
<command id="placesCmd_new:folder"
label="&cmd.new_folder.label;" accesskey="&cmd.new_folder.accesskey;"
oncommand="PlacesController.newFolder()"/>
label="&cmd.new_folder.label;" oncommand="PlacesController.newFolder()"/>
<command id="placesCmd_new:separator" label="&cmd.new_separator.label;" accesskey="&cmd.new_separator.accesskey;"
oncommand="PlacesController.newSeparator()"/>
</commandset>

View File

@ -16,7 +16,7 @@
selection="link"/>
<menuseparator id="placesContext_openSeparator"
selection="link|links|folder"/>
<menuitem id="placesContext_new:folder" command="placesCmd_new:folder"
<menuitem id="placesContext_new:folder" command="placesCmd_new:folder" accesskey="&cmd.context_new_folder.accesskey;"
selection="mutable"/>
<menuitem id="placesContext_new:separator" command="placesCmd_new:separator"
selection="mutable"/>

View File

@ -93,7 +93,7 @@
<menu id="fileMenu" label="&file.label;" accesskey="&file.accesskey;">
<menupopup>
<menuitem id="fileNewBookmark" command="placesCmd_new:bookmark"/>
<menuitem id="fileNewFolder" command="placesCmd_new:folder"/>
<menuitem id="fileNewFolder" command="placesCmd_new:folder" accesskey="&cmd.new_folder.accesskey;"/>
<menuitem id="fileNewSeparator" command="placesCmd_new:separator"/>
<menuseparator/>
<menuitem id="fileImport" command="placesCmd_import"/>
@ -186,7 +186,7 @@
</menupopup>
</button>
</textbox>
<toolbarbutton id="toolbarNewFolder" command="placesCmd_new:folder"/>
<toolbarbutton id="toolbarNewFolder" command="placesCmd_new:folder" accesskey="&cmd.new_folder.accesskey;"/>
<toolbarbutton id="toolbarDelete" command="placesCmd_edit:delete"/>
<spacer flex="1"/>
<toolbarbutton id="toolbarGroupOff" type="radio" group="grouping"

View File

@ -140,6 +140,8 @@
<!ENTITY cmd.new_folder.label
"New Folder...">
<!ENTITY cmd.new_folder.accesskey
"o">
<!ENTITY cmd.context_new_folder.accesskey
"F">
<!ENTITY cmd.new_separator.label
"New Separator">