Bug 1451489 - Add missing context menuitem labels and commands. r=jorgk a=jorgk
authorRichard Marti <richard.marti@gmail.com>
Thu, 05 Apr 2018 20:04:51 +0200
changeset 30526 f7940352f84428705799d049a1c92f136c5da4ab
parent 30525 706c1e5a18c77b03ab4deafa26cac2d532c44471
child 30527 63d73d4ad8fb8f2e5ffde1c315caada905ec61df
push idunknown
push userunknown
push dateunknown
reviewersjorgk, jorgk
bugs1451489
Bug 1451489 - Add missing context menuitem labels and commands. r=jorgk a=jorgk
common/src/viewSource.xul
--- a/common/src/viewSource.xul
+++ b/common/src/viewSource.xul
@@ -122,29 +122,38 @@
               command="Browser:Back"
               observes="viewSourceNavigation"/>
     <menuitem id="context-forward"
               label="&forwardCmd.label;"
               accesskey="&forwardCmd.accesskey;"
               command="Browser:Forward"
               observes="viewSourceNavigation"/>
     <menuseparator observes="viewSourceNavigation"/>
-    <menuitem id="cMenu_findAgain"/>
+    <menuitem id="cMenu_findAgain"
+              label="&findAgainCmd.label;"
+              accesskey="&findAgainCmd.accesskey;"
+              command="cmd_findAgain"/>
     <menuseparator/>
-    <menuitem id="cMenu_copy"/>
+    <menuitem id="cMenu_copy"
+              label="&copyCmd.label;"
+              accesskey="&copyCmd.accesskey;"
+              command="cmd_copy"/>
     <menuitem id="context-copyLink"
               label="&copyLinkCmd.label;"
               accesskey="&copyLinkCmd.accesskey;"
               oncommand="viewSourceChrome.onContextMenuCopyLinkOrEmail();"/>
     <menuitem id="context-copyEmail"
               label="&copyEmailCmd.label;"
               accesskey="&copyEmailCmd.accesskey;"
               oncommand="viewSourceChrome.onContextMenuCopyLinkOrEmail();"/>
     <menuseparator/>
-    <menuitem id="cMenu_selectAll"/>
+    <menuitem id="cMenu_selectAll"
+              label="&selectAllCmd.label;"
+              accesskey="&selectAllCmd.accesskey;"
+              command="cmd_selectAll"/>
   </menupopup>
 
   <!-- Menu -->
   <toolbox id="viewSource-toolbox">
     <menubar id="viewSource-main-menubar">
 
       <menu id="menu_file" label="&fileMenu.label;" accesskey="&fileMenu.accesskey;">
         <menupopup id="menu_FilePopup">