зеркало из https://github.com/mozilla/pjs.git
Adding the stubs of a UI for theme switching to prefs.
This commit is contained in:
Родитель
9ab724dbd0
Коммит
f7db76a52f
|
@ -0,0 +1,40 @@
|
||||||
|
<?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):
|
||||||
|
-->
|
||||||
|
|
||||||
|
<?xml-stylesheet href="chrome://pref/skin/pref.css" type="text/css"?>
|
||||||
|
|
||||||
|
<!DOCTYPE window SYSTEM "chrome://pref/locale/pref-themes.dtd" >
|
||||||
|
<window xmlns:html="http://www.w3.org/TR/REC-html40"
|
||||||
|
xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"
|
||||||
|
class="dialog"
|
||||||
|
align="vertical">
|
||||||
|
|
||||||
|
<box class="header" align="horizontal">
|
||||||
|
<titledbutton class="left-header-text" value="&lHeader;"/>
|
||||||
|
<spring class="header-spring" flex="1"/>
|
||||||
|
<titledbutton class="right-header-text" value="&rHeader;"/>
|
||||||
|
</box>
|
||||||
|
|
||||||
|
<spring flex="1"/>
|
||||||
|
|
||||||
|
</window>
|
|
@ -89,6 +89,13 @@
|
||||||
<treecell name="chrome://pref/content/pref-colors.xul"><treeindentation/>&colors.label;</treecell>
|
<treecell name="chrome://pref/content/pref-colors.xul"><treeindentation/>&colors.label;</treecell>
|
||||||
</treerow>
|
</treerow>
|
||||||
</treeitem>
|
</treeitem>
|
||||||
|
|
||||||
|
<treeitem open="true">
|
||||||
|
<treerow>
|
||||||
|
<treecell name="chrome://pref/content/pref-themes.xul"><treeindentation/>&themes.label;</treecell>
|
||||||
|
</treerow>
|
||||||
|
</treeitem>
|
||||||
|
|
||||||
</treechildren>
|
</treechildren>
|
||||||
</treeitem>
|
</treeitem>
|
||||||
|
|
||||||
|
|
|
@ -0,0 +1,4 @@
|
||||||
|
|
||||||
|
<!--LOCALIZATION NOTE : FILE Theme management prefs -->
|
||||||
|
<!ENTITY lHeader "Themes">
|
||||||
|
<!ENTITY rHeader "Choose an installed theme for your display">
|
|
@ -4,6 +4,7 @@
|
||||||
<!ENTITY appear.label "Appearance">
|
<!ENTITY appear.label "Appearance">
|
||||||
<!ENTITY fonts.label "Fonts">
|
<!ENTITY fonts.label "Fonts">
|
||||||
<!ENTITY colors.label "Colors">
|
<!ENTITY colors.label "Colors">
|
||||||
|
<!ENTITY themes.label "Themes">
|
||||||
<!--LOCALIZATION NOTE (navigator.label): DONT_TRANSLATE -->
|
<!--LOCALIZATION NOTE (navigator.label): DONT_TRANSLATE -->
|
||||||
<!ENTITY navigator.label "Navigator">
|
<!ENTITY navigator.label "Navigator">
|
||||||
<!ENTITY languages.label "Languages">
|
<!ENTITY languages.label "Languages">
|
||||||
|
|
|
@ -3,6 +3,7 @@ pref-appearance.xul
|
||||||
pref-applications.xul
|
pref-applications.xul
|
||||||
pref-cache.xul
|
pref-cache.xul
|
||||||
pref-colors.xul
|
pref-colors.xul
|
||||||
|
pref-themes.xul
|
||||||
pref-composer.xul
|
pref-composer.xul
|
||||||
pref-debug.xul
|
pref-debug.xul
|
||||||
pref-download.xul
|
pref-download.xul
|
||||||
|
|
|
@ -34,6 +34,7 @@ EXPORT_RESOURCE_CONTENT = \
|
||||||
$(srcdir)/pref-applications.xul \
|
$(srcdir)/pref-applications.xul \
|
||||||
$(srcdir)/pref-cache.xul \
|
$(srcdir)/pref-cache.xul \
|
||||||
$(srcdir)/pref-colors.xul \
|
$(srcdir)/pref-colors.xul \
|
||||||
|
$(srcdir)/pref-themes.xul \
|
||||||
$(srcdir)/pref-composer.xul \
|
$(srcdir)/pref-composer.xul \
|
||||||
$(srcdir)/pref-debug.xul \
|
$(srcdir)/pref-debug.xul \
|
||||||
$(srcdir)/pref-download.xul \
|
$(srcdir)/pref-download.xul \
|
||||||
|
|
|
@ -29,6 +29,7 @@ install::
|
||||||
$(MAKE_INSTALL) pref-applications.xul $(DIST)\bin\chrome\pref\content\default
|
$(MAKE_INSTALL) pref-applications.xul $(DIST)\bin\chrome\pref\content\default
|
||||||
$(MAKE_INSTALL) pref-cache.xul $(DIST)\bin\chrome\pref\content\default
|
$(MAKE_INSTALL) pref-cache.xul $(DIST)\bin\chrome\pref\content\default
|
||||||
$(MAKE_INSTALL) pref-colors.xul $(DIST)\bin\chrome\pref\content\default
|
$(MAKE_INSTALL) pref-colors.xul $(DIST)\bin\chrome\pref\content\default
|
||||||
|
$(MAKE_INSTALL) pref-themes.xul $(DIST)\bin\chrome\pref\content\default
|
||||||
$(MAKE_INSTALL) pref-composer.xul $(DIST)\bin\chrome\pref\content\default
|
$(MAKE_INSTALL) pref-composer.xul $(DIST)\bin\chrome\pref\content\default
|
||||||
$(MAKE_INSTALL) pref-debug.xul $(DIST)\bin\chrome\pref\content\default
|
$(MAKE_INSTALL) pref-debug.xul $(DIST)\bin\chrome\pref\content\default
|
||||||
$(MAKE_INSTALL) pref-download.xul $(DIST)\bin\chrome\pref\content\default
|
$(MAKE_INSTALL) pref-download.xul $(DIST)\bin\chrome\pref\content\default
|
||||||
|
|
|
@ -0,0 +1,40 @@
|
||||||
|
<?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):
|
||||||
|
-->
|
||||||
|
|
||||||
|
<?xml-stylesheet href="chrome://pref/skin/pref.css" type="text/css"?>
|
||||||
|
|
||||||
|
<!DOCTYPE window SYSTEM "chrome://pref/locale/pref-themes.dtd" >
|
||||||
|
<window xmlns:html="http://www.w3.org/TR/REC-html40"
|
||||||
|
xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"
|
||||||
|
class="dialog"
|
||||||
|
align="vertical">
|
||||||
|
|
||||||
|
<box class="header" align="horizontal">
|
||||||
|
<titledbutton class="left-header-text" value="&lHeader;"/>
|
||||||
|
<spring class="header-spring" flex="1"/>
|
||||||
|
<titledbutton class="right-header-text" value="&rHeader;"/>
|
||||||
|
</box>
|
||||||
|
|
||||||
|
<spring flex="1"/>
|
||||||
|
|
||||||
|
</window>
|
|
@ -89,6 +89,13 @@
|
||||||
<treecell name="chrome://pref/content/pref-colors.xul"><treeindentation/>&colors.label;</treecell>
|
<treecell name="chrome://pref/content/pref-colors.xul"><treeindentation/>&colors.label;</treecell>
|
||||||
</treerow>
|
</treerow>
|
||||||
</treeitem>
|
</treeitem>
|
||||||
|
|
||||||
|
<treeitem open="true">
|
||||||
|
<treerow>
|
||||||
|
<treecell name="chrome://pref/content/pref-themes.xul"><treeindentation/>&themes.label;</treecell>
|
||||||
|
</treerow>
|
||||||
|
</treeitem>
|
||||||
|
|
||||||
</treechildren>
|
</treechildren>
|
||||||
</treeitem>
|
</treeitem>
|
||||||
|
|
||||||
|
|
|
@ -3,6 +3,7 @@ pref-appearance.dtd
|
||||||
pref-applications.dtd
|
pref-applications.dtd
|
||||||
pref-cache.dtd
|
pref-cache.dtd
|
||||||
pref-colors.dtd
|
pref-colors.dtd
|
||||||
|
pref-themes.dtd
|
||||||
pref-composer.dtd
|
pref-composer.dtd
|
||||||
pref-debug.dtd
|
pref-debug.dtd
|
||||||
pref-download.dtd
|
pref-download.dtd
|
||||||
|
|
|
@ -33,6 +33,7 @@ EXPORT_RESOURCE_CONTENT = \
|
||||||
$(srcdir)/pref-applications.dtd \
|
$(srcdir)/pref-applications.dtd \
|
||||||
$(srcdir)/pref-cache.dtd \
|
$(srcdir)/pref-cache.dtd \
|
||||||
$(srcdir)/pref-colors.dtd \
|
$(srcdir)/pref-colors.dtd \
|
||||||
|
$(srcdir)/pref-themes.dtd \
|
||||||
$(srcdir)/pref-composer.dtd \
|
$(srcdir)/pref-composer.dtd \
|
||||||
$(srcdir)/pref-debug.dtd \
|
$(srcdir)/pref-debug.dtd \
|
||||||
$(srcdir)/pref-download.dtd \
|
$(srcdir)/pref-download.dtd \
|
||||||
|
|
|
@ -29,6 +29,7 @@ install::
|
||||||
$(MAKE_INSTALL) pref-applications.dtd $(DIST)\bin\chrome\pref\locale\en-US
|
$(MAKE_INSTALL) pref-applications.dtd $(DIST)\bin\chrome\pref\locale\en-US
|
||||||
$(MAKE_INSTALL) pref-cache.dtd $(DIST)\bin\chrome\pref\locale\en-US
|
$(MAKE_INSTALL) pref-cache.dtd $(DIST)\bin\chrome\pref\locale\en-US
|
||||||
$(MAKE_INSTALL) pref-colors.dtd $(DIST)\bin\chrome\pref\locale\en-US
|
$(MAKE_INSTALL) pref-colors.dtd $(DIST)\bin\chrome\pref\locale\en-US
|
||||||
|
$(MAKE_INSTALL) pref-themes.dtd $(DIST)\bin\chrome\pref\locale\en-US
|
||||||
$(MAKE_INSTALL) pref-composer.dtd $(DIST)\bin\chrome\pref\locale\en-US
|
$(MAKE_INSTALL) pref-composer.dtd $(DIST)\bin\chrome\pref\locale\en-US
|
||||||
$(MAKE_INSTALL) pref-download.dtd $(DIST)\bin\chrome\pref\locale\en-US
|
$(MAKE_INSTALL) pref-download.dtd $(DIST)\bin\chrome\pref\locale\en-US
|
||||||
$(MAKE_INSTALL) pref-debug.dtd $(DIST)\bin\chrome\pref\locale\en-US
|
$(MAKE_INSTALL) pref-debug.dtd $(DIST)\bin\chrome\pref\locale\en-US
|
||||||
|
|
|
@ -0,0 +1,4 @@
|
||||||
|
|
||||||
|
<!--LOCALIZATION NOTE : FILE Theme management prefs -->
|
||||||
|
<!ENTITY lHeader "Themes">
|
||||||
|
<!ENTITY rHeader "Choose an installed theme for your display">
|
|
@ -4,6 +4,7 @@
|
||||||
<!ENTITY appear.label "Appearance">
|
<!ENTITY appear.label "Appearance">
|
||||||
<!ENTITY fonts.label "Fonts">
|
<!ENTITY fonts.label "Fonts">
|
||||||
<!ENTITY colors.label "Colors">
|
<!ENTITY colors.label "Colors">
|
||||||
|
<!ENTITY themes.label "Themes">
|
||||||
<!--LOCALIZATION NOTE (navigator.label): DONT_TRANSLATE -->
|
<!--LOCALIZATION NOTE (navigator.label): DONT_TRANSLATE -->
|
||||||
<!ENTITY navigator.label "Navigator">
|
<!ENTITY navigator.label "Navigator">
|
||||||
<!ENTITY languages.label "Languages">
|
<!ENTITY languages.label "Languages">
|
||||||
|
|
Загрузка…
Ссылка в новой задаче