Bug 236340 - Change position of Delete and Properties items in the context menu of contacts sidebar. r=aceman
authorRichard Marti <richard.marti@gmail.com>
Mon, 13 Jun 2016 20:58:04 +0200
changeset 19463 17d2260dacf286a7099eb06eb1e025a879dca6bc
parent 19462 d8e0c5ff9c11ec6b775cd01536d544de9196b089
child 19464 4484cd5998c91cfab43a6b68ee3efdc303333e16
push id11983
push userrichard.marti@gmail.com
push dateMon, 13 Jun 2016 20:34:47 +0000
treeherdercomm-central@17d2260dacf2 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersaceman
bugs236340
Bug 236340 - Change position of Delete and Properties items in the context menu of contacts sidebar. r=aceman
mail/components/addrbook/content/abContactsPanel.xul
--- a/mail/components/addrbook/content/abContactsPanel.xul
+++ b/mail/components/addrbook/content/abContactsPanel.xul
@@ -41,34 +41,35 @@
   </commandset>
 
   <!-- These keys do not really run any command, but they are used to show
        the hotkeys at the corresponding menuitems -->
   <key id="key_delete" keycode="VK_DELETE"/>
   <key id="key_properties" modifiers="alt" keycode="VK_RETURN"/>
 
   <menupopup id="cardProperties">
-    <menuitem label="&deleteAddrBookCard.label;"
-              accesskey="&deleteAddrBookCard.accesskey;"
-              key="key_delete"
-              command="cmd_delete"/>
-    <menuitem label="&addrBookCardProperties.label;"
-              accesskey="&addrBookCardProperties.accesskey;"
-              key="key_properties"
-              command="cmd_properties"/>
-    <menuseparator/>
     <menuitem label="&addtoToFieldMenu.label;"
               accesskey="&addtoToFieldMenu.accesskey;"
               oncommand="addSelectedAddresses('addr_to');"/>
     <menuitem label="&addtoCcFieldMenu.label;"
               accesskey="&addtoCcFieldMenu.accesskey;"
               oncommand="addSelectedAddresses('addr_cc');"/>
     <menuitem label="&addtoBccFieldMenu.label;"
               accesskey="&addtoBccFieldMenu.accesskey;"
               oncommand="addSelectedAddresses('addr_bcc');"/>
+    <menuseparator/>
+    <menuitem label="&deleteAddrBookCard.label;"
+              accesskey="&deleteAddrBookCard.accesskey;"
+              key="key_delete"
+              command="cmd_delete"/>
+    <menuseparator/>
+    <menuitem label="&addrBookCardProperties.label;"
+              accesskey="&addrBookCardProperties.accesskey;"
+              key="key_properties"
+              command="cmd_properties"/>
   </menupopup>
 
   <vbox id="results_box" flex="1">
     <separator class="thin"/>
     <label value="&addressbookPicker.label;" accesskey="&addressbookPicker.accesskey;" control="addressbookList"/>
     <hbox id="panel-bar" class="toolbar" align="center">
       <menulist id="addressbookList"
                 oncommand="AddressBookMenuListChange();" flex="1"