fix to bug 113029 - Add Calendar to Preferences-->Appearance startup list

git-svn-id: svn://10.0.0.236/trunk@118552 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
colinp%oeone.com
2002-04-09 17:23:18 +00:00
parent 6338336cd9
commit 37fedcd723
5 changed files with 62 additions and 2 deletions

View File

@@ -52,13 +52,21 @@
<RDF:Seq about="urn:mozilla:overlays">
<RDF:li resource="chrome://communicator/content/tasksOverlay.xul"/>
<RDF:li resource="chrome://communicator/content/pref/preftree.xul"/>
<RDF:li resource="chrome://communicator/content/pref/pref-appearance.xul"/>
</RDF:Seq>
<!-- calendar tasks -->
<RDF:Seq about="chrome://communicator/content/tasksOverlay.xul">
<RDF:li>chrome://calendar/content/calendarOverlay.xul</RDF:li>
</RDF:Seq>
<!-- calendar pref page -->
<RDF:Seq about="chrome://communicator/content/pref/preftree.xul">
<RDF:li>chrome://calendar/content/pref/calendarPrefOverlay.xul</RDF:li>
</RDF:Seq>
<!-- calendar startup pref -->
<RDF:Seq about="chrome://communicator/content/pref/pref-appearance.xul">
<RDF:li>chrome://calendar/content/pref/calendarPrefOverlay.xul</RDF:li>
</RDF:Seq>
</RDF:RDF>

View File

@@ -35,13 +35,36 @@
-
- ***** END LICENSE BLOCK ***** -->
<!DOCTYPE window [
<!ENTITY % calendarPrefsOverlayDTD SYSTEM "chrome://calendar/locale/calendarPrefs.dtd" >
%calendarPrefsOverlayDTD;
]>
<overlay id="calendarPrefOverlay"
xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul">
<script type="application/x-javascript">
<![CDATA[
var panel;
if ((panel != undefined)&&(panel == "chrome://communicator/content/pref/pref-appearance.xul"))
{
_elementIDs.push("generalStartupCalendar");
}
]]>
</script>
<!-- calendar startup toggle -->
<groupbox id="generalStartupPreferences">
<checkbox id="generalStartupCalendar" wsm_persist="true" position="4"
label="&calendar.label;" accesskey="&calendar.accesskey;"
pref="true" preftype="bool" prefstring="general.startup.calendar"
prefattribute="checked"/>
</groupbox>
<treechildren id="advancedChildren">
<treeitem id="calendarPanel" container="false">
<treerow>
<treecell class="treecell-indent" url="chrome://calendar/content/pref/calendarPref.xul" label="Calendar" id="calendar"/>
<treecell class="treecell-indent" url="chrome://calendar/content/pref/calendarPref.xul" label="&calendar.label;" id="calendar"/>
</treerow>
</treeitem>
</treechildren>

View File

@@ -35,13 +35,36 @@
-
- ***** END LICENSE BLOCK ***** -->
<!DOCTYPE window [
<!ENTITY % calendarPrefsOverlayDTD SYSTEM "chrome://calendar/locale/calendarPrefs.dtd" >
%calendarPrefsOverlayDTD;
]>
<overlay id="calendarPrefOverlay"
xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul">
<script type="application/x-javascript">
<![CDATA[
var panel;
if ((panel != undefined)&&(panel == "chrome://communicator/content/pref/pref-appearance.xul"))
{
_elementIDs.push("generalStartupCalendar");
}
]]>
</script>
<!-- calendar startup toggle -->
<groupbox id="generalStartupPreferences">
<checkbox id="generalStartupCalendar" wsm_persist="true" position="4"
label="&calendar.label;" accesskey="&calendar.accesskey;"
pref="true" preftype="bool" prefstring="general.startup.calendar"
prefattribute="checked"/>
</groupbox>
<treechildren id="advancedChildren">
<treeitem id="calendarPanel" container="false">
<treerow>
<treecell class="treecell-indent" url="chrome://calendar/content/pref/calendarPref.xul" label="Calendar" id="calendar"/>
<treecell class="treecell-indent" url="chrome://calendar/content/pref/calendarPref.xul" label="&calendar.label;" id="calendar"/>
</treerow>
</treeitem>
</treechildren>

View File

@@ -35,6 +35,9 @@
-
- ***** END LICENSE BLOCK ***** -->
<!ENTITY calendar.label "Calendar" >
<!ENTITY calendar.accesskey "c" >
<!ENTITY pref.mainbox.caption "General Settings" >
<!ENTITY pref.alarmgoesoff.label "When an alarm goes off:">
<!ENTITY pref.playasound "Play a sound" >

View File

@@ -35,6 +35,9 @@
-
- ***** END LICENSE BLOCK ***** -->
<!ENTITY calendar.label "Calendar" >
<!ENTITY calendar.accesskey "c" >
<!ENTITY pref.mainbox.caption "General Settings" >
<!ENTITY pref.alarmgoesoff.label "When an alarm goes off:">
<!ENTITY pref.playasound "Play a sound" >