summaryrefslogtreecommitdiffstats
path: root/application/palemoon/base/content/browser-appmenu.inc
diff options
context:
space:
mode:
authorjanekptacijarabaci <janekptacijarabaci@seznam.cz>2018-04-08 15:04:49 +0200
committerjanekptacijarabaci <janekptacijarabaci@seznam.cz>2018-04-08 15:04:49 +0200
commit0e6c1d1dc32ea14841bd7f834cd9e9f1f5e62408 (patch)
treee22c29f3476acc7661cbfaf0ea84e65b12be1fa8 /application/palemoon/base/content/browser-appmenu.inc
parent309d1ca1f297e5ccf2309d6d90b82d558e5d426c (diff)
downloadUXP-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-appmenu.inc')
-rw-r--r--application/palemoon/base/content/browser-appmenu.inc35
1 files changed, 5 insertions, 30 deletions
diff --git a/application/palemoon/base/content/browser-appmenu.inc b/application/palemoon/base/content/browser-appmenu.inc
index 835bf22bc..4869afa11 100644
--- a/application/palemoon/base/content/browser-appmenu.inc
+++ b/application/palemoon/base/content/browser-appmenu.inc
@@ -132,38 +132,8 @@
</splitmenu>
<menuseparator class="appmenu-menuseparator"/>
<splitmenu id="appmenu_webDeveloper"
- command="Tools:DevToolbox"
label="&appMenuWebDeveloper.label;">
<menupopup id="appmenu_webDeveloper_popup">
-#ifdef MOZ_DEVTOOLS
- <menuitem id="appmenu_devToolbox"
- observes="devtoolsMenuBroadcaster_DevToolbox"/>
- <menuseparator id="appmenu_devtools_separator"/>
- <menuitem id="appmenu_devToolbar"
- observes="devtoolsMenuBroadcaster_DevToolbar"/>
- <menuitem id="appmenu_chromeDebugger"
- observes="devtoolsMenuBroadcaster_ChromeDebugger"/>
- <menuitem id="appmenu_browserConsole"
- observes="devtoolsMenuBroadcaster_BrowserConsole"/>
- <menuitem id="appmenu_responsiveUI"
- observes="devtoolsMenuBroadcaster_ResponsiveUI"/>
- <menuitem id="appmenu_eyedropper"
- observes="devtoolsMenuBroadcaster_Eyedropper"/>
- <menuitem id="appmenu_scratchpad"
- observes="devtoolsMenuBroadcaster_Scratchpad"/>
-#endif
- <menuitem id="appmenu_pageSource"
- observes="devtoolsMenuBroadcaster_PageSource"/>
- <menuitem id="appmenu_errorConsole"
- observes="devtoolsMenuBroadcaster_ErrorConsole"/>
-#ifdef MOZ_DEVTOOLS
- <menuitem id="appmenu_devtools_connect"
- observes="devtoolsMenuBroadcaster_connect"/>
-#endif
- <menuseparator id="appmenu_devToolsEndSeparator"/>
- <menuitem id="appmenu_getMoreDevtools"
- observes="devtoolsMenuBroadcaster_GetMoreTools"/>
- <menuseparator/>
#define ID_PREFIX appmenu_developer_
#define OMIT_ACCESSKEYS
#include browser-charsetmenu.inc
@@ -173,6 +143,11 @@
type="checkbox"
observes="workOfflineMenuitemState"
oncommand="BrowserOffline.toggleOfflineStatus();"/>
+ <menuseparator/>
+ <menuitem id="appmenu_javascriptConsole"
+ observes="devtoolsMenuBroadcaster_ErrorConsole"/>
+ <menuitem id="appmenu_pageSource"
+ observes="devtoolsMenuBroadcaster_PageSource"/>
</menupopup>
</splitmenu>
<menuseparator class="appmenu-menuseparator"/>