From 3f64310d45b0d306e25f9413523dd13372c818de Mon Sep 17 00:00:00 2001 From: Dan Stillman Date: Sun, 5 Jul 2020 17:27:24 -0400 Subject: [PATCH] fx-compat: Inline all XUL overlays --- chrome.manifest | 4 - .../mac/standalone/menuOverlay.xul | 136 --- .../unix/standalone/menuOverlay.xul | 57 -- .../win/standalone/menuOverlay.xul | 57 -- .../content/zotero/containers/containers.xul | 34 - .../content/zotero/containers/tagSelector.xul | 74 -- chrome/content/zotero/containers/tagsBox.xul | 39 - chrome/content/zotero/itemPane.xul | 149 --- chrome/content/zotero/overlay.xul | 46 - .../zotero/preferences/preferences.xul | 946 +++++++++++++++++- .../zotero/preferences/preferences_search.xul | 97 -- .../zotero/preferences/preferences_sync.xul | 330 ------ .../zotero/standalone/editMenuOverlay.xul | 110 -- .../content/zotero/standalone/standalone.xul | 584 ----------- chrome/content/zotero/zoteroPane.xul | 825 ++++++++++++++- 15 files changed, 1716 insertions(+), 1772 deletions(-) delete mode 100644 chrome/content/zotero-platform/mac/standalone/menuOverlay.xul delete mode 100644 chrome/content/zotero-platform/unix/standalone/menuOverlay.xul delete mode 100644 chrome/content/zotero-platform/win/standalone/menuOverlay.xul delete mode 100644 chrome/content/zotero/containers/containers.xul delete mode 100644 chrome/content/zotero/containers/tagSelector.xul delete mode 100644 chrome/content/zotero/containers/tagsBox.xul delete mode 100644 chrome/content/zotero/itemPane.xul delete mode 100644 chrome/content/zotero/overlay.xul delete mode 100644 chrome/content/zotero/preferences/preferences_search.xul delete mode 100644 chrome/content/zotero/preferences/preferences_sync.xul delete mode 100644 chrome/content/zotero/standalone/editMenuOverlay.xul delete mode 100644 chrome/content/zotero/standalone/standalone.xul diff --git a/chrome.manifest b/chrome.manifest index f6a1e07533..aabd04d476 100644 --- a/chrome.manifest +++ b/chrome.manifest @@ -64,10 +64,6 @@ locale zotero zh-TW chrome/locale/zh-TW/zotero/ skin zotero default chrome/skin/default/zotero/ -overlay chrome://browser/content/browser.xul chrome://zotero/content/overlay.xul - -style chrome://browser/content/browser.xul chrome://zotero/skin/zotero.css - component {e4c61080-ec2d-11da-8ad9-0800200c9a66} components/zotero-service.js component {531828f8-a16c-46be-b9aa-14845c3b010f} components/zotero-service.js contract @zotero.org/Zotero;1 {e4c61080-ec2d-11da-8ad9-0800200c9a66} diff --git a/chrome/content/zotero-platform/mac/standalone/menuOverlay.xul b/chrome/content/zotero-platform/mac/standalone/menuOverlay.xul deleted file mode 100644 index a02c917273..0000000000 --- a/chrome/content/zotero-platform/mac/standalone/menuOverlay.xul +++ /dev/null @@ -1,136 +0,0 @@ - - - - - %brandDTD; - %standaloneDTD; - %browserDTD; -]> - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/chrome/content/zotero-platform/unix/standalone/menuOverlay.xul b/chrome/content/zotero-platform/unix/standalone/menuOverlay.xul deleted file mode 100644 index 0e4b1ed670..0000000000 --- a/chrome/content/zotero-platform/unix/standalone/menuOverlay.xul +++ /dev/null @@ -1,57 +0,0 @@ - - - - - %brandDTD; - %standaloneDTD; - %browserDTD; -]> - - - - - - - - - - diff --git a/chrome/content/zotero-platform/win/standalone/menuOverlay.xul b/chrome/content/zotero-platform/win/standalone/menuOverlay.xul deleted file mode 100644 index 5105683986..0000000000 --- a/chrome/content/zotero-platform/win/standalone/menuOverlay.xul +++ /dev/null @@ -1,57 +0,0 @@ - - - - - %brandDTD; - %standaloneDTD; - %browserDTD; -]> - - - - - - - - - - diff --git a/chrome/content/zotero/containers/containers.xul b/chrome/content/zotero/containers/containers.xul deleted file mode 100644 index bb5b6f9d54..0000000000 --- a/chrome/content/zotero/containers/containers.xul +++ /dev/null @@ -1,34 +0,0 @@ - - - - - - - - - - - \ No newline at end of file diff --git a/chrome/content/zotero/containers/tagSelector.xul b/chrome/content/zotero/containers/tagSelector.xul deleted file mode 100644 index 6963bee568..0000000000 --- a/chrome/content/zotero/containers/tagSelector.xul +++ /dev/null @@ -1,74 +0,0 @@ - - - %globalDTD; - %zoteroDTD; -]> - - - - - - - - - - - - - - - - - \ No newline at end of file diff --git a/chrome/content/zotero/containers/tagsBox.xul b/chrome/content/zotero/containers/tagsBox.xul deleted file mode 100644 index ff69329398..0000000000 --- a/chrome/content/zotero/containers/tagsBox.xul +++ /dev/null @@ -1,39 +0,0 @@ - - - %globalDTD; - %zoteroDTD; -]> - - - - - - - - \ No newline at end of file diff --git a/chrome/content/zotero/itemPane.xul b/chrome/content/zotero/itemPane.xul deleted file mode 100644 index 8d48762550..0000000000 --- a/chrome/content/zotero/itemPane.xul +++ /dev/null @@ -1,149 +0,0 @@ - - - - - - - - - - - - - - - -