Permalink
Browse files

Drop 1.9/3.6 support, part 1: overlay.

  • Loading branch information...
littlebtc committed May 13, 2012
1 parent 75ccf21 commit 9318478eab4b1a6186e477c7a9a2e43fd6d7d383
View
@@ -6,16 +6,13 @@ locale nicofox zh-TW locale/zh-TW/
locale nicofox zh-HK locale/zh-TW/
skin nicofox classic/1.0 skin/
-# Firefox 4 Themes related
-overlay chrome://browser/content/browser.xul chrome://nicofox/content/firefoxOverlay2.0.xul application={ec8030f7-c20a-464f-9b0e-13a3a9e97384} appversion>=4.0
-overlay chrome://global/content/customizeToolbar.xul chrome://nicofox/content/customizeToolbarOverlay.xul application={ec8030f7-c20a-464f-9b0e-13a3a9e97384} appversion>=4.0
-override chrome://nicofox/skin/toolbar.css chrome://nicofox/skin/toolbarMac.css os=Darwin application={ec8030f7-c20a-464f-9b0e-13a3a9e97384} appversion>=4.0
-override chrome://nicofox/skin/toolbar.css chrome://nicofox/skin/toolbarLinux.css os=Linux application={ec8030f7-c20a-464f-9b0e-13a3a9e97384} appversion>=4.0
+# Themes related
+overlay chrome://browser/content/browser.xul chrome://nicofox/content/firefoxOverlay.xul application={ec8030f7-c20a-464f-9b0e-13a3a9e97384}
+overlay chrome://global/content/customizeToolbar.xul chrome://nicofox/content/customizeToolbarOverlay.xul application={ec8030f7-c20a-464f-9b0e-13a3a9e97384}
+override chrome://nicofox/skin/toolbar.css chrome://nicofox/skin/toolbarMac.css os=Darwin application={ec8030f7-c20a-464f-9b0e-13a3a9e97384}
+override chrome://nicofox/skin/toolbar.css chrome://nicofox/skin/toolbarLinux.css os=Linux application={ec8030f7-c20a-464f-9b0e-13a3a9e97384}
-# Firefox 3.6 Themes related
-overlay chrome://browser/content/browser.xul chrome://nicofox/content/firefoxOverlay1.9.xul application={ec8030f7-c20a-464f-9b0e-13a3a9e97384} appversion<4.0
-
-# Components Registration for Firefox 4
+# Components Registration
component {62ca6b17-975f-4c70-b497-33146a16c797} components/nicowatcher.js
contract @littleb.tc/nicowatcher;1 {62ca6b17-975f-4c70-b497-33146a16c797}
category content-policy NicoWatcher @littleb.tc/nicowatcher;1
File renamed without changes.
@@ -1,43 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<?xml-stylesheet href="chrome://nicofox/skin/overlay.css" type="text/css"?>
-<?xml-stylesheet href="chrome://nicofox/skin/smilefox.css" type="text/css"?>
-<?xul-overlay href="chrome://nicofox/content/smilefoxPanel.xul"?>
-<!DOCTYPE overlay [
-<!ENTITY % nicofoxDTD SYSTEM "chrome://nicofox/locale/nicofox.dtd">
-%nicofoxDTD;
-<!ENTITY % smilefoxDTD SYSTEM "chrome://nicofox/locale/smilefox.dtd">
-%smilefoxDTD;
-]>
-
-<overlay id="nicofox-overlay"
- xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul">
- <script type="application/x-javascript" src="chrome://nicofox/content/overlay.js"/>
- <stringbundleset id="stringbundleset">
- <stringbundle id="nicofox-strings" src="chrome://nicofox/locale/nicofox.properties"/>
- </stringbundleset>
- <!-- View Menu -->
- <menupopup id="menu_viewPopup">
- <menuitem id="smilefox-entry" label="&smilefox.label;" accesskey="&smilefox.accesskey;" type="checkbox" checked="false" autocheck="false"
- oncommand="nicofox.overlay.onMenuItemCommand(event);"
- position="2" />
- </menupopup>
- <!-- Context Menu for Hyperlink -->
- <menupopup id="contentAreaContextMenu">
- <menuseparator id="nicofox-context-seprator" />
- <menuitem id="nicofox-context-download" class="menuitem-iconic"
- label="&downloadLink.label;" accesskey="&downloadLink.accesskey;"
- oncommand="nicofox.overlay.downloadLink();"/>
- </menupopup>
- <!-- Statusbar icon -->
- <statusbar id="status-bar">
- <hbox id="nicofox-panel-container">
- <panel id="nicofox-library" hidden="true" level="top" stlye="display: none;">
- </panel>
- </hbox>
- <statusbarpanel id="nicofoxStatusbarContainer" onclick="event.stopPropagation(); document.getElementById('nicofox-library').hidden = false; document.getElementById('nicofox-library').openPopup(this, 'before_end', 0, 0, false, false);">
- <!-- For rein skin compatibility -->
- <image id="nicofox-icon" />
- <label id="nicofoxStatusbarLabel" hidden="true" />
- </statusbarpanel>
- </statusbar>
-</overlay>

0 comments on commit 9318478

Please sign in to comment.