From 0e6c1d1dc32ea14841bd7f834cd9e9f1f5e62408 Mon Sep 17 00:00:00 2001 From: janekptacijarabaci Date: Sun, 8 Apr 2018 15:04:49 +0200 Subject: [PALEMOON] [DevTools] Support for adding menuitems dynamically Issue #102 --- .../palemoon/base/content/browser-appmenu.inc | 35 +----- .../palemoon/base/content/browser-menubar.inc | 37 +------ application/palemoon/base/content/browser-sets.inc | 78 ------------- application/palemoon/base/content/browser.js | 121 +-------------------- application/palemoon/base/content/browser.xul | 27 ----- 5 files changed, 12 insertions(+), 286 deletions(-) (limited to 'application') diff --git a/application/palemoon/base/content/browser-appmenu.inc b/application/palemoon/base/content/browser-appmenu.inc index 835bf22bcf..4869afa113 100644 --- a/application/palemoon/base/content/browser-appmenu.inc +++ b/application/palemoon/base/content/browser-appmenu.inc @@ -132,38 +132,8 @@ -#ifdef MOZ_DEVTOOLS - - - - - - - - -#endif - - -#ifdef MOZ_DEVTOOLS - -#endif - - - #define ID_PREFIX appmenu_developer_ #define OMIT_ACCESSKEYS #include browser-charsetmenu.inc @@ -173,6 +143,11 @@ type="checkbox" observes="workOfflineMenuitemState" oncommand="BrowserOffline.toggleOfflineStatus();"/> + + + diff --git a/application/palemoon/base/content/browser-menubar.inc b/application/palemoon/base/content/browser-menubar.inc index fa9d7f0f44..e947e7d793 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;"> -#ifdef MOZ_DEVTOOLS - - - - - - - - -#endif - -#ifdef MOZ_DEVTOOLS - -#endif - - + -#ifdef MOZ_DEVTOOLS - -