mirror of
https://github.com/mozilla/gecko-dev.git
synced 2025-01-27 07:34:20 +00:00
Adding accelerator for View|Page Source (51541). r=pavlov
This commit is contained in:
parent
ae0b365558
commit
0a518e3c75
@ -70,6 +70,8 @@ Contributor(s): Blake Ross <BlakeR1234@aol.com>. -->
|
||||
key="&reduceTextSizeCmd.commandkey;"
|
||||
observes="Browser:ReduceTextSize"/>
|
||||
-->
|
||||
<key id="key_viewsource" xulkey="true" key="&pageSourceCmd.commandkey;" observes="View:PageSource"/>
|
||||
|
||||
|
||||
<!-- Search Menu -->
|
||||
<key id="key_find" xulkey="true" key="&findOnCmd.commandkey;" observes="Browser:Find"/>
|
||||
@ -134,6 +136,8 @@ Contributor(s): Blake Ross <BlakeR1234@aol.com>. -->
|
||||
<broadcaster id="cmd_viewnavbar" class="menuitem-iconic" type="checkbox" oncommand="goToggleToolbar( 'nav-bar','cmd_viewnavbar');" checked="true"/>
|
||||
<broadcaster id="cmd_viewpersonaltoolbar" class="menuitem-iconic" type="checkbox" oncommand="goToggleToolbar('PersonalToolbar','cmd_viewpersonaltoolbar');" checked="true"/>
|
||||
<broadcaster id="cmd_viewtaskbar" class="menuitem-iconic" type="checkbox" oncommand="goToggleToolbar('taskbar','cmd_viewtaskbar');" checked="true"/>
|
||||
<broadcaster id="View:PageSource" value="&pageSourceCmd.label;" oncommand="BrowserViewSource();"/>
|
||||
|
||||
|
||||
<broadcaster id="Browser:Open" value="&openCmd.label;" oncommand="BrowserOpenWindow();"/>
|
||||
<broadcaster id="Browser:OpenFile" value="&openFileCmd.label;" oncommand="BrowserOpenFileWindow();"/>
|
||||
@ -163,7 +167,6 @@ Contributor(s): Blake Ross <BlakeR1234@aol.com>. -->
|
||||
</broadcasterset>
|
||||
|
||||
|
||||
|
||||
<!-- Menu -->
|
||||
<menubar id="main-menubar" class="chromeclass-menubar">
|
||||
<menu id="menu_File">
|
||||
@ -239,12 +242,12 @@ Contributor(s): Blake Ross <BlakeR1234@aol.com>. -->
|
||||
</menupopup>
|
||||
</menu>
|
||||
<menuseparator />
|
||||
<menuitem id="menuitem-reload" key="key_reload" value="&reloadCmd.label;" observes="canReload" />
|
||||
<menuitem id="menuitem-reload" accesskey="&reloadCmd.accesskey;" key="key_reload" value="&reloadCmd.label;" observes="canReload" />
|
||||
<menuitem value="&showImagesCmd.label;" disabled="true" oncommand="BrowserReload();"/>
|
||||
<menuitem value="&stopCmd.label;" id="menuitem-stop" oncommand="BrowserStop();"/>
|
||||
<menuseparator />
|
||||
<menuitem value="&pageSourceCmd.label;" oncommand="BrowserViewSource();"/>
|
||||
<menuitem value="&pageInfoCmd.label;" oncommand="BrowserPageInfo();"/>
|
||||
<menuitem accesskey="&pageSourceCmd.accesskey;" key="key_viewsource" observes="View:PageSource"/>
|
||||
<menuitem accesskey="&pageInfoCmd.accesskey;" value="&pageInfoCmd.label;" oncommand="BrowserPageInfo();"/>
|
||||
<menuseparator />
|
||||
<menuitem value="&translateMenu.label;" oncommand="Translate();"/>
|
||||
<menu value="&webContentMenu.label;"
|
||||
|
@ -70,10 +70,14 @@
|
||||
<!ENTITY useStyleSheetMenu.label "Use Stylesheet">
|
||||
<!ENTITY useStyleSheetNone.label "None">
|
||||
<!ENTITY reloadCmd.label "Reload">
|
||||
<!ENTITY reloadCmd.accesskey "r">
|
||||
<!ENTITY showImagesCmd.label "Show Images">
|
||||
<!ENTITY stopCmd.label "Stop">
|
||||
<!ENTITY pageSourceCmd.label "Page Source">
|
||||
<!ENTITY pageSourceCmd.accesskey "u">
|
||||
<!ENTITY pageSourceCmd.commandkey "u">
|
||||
<!ENTITY pageInfoCmd.label "Page Info">
|
||||
<!ENTITY pageInfoCmd.accesskey "i">
|
||||
<!ENTITY translateMenu.label "Translate">
|
||||
<!ENTITY translate.commandKey "t">
|
||||
<!ENTITY webContentMenu.label "Languages and Web Content">
|
||||
|
Loading…
x
Reference in New Issue
Block a user