Bug 1646438 - Add 'OpenPGP Key Management' item to the appmenu's tools panel. r=aleca a=wsmwk
authorPaul Morris <paul@thunderbird.net>
Sat, 20 Jun 2020 12:37:29 +0300
changeset 39441 26c885880a1218d151f24e83fe538590dd18f21d
parent 39440 579c86c17e2ce61397843413228d609f0186f807
child 39442 2e2037a688124d09804a762499be68ce3c8ec57c
push id402
push userclokep@gmail.com
push dateMon, 29 Jun 2020 20:48:04 +0000
reviewersaleca, wsmwk
bugs1646438
Bug 1646438 - Add 'OpenPGP Key Management' item to the appmenu's tools panel. r=aleca a=wsmwk
mail/components/customizableui/content/panelUI.inc.xhtml
--- a/mail/components/customizableui/content/panelUI.inc.xhtml
+++ b/mail/components/customizableui/content/panelUI.inc.xhtml
@@ -1665,16 +1665,22 @@
                        class="subviewbutton subviewbutton-iconic"
                        label="&joinChatCmd.label;"
                        command="cmd_joinChat"/>
         <toolbarseparator id="appmenu_afterChatSeparator"/>
         <toolbarbutton id="appmenu_import"
                        class="subviewbutton subviewbutton-iconic"
                        label="&importCmd.label;"
                        oncommand="toImport();"/>
+#ifdef MOZ_OPENPGP
+        <toolbarbutton id="appmenu_manageKeysOpenPGP"
+                       class="subviewbutton subviewbutton-iconic openpgp-item"
+                       data-l10n-id="openpgp-manage-keys-openpgp-cmd"
+                       oncommand="BondOpenPGP.openKeyManager(window)"/>
+#endif
         <toolbarbutton id="appmenu_devtoolsMenu"
                        class="subviewbutton subviewbutton-nav"
                        label="&devtoolsMenu.label;"
                        accesskey="&devtoolsMenu.accesskey;"
                        closemenu="none"
                        oncommand="PanelUI.showSubView('appMenu-toolsDevtoolsView', this)"/>
         <toolbarbutton id="appmenu_sanitizeHistory"
                        class="subviewbutton subviewbutton-iconic"