Adding the stubs of a UI for theme switching to prefs.

This commit is contained in:
hyatt%netscape.com 1999-11-30 11:53:17 +00:00
parent d12276fd42
commit cd2b66ab3e
14 changed files with 110 additions and 0 deletions

View File

@ -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>

View File

@ -89,6 +89,13 @@
<treecell name="chrome://pref/content/pref-colors.xul"><treeindentation/>&colors.label;</treecell>
</treerow>
</treeitem>
<treeitem open="true">
<treerow>
<treecell name="chrome://pref/content/pref-themes.xul"><treeindentation/>&themes.label;</treecell>
</treerow>
</treeitem>
</treechildren>
</treeitem>

View File

@ -0,0 +1,4 @@
<!--LOCALIZATION NOTE : FILE Theme management prefs -->
<!ENTITY lHeader "Themes">
<!ENTITY rHeader "Choose an installed theme for your display">

View File

@ -4,6 +4,7 @@
<!ENTITY appear.label "Appearance">
<!ENTITY fonts.label "Fonts">
<!ENTITY colors.label "Colors">
<!ENTITY themes.label "Themes">
<!--LOCALIZATION NOTE (navigator.label): DONT_TRANSLATE -->
<!ENTITY navigator.label "Navigator">
<!ENTITY languages.label "Languages">

View File

@ -3,6 +3,7 @@ pref-appearance.xul
pref-applications.xul
pref-cache.xul
pref-colors.xul
pref-themes.xul
pref-composer.xul
pref-debug.xul
pref-download.xul

View File

@ -34,6 +34,7 @@ EXPORT_RESOURCE_CONTENT = \
$(srcdir)/pref-applications.xul \
$(srcdir)/pref-cache.xul \
$(srcdir)/pref-colors.xul \
$(srcdir)/pref-themes.xul \
$(srcdir)/pref-composer.xul \
$(srcdir)/pref-debug.xul \
$(srcdir)/pref-download.xul \

View File

@ -29,6 +29,7 @@ install::
$(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-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-debug.xul $(DIST)\bin\chrome\pref\content\default
$(MAKE_INSTALL) pref-download.xul $(DIST)\bin\chrome\pref\content\default

View File

@ -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>

View File

@ -89,6 +89,13 @@
<treecell name="chrome://pref/content/pref-colors.xul"><treeindentation/>&colors.label;</treecell>
</treerow>
</treeitem>
<treeitem open="true">
<treerow>
<treecell name="chrome://pref/content/pref-themes.xul"><treeindentation/>&themes.label;</treecell>
</treerow>
</treeitem>
</treechildren>
</treeitem>

View File

@ -3,6 +3,7 @@ pref-appearance.dtd
pref-applications.dtd
pref-cache.dtd
pref-colors.dtd
pref-themes.dtd
pref-composer.dtd
pref-debug.dtd
pref-download.dtd

View File

@ -33,6 +33,7 @@ EXPORT_RESOURCE_CONTENT = \
$(srcdir)/pref-applications.dtd \
$(srcdir)/pref-cache.dtd \
$(srcdir)/pref-colors.dtd \
$(srcdir)/pref-themes.dtd \
$(srcdir)/pref-composer.dtd \
$(srcdir)/pref-debug.dtd \
$(srcdir)/pref-download.dtd \

View File

@ -29,6 +29,7 @@ install::
$(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-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-download.dtd $(DIST)\bin\chrome\pref\locale\en-US
$(MAKE_INSTALL) pref-debug.dtd $(DIST)\bin\chrome\pref\locale\en-US

View File

@ -0,0 +1,4 @@
<!--LOCALIZATION NOTE : FILE Theme management prefs -->
<!ENTITY lHeader "Themes">
<!ENTITY rHeader "Choose an installed theme for your display">

View File

@ -4,6 +4,7 @@
<!ENTITY appear.label "Appearance">
<!ENTITY fonts.label "Fonts">
<!ENTITY colors.label "Colors">
<!ENTITY themes.label "Themes">
<!--LOCALIZATION NOTE (navigator.label): DONT_TRANSLATE -->
<!ENTITY navigator.label "Navigator">
<!ENTITY languages.label "Languages">