michael@0: /* This Source Code Form is subject to the terms of the Mozilla Public michael@0: * License, v. 2.0. If a copy of the MPL was not distributed with this michael@0: * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ michael@0: michael@0: "use strict"; michael@0: michael@0: const gcli = require("gcli/index"); michael@0: michael@0: exports.items = [{ michael@0: name: "scratchpad", michael@0: buttonId: "command-button-scratchpad", michael@0: buttonClass: "command-button command-button-invertable", michael@0: tooltipText: gcli.lookup("scratchpadOpenTooltip"), michael@0: hidden: true, michael@0: exec: function(args, context) { michael@0: let Scratchpad = context.environment.chromeWindow.Scratchpad; michael@0: Scratchpad.ScratchpadManager.openScratchpad(); michael@0: } michael@0: }];