Bug 1558565 - Add a 'favorites' submenu to appmenu > go > folder. r=mkmelin
authorPaul Morris <paul@paulwmorris.com>
Wed, 19 Jun 2019 11:27:38 -0400
changeset 35974 ca1b8ae86f9bd685de4c9c2cc019c38637996977
parent 35973 71b2391d6c438c32cdd1f9598b96b7f7efe6cde7
child 35975 d714bac9fcfa78997c1de9d92118b61d028dedd9
push id392
push userclokep@gmail.com
push dateMon, 02 Sep 2019 20:17:19 +0000
reviewersmkmelin
bugs1558565
Bug 1558565 - Add a 'favorites' submenu to appmenu > go > folder. r=mkmelin For consistency with the main menubar's go > folder, which has this submenu.
mail/components/customizableui/content/panelUI.inc.xul
--- a/mail/components/customizableui/content/panelUI.inc.xul
+++ b/mail/components/customizableui/content/panelUI.inc.xul
@@ -1368,18 +1368,20 @@
 
     <!-- Go / Folder -->
     <!-- toolbarbuttons are dynamically added by folder-panelview custom element. -->
     <panelview is="folder-panelview" id="appMenu-goFolderView"
                title="&folderMenu.label;"
                class="PanelUI-subView"
                showFileHereLabel="true"
                showRecent="true"
+               showFavorites="true"
                command="cmd_goFolder"
-               recentLabel="&contextMoveCopyMsgRecentMenu.label;"/>
+               recentLabel="&contextMoveCopyMsgRecentMenu.label;"
+               favoritesLabel="&contextMoveCopyMsgFavoritesMenu.label;"/>
 
     <!-- Go / Recently Closed Tabs -->
     <!-- Dynamically populated when shown. -->
     <!-- TODO appmenu - what about this 'observes' bit?
         <menu id="appmenu_goRecentlyClosedTabs"
                   label="&goRecentlyClosedTabs.label;"
                   observes="cmd_undoCloseTab">
     -->