diff options
author | janekptacijarabaci <janekptacijarabaci@seznam.cz> | 2018-04-08 15:04:49 +0200 |
---|---|---|
committer | janekptacijarabaci <janekptacijarabaci@seznam.cz> | 2018-04-08 15:04:49 +0200 |
commit | 0e6c1d1dc32ea14841bd7f834cd9e9f1f5e62408 (patch) | |
tree | e22c29f3476acc7661cbfaf0ea84e65b12be1fa8 /application/palemoon/base/content/browser-menubar.inc | |
parent | 309d1ca1f297e5ccf2309d6d90b82d558e5d426c (diff) | |
download | UXP-0e6c1d1dc32ea14841bd7f834cd9e9f1f5e62408.tar UXP-0e6c1d1dc32ea14841bd7f834cd9e9f1f5e62408.tar.gz UXP-0e6c1d1dc32ea14841bd7f834cd9e9f1f5e62408.tar.lz UXP-0e6c1d1dc32ea14841bd7f834cd9e9f1f5e62408.tar.xz UXP-0e6c1d1dc32ea14841bd7f834cd9e9f1f5e62408.zip |
[PALEMOON] [DevTools] Support for adding menuitems dynamically
Issue #102
Diffstat (limited to 'application/palemoon/base/content/browser-menubar.inc')
-rw-r--r-- | application/palemoon/base/content/browser-menubar.inc | 37 |
1 files changed, 3 insertions, 34 deletions
diff --git a/application/palemoon/base/content/browser-menubar.inc b/application/palemoon/base/content/browser-menubar.inc index fa9d7f0f4..e947e7d79 100644 --- a/application/palemoon/base/content/browser-menubar.inc +++ b/application/palemoon/base/content/browser-menubar.inc @@ -534,43 +534,12 @@ label="&webDeveloperMenu.label;" accesskey="&webDeveloperMenu.accesskey;"> <menupopup id="menuWebDeveloperPopup"> -#ifdef MOZ_DEVTOOLS - <menuitem id="menu_devToolbox" - observes="devtoolsMenuBroadcaster_DevToolbox" - accesskey="&devToolboxMenuItem.accesskey;"/> - <menuseparator id="menu_devtools_separator"/> - <menuitem id="menu_devToolbar" - observes="devtoolsMenuBroadcaster_DevToolbar" - accesskey="&devToolbarMenu.accesskey;"/> - <menuitem id="menu_chromeDebugger" - observes="devtoolsMenuBroadcaster_ChromeDebugger"/> - <menuitem id="menu_browserConsole" - observes="devtoolsMenuBroadcaster_BrowserConsole" - accesskey="&browserConsoleCmd.accesskey;"/> - <menuitem id="menu_responsiveUI" - observes="devtoolsMenuBroadcaster_ResponsiveUI" - accesskey="&responsiveDesignTool.accesskey;"/> - <menuitem id="menu_eyedropper" - observes="devtoolsMenuBroadcaster_Eyedropper" - accesskey="&eyedropper.accesskey;"/> - <menuitem id="menu_scratchpad" - observes="devtoolsMenuBroadcaster_Scratchpad" - accesskey="&scratchpad.accesskey;"/> -#endif - <menuitem id="menu_pageSource" - observes="devtoolsMenuBroadcaster_PageSource" - accesskey="&pageSourceCmd.accesskey;"/> <menuitem id="javascriptConsole" observes="devtoolsMenuBroadcaster_ErrorConsole" accesskey="&errorConsoleCmd.accesskey;"/> -#ifdef MOZ_DEVTOOLS - <menuitem id="menu_devtools_connect" - observes="devtoolsMenuBroadcaster_connect"/> -#endif - <menuseparator id="devToolsEndSeparator"/> - <menuitem id="getMoreDevtools" - observes="devtoolsMenuBroadcaster_GetMoreTools" - accesskey="&getMoreDevtoolsCmd.accesskey;"/> + <menuitem id="menu_pageSource" + observes="devtoolsMenuBroadcaster_PageSource" + accesskey="&pageSourceCmd.accesskey;"/> </menupopup> </menu> <menuitem id="menu_pageInfo" |