Bug 332201: the same keys conflict in places' context menu, patch by changdong.cui@sun.com, r=ben

This commit is contained in:
gavin%gavinsharp.com 2006-04-18 11:02:32 +00:00
Родитель a4323b2511
Коммит cc6c93ae8e
4 изменённых файлов: 6 добавлений и 2 удалений

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

@ -85,7 +85,7 @@
oncommand="PlacesController.openLinksInTabs();"/> oncommand="PlacesController.openLinksInTabs();"/>
</commandset> </commandset>
<commandset type="container"> <commandset type="container">
<command id="placesCmd_sortby:name" label="&cmd.sortby_name.label;" accesskey="&cmd.sortby_name.accesskey;"/> <command id="placesCmd_sortby:name" label="&cmd.sortby_name.label;"/>
<command id="placesCmd_new:bookmark" <command id="placesCmd_new:bookmark"
label="&cmd.new_bookmark.label;" accesskey="&cmd.new_bookmark.accesskey;" label="&cmd.new_bookmark.label;" accesskey="&cmd.new_bookmark.accesskey;"
oncommand="PlacesController.newBookmark()"/> oncommand="PlacesController.newBookmark()"/>

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

@ -75,6 +75,7 @@
<menuitem id="placesContext_reload" command="placesCmd_reload" <menuitem id="placesContext_reload" command="placesCmd_reload"
selection="livemark/feedURI|livemark/bookmarkFeedURI|allLivemarks"/> selection="livemark/feedURI|livemark/bookmarkFeedURI|allLivemarks"/>
<menuitem id="placesContext_sortby:name" command="placesCmd_sortby:name" <menuitem id="placesContext_sortby:name" command="placesCmd_sortby:name"
accesskey="&cmd.context_sortby_name.accesskey;"
selection="mutable"/> selection="mutable"/>
<menuseparator id="placesContext_sortSeparator" <menuseparator id="placesContext_sortSeparator"
selection="mutable|livemark/feedURI|livemark/bookmarkFeedURI|allLivemarks"/> selection="mutable|livemark/feedURI|livemark/bookmarkFeedURI|allLivemarks"/>

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

@ -169,7 +169,8 @@
<menuitem id="editSelectAll" command="placesCmd_select:all" <menuitem id="editSelectAll" command="placesCmd_select:all"
key="placesKey_select:all"/> key="placesKey_select:all"/>
<menuseparator/> <menuseparator/>
<menuitem id="editSortByName" command="placesCmd_sortby:name"/> <menuitem id="editSortByName" command="placesCmd_sortby:name"
accesskey="&cmd.sortby_name.accesskey;"/>
<menuseparator/> <menuseparator/>
<menuitem id="editFind" command="placesCmd_find" <menuitem id="editFind" command="placesCmd_find"
key="placesKey_find"/> key="placesKey_find"/>

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

@ -137,6 +137,8 @@
"Sort By Name"> "Sort By Name">
<!ENTITY cmd.sortby_name.accesskey <!ENTITY cmd.sortby_name.accesskey
"S"> "S">
<!ENTITY cmd.context_sortby_name.accesskey
"r">
<!ENTITY cmd.new_bookmark.label <!ENTITY cmd.new_bookmark.label
"New Bookmark..."> "New Bookmark...">
<!ENTITY cmd.new_bookmark.accesskey <!ENTITY cmd.new_bookmark.accesskey