Bug 123258 - Add checkbox to make ChatZilla start on startup of Suite.

ChatZilla only.
r=silver
p=gijskruitbosch+bugs@gmail.com (Gijs Kruitbosch)
This commit is contained in:
silver%warwickcompsoc.co.uk 2005-12-09 14:18:42 +00:00
parent cb477cfadc
commit 5cc74afc7c
3 changed files with 24 additions and 1 deletions

View File

@ -24,6 +24,7 @@
<RDF:li resource="chrome://editor/content/editorTasksOverlay.xul"/>
<RDF:li resource="chrome://browser/content/browser.xul"/>
<RDF:li resource="chrome://communicator/content/pref/preftree.xul"/>
<RDF:li resource="chrome://communicator/content/pref/pref-appearance.xul"/>
</RDF:Seq>
<RDF:Seq about="chrome://browser/content/browser.xul">
@ -38,4 +39,8 @@
<RDF:li>chrome://chatzilla/content/prefsOverlay.xul</RDF:li>
</RDF:Seq>
<RDF:Seq about="chrome://communicator/content/pref/pref-appearance.xul">
<RDF:li>chrome://chatzilla/content/prefsOverlay.xul</RDF:li>
</RDF:Seq>
</RDF:RDF>

View File

@ -40,6 +40,7 @@
<overlay id="ovCZPrefs"
xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul">
<!-- Tree entry -->
<treechildren id="panelChildren">
<treeitem container="false" id="chatzillaItem" insertbefore="advancedItem">
<treerow>
@ -48,6 +49,21 @@
</treerow>
</treeitem>
</treechildren>
<!-- Startup option -->
<script type="application/x-javascript">
<![CDATA[
var panel;
if (panel != undefined &&
(panel == "chrome://communicator/content/pref/pref-appearance.xul"))
_elementIDs.push("generalStartupChat");
]]>
</script>
<groupbox id="generalStartupPreferences">
<checkbox id="generalStartupChat" label="&startup.chat.label;"
accesskey="&startup.chat.accesskey;" pref="true" preftype="bool"
prefstring="general.startup.chat" prefattribute="checked"
wsm_persist="true"/>
</groupbox>
</overlay>

View File

@ -4,3 +4,5 @@
<!ENTITY pref-irc.open.desc "ChatZilla's preferences are too extensive to fit into this preference window so, instead, you can open its preferences window from here.">
<!ENTITY pref-irc.open.label "Open ChatZilla's Preferences">
<!ENTITY pref-irc.open.accesskey "O">
<!ENTITY startup.chat.label "ChatZilla">
<!ENTITY startup.chat.accesskey "Z">