зеркало из https://github.com/mozilla/pjs.git
Make mozgestures work as my extension test.
This commit is contained in:
Родитель
f660d9a03c
Коммит
6f7fe3c16b
|
@ -72,12 +72,14 @@ Contributor(s):
|
|||
<script type="application/x-javascript" src="chrome://global/content/nsContextMenu.js"/>
|
||||
<script type="application/x-javascript" src="chrome://communicator/content/contentAreaUtils.js"/>
|
||||
|
||||
<stringbundle id="bundle_browser" src="chrome://browser/locale/browser.properties"/>
|
||||
<stringbundle id="bundle_brand" src="chrome://global/locale/brand.properties"/>
|
||||
<stringbundle id="bundle_browser_region" src="chrome://navigator-region/locale/region.properties"/>
|
||||
<stringbundle id="bundle_brand_region" src="chrome://global-region/locale/region.properties"/>
|
||||
<stringbundle id="findBundle" src="chrome://global/locale/finddialog.properties"/>
|
||||
|
||||
<stringbundleset id="stringbundleset"> <!-- Overlay hook for 3rd parties. Don't remove. -->
|
||||
<stringbundle id="bundle_browser" src="chrome://browser/locale/browser.properties"/>
|
||||
<stringbundle id="bundle_brand" src="chrome://global/locale/brand.properties"/>
|
||||
<stringbundle id="bundle_browser_region" src="chrome://navigator-region/locale/region.properties"/>
|
||||
<stringbundle id="bundle_brand_region" src="chrome://global-region/locale/region.properties"/>
|
||||
<stringbundle id="findBundle" src="chrome://global/locale/finddialog.properties"/>
|
||||
</stringbundleset>
|
||||
|
||||
<commandset commandupdater="true"
|
||||
events="focus"
|
||||
oncommandupdate="goUpdateGlobalEditMenuItems()"/>
|
||||
|
|
|
@ -102,6 +102,42 @@
|
|||
</hbox>
|
||||
<separator/>
|
||||
</vbox>
|
||||
|
||||
<vbox flex="1">
|
||||
|
||||
<listbox id="extensionsList" datasources="rdf:chrome"
|
||||
</listbox>
|
||||
|
||||
<separator class="thin"/>
|
||||
|
||||
<hbox class="inset" align="center" pack="center">
|
||||
<image/>
|
||||
</hbox>
|
||||
|
||||
<separator class="thin"/>
|
||||
<hbox>
|
||||
<vbox flex="1">
|
||||
<label class="header" id="displayName" value=""/>
|
||||
<hbox align="center">
|
||||
<label value="&author.label;"/>
|
||||
<label/>
|
||||
</hbox>
|
||||
<label flex="1"/>
|
||||
</vbox>
|
||||
<vbox>
|
||||
<button label="&uninstallSkin.label;" oncommand="uninstallSkin();"/>
|
||||
<vbox flex="1">
|
||||
<spacer flex="1"/>
|
||||
<hbox align="start">
|
||||
<html:a href="&getNewThemesURL;"
|
||||
style="padding-left:4px; display: block;" target="_new">&getNewThemes.label;</html:a>
|
||||
</hbox>
|
||||
</vbox>
|
||||
</vbox>
|
||||
</hbox>
|
||||
<separator/>
|
||||
</vbox>
|
||||
|
||||
</tabpanels>
|
||||
</tabbox>
|
||||
</page>
|
||||
|
|
|
@ -1,90 +1,97 @@
|
|||
<?xml version="1.0"?>
|
||||
|
||||
<!--
|
||||
The contents of this file are subject to the Netscape Public
|
||||
License Version 1.1 (the "License"); you may not use this file
|
||||
except in compliance with the License. You may obtain a copy of
|
||||
the License at http://www.mozilla.org/NPL/
|
||||
|
||||
Software distributed under the License is distributed on an "AS
|
||||
IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or
|
||||
implied. See the License for the specific language governing
|
||||
rights and limitations under the License.
|
||||
|
||||
The Original Code is Mozilla Communicator client code, released
|
||||
March 31, 1998.
|
||||
|
||||
The Initial Developer of the Original Code is Netscape
|
||||
Communications Corporation. Portions created by Netscape are
|
||||
Copyright (C) 1998-1999 Netscape Communications Corporation. All
|
||||
Rights Reserved.
|
||||
|
||||
Contributor(s):
|
||||
Ben Goodger <ben@netscape.com>
|
||||
-->
|
||||
|
||||
<?xul-overlay href="chrome://browser/content/pref/platformPrefOverlay.xul"?>
|
||||
|
||||
<!DOCTYPE window SYSTEM "chrome://browser/locale/pref/preftree.dtd" >
|
||||
|
||||
<overlay id="prefTreeOverlay"
|
||||
xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul">
|
||||
|
||||
<script>
|
||||
<![CDATA[
|
||||
var _elementIDs = []; // hack
|
||||
]]>
|
||||
</script>
|
||||
|
||||
<tree id="prefsTree" seltype="single" hidecolumnpicker="true"
|
||||
onselect="if( hPrefWindow ) hPrefWindow.switchPage();">
|
||||
<treecols>
|
||||
<treecol id="categoryCol" label="&category.label;" flex="1" primary="true"/>
|
||||
</treecols>
|
||||
<treechildren id="panelChildren">
|
||||
<treeitem id="navigator">
|
||||
<treerow>
|
||||
<treecell url="chrome://browser/content/pref/pref-navigator.xul" label="&navigator.label;"/>
|
||||
</treerow>
|
||||
</treeitem>
|
||||
<treeitem>
|
||||
<treerow>
|
||||
<treecell url="chrome://browser/content/pref/pref-fonts.xul" label="&fonts.label;"/>
|
||||
</treerow>
|
||||
</treeitem>
|
||||
<treeitem id="themes-panel">
|
||||
<treerow>
|
||||
<treecell url="chrome://browser/content/pref/pref-themes.xul" label="&themes.label;"/>
|
||||
</treerow>
|
||||
</treeitem>
|
||||
<treeitem>
|
||||
<treerow>
|
||||
<treecell url="chrome://browser/content/pref/pref-privacy.xul" label="&privacy.label;" />
|
||||
</treerow>
|
||||
</treeitem>
|
||||
<treeitem>
|
||||
<treerow>
|
||||
<treecell url="chrome://browser/content/pref/pref-connection.xul" label="&connection.label;" />
|
||||
</treerow>
|
||||
</treeitem>
|
||||
<treeitem container="true" id="advancedItem">
|
||||
<treerow>
|
||||
<treecell url="chrome://browser/content/pref/pref-advanced.xul" label="&advance.label;"/>
|
||||
</treerow>
|
||||
<treechildren id="advancedChildren">
|
||||
<treeitem>
|
||||
<treerow>
|
||||
<treecell url="chrome://browser/content/pref/pref-scripts.xul" label="&scriptsAndWindows.label;"/>
|
||||
</treerow>
|
||||
</treeitem>
|
||||
<treeitem>
|
||||
<treerow>
|
||||
<treecell url="chrome://browser/content/pref/pref-cache.xul" label="&cache.label;"/>
|
||||
</treerow>
|
||||
</treeitem>
|
||||
</treechildren>
|
||||
</treeitem>
|
||||
</treechildren>
|
||||
</tree>
|
||||
|
||||
</overlay>
|
||||
<<<<<<< preftree.xul
|
||||
<?xml version="1.0"?>
|
||||
|
||||
<!--
|
||||
The contents of this file are subject to the Netscape Public
|
||||
License Version 1.1 (the "License"); you may not use this file
|
||||
except in compliance with the License. You may obtain a copy of
|
||||
the License at http://www.mozilla.org/NPL/
|
||||
|
||||
Software distributed under the License is distributed on an "AS
|
||||
IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or
|
||||
implied. See the License for the specific language governing
|
||||
rights and limitations under the License.
|
||||
|
||||
The Original Code is Mozilla Communicator client code, released
|
||||
March 31, 1998.
|
||||
|
||||
The Initial Developer of the Original Code is Netscape
|
||||
Communications Corporation. Portions created by Netscape are
|
||||
Copyright (C) 1998-1999 Netscape Communications Corporation. All
|
||||
Rights Reserved.
|
||||
|
||||
Contributor(s):
|
||||
|
||||
Ben Goodger <ben@netscape.com>
|
||||
Dave Hyatt (hyatt@apple.com)
|
||||
-->
|
||||
|
||||
<?xul-overlay href="chrome://browser/content/pref/platformPrefOverlay.xul"?>
|
||||
|
||||
<!DOCTYPE window SYSTEM "chrome://browser/locale/pref/preftree.dtd" >
|
||||
|
||||
<overlay id="prefTreeOverlay"
|
||||
xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul">
|
||||
|
||||
<script>
|
||||
<![CDATA[
|
||||
var _elementIDs = []; // hack
|
||||
]]>
|
||||
</script>
|
||||
|
||||
<tree id="prefsTree" seltype="single" hidecolumnpicker="true"
|
||||
onselect="if( hPrefWindow ) hPrefWindow.switchPage();">
|
||||
<treecols>
|
||||
<treecol id="categoryCol" label="&category.label;" flex="1" primary="true"/>
|
||||
</treecols>
|
||||
|
||||
<treechildren id="panelChildren">
|
||||
<treeitem id="navigator">
|
||||
<treerow>
|
||||
<treecell url="chrome://browser/content/pref/pref-navigator.xul" label="&navigator.label;"/>
|
||||
</treerow>
|
||||
</treeitem>
|
||||
|
||||
<treeitem>
|
||||
<treerow>
|
||||
<treecell url="chrome://browser/content/pref/pref-fonts.xul" label="&fonts.label;"/>
|
||||
</treerow>
|
||||
</treeitem>
|
||||
|
||||
<treeitem id="themes-panel">
|
||||
<treerow>
|
||||
<treecell url="chrome://browser/content/pref/pref-themes.xul" label="&themes.label;"/>
|
||||
</treerow>
|
||||
</treeitem>
|
||||
|
||||
<!-- XXX remove this when overlays.rdf works for navigator -->
|
||||
|
||||
<treeitem>
|
||||
<treerow>
|
||||
<treecell url="chrome://browser/content/pref/pref-privacy.xul" label="&privacy.label;" />
|
||||
</treerow>
|
||||
</treeitem>
|
||||
|
||||
<treeitem id="advancedItem" container="true">
|
||||
<treerow>
|
||||
<treecell url="chrome://browser/content/pref/pref-advanced.xul" label="&advance.label;"/>
|
||||
</treerow>
|
||||
<treechildren id="advancedChildren">
|
||||
<treeitem>
|
||||
<treerow>
|
||||
<treecell url="chrome://browser/content/pref/pref-scripts.xul" label="&scriptsAndWindows.label;"/>
|
||||
</treerow>
|
||||
</treeitem>
|
||||
<treeitem>
|
||||
<treerow>
|
||||
<treecell url="chrome://browser/content/pref/pref-cache.xul" label="&cache.label;"/>
|
||||
</treerow>
|
||||
</treeitem>
|
||||
</treechildren>
|
||||
</treeitem>
|
||||
</treechildren>
|
||||
</tree>
|
||||
|
||||
|
||||
|
||||
</overlay>
|
||||
|
|
Загрузка…
Ссылка в новой задаче