~ubuntu-branches/ubuntu/precise/kompozer/precise

« back to all changes in this revision

Viewing changes to mozilla/extensions/irc/xul/content/prefpanel/interface.xul

  • Committer: Bazaar Package Importer
  • Author(s): Anthony Yarusso
  • Date: 2007-08-27 01:11:03 UTC
  • Revision ID: james.westby@ubuntu.com-20070827011103-2jgf4s6532gqu2ka
Tags: upstream-0.7.10
ImportĀ upstreamĀ versionĀ 0.7.10

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
<?xml version="1.0"?> 
 
2
 
 
3
<!-- ***** BEGIN LICENSE BLOCK *****
 
4
   - Version: MPL 1.1/GPL 2.0/LGPL 2.1
 
5
   -
 
6
   - The contents of this file are subject to the Mozilla Public License
 
7
   - Version 1.1 (the "License"); you may not use this file except in
 
8
   - compliance with the License. You may obtain a copy of the License at
 
9
   - http://www.mozilla.org/MPL/ 
 
10
   - 
 
11
   - Software distributed under the License is distributed on an "AS IS" basis,
 
12
   - WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License
 
13
   - for the specific language governing rights and limitations under the
 
14
   - License. 
 
15
   -
 
16
   - The Original Code is Chatzilla
 
17
   - 
 
18
   - Alternatively, the contents of this file may be used under the
 
19
   - terms of the GNU Public License (the "GPL"), in which case the
 
20
   - provisions of the GPL are applicable instead of those above.
 
21
   - If you wish to allow use of your version of this file only
 
22
   - under the terms of the GPL and not to allow others to use your
 
23
   - version of this file under the MPL, indicate your decision by
 
24
   - deleting the provisions above and replace them with the notice
 
25
   - and other provisions required by the GPL.  If you do not delete
 
26
   - the provisions above, a recipient may use your version of this
 
27
   - file under either the MPL or the GPL.
 
28
   -
 
29
   - Contributor(s):
 
30
   -  James Ross, <twpol@aol.com>, original author
 
31
   -
 
32
   - ***** END LICENSE BLOCK ***** -->
 
33
 
 
34
<?xml-stylesheet href="chrome://communicator/skin/" type="text/css"?>
 
35
<!DOCTYPE page SYSTEM "chrome://chatzilla/locale/pref-irc.dtd">
 
36
 
 
37
<page xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"
 
38
    onload="Init();"
 
39
    headertitle="&interface.window.title;">
 
40
 
 
41
  <script src="chrome://chatzilla/content/prefpanel/interface.js"/>
 
42
  <script type="application/x-javascript">
 
43
  <![CDATA[
 
44
    var _elementIDs = ["czPMTabLimit", "czFocusPMs", "czConL",
 
45
        "czScrollback1", "czScrollback2", "czScrollback3",
 
46
        "czScrollback4"];
 
47
  ]]>
 
48
  </script>
 
49
  
 
50
  <groupbox align="start">
 
51
    <caption label="&tabs.title;"/>
 
52
    
 
53
    <vbox>
 
54
      <checkbox id="czCreateTabsForPMs" label="&tabs.createForPMs.label;" 
 
55
          accesskey="&tabs.createForPMs.accesskey;" oncommand="updatePMTabPref();"/>
 
56
      <hbox class="indent">
 
57
        <checkbox id="czLimitPMTabs" label="&tabs.limitPMTabs.label;" 
 
58
            accesskey="&tabs.limitPMTabs.accesskey;" oncommand="updatePMTabPref();"/>
 
59
        <textbox id="csPMTabLimitUser" size="5" oninput="updatePMTabPref();"/>
 
60
        <textbox id="czPMTabLimit" hidden="true" prefdefval="15" 
 
61
              preftype="int" prefattribute="value" 
 
62
              prefstring="extensions.irc.newTabLimit"/>
 
63
        <!-- Set to 0 for unlimited tabs, and 1 for no PM tabs. -->
 
64
      </hbox>
 
65
    </vbox>
 
66
    <checkbox id="czFocusPMs" label="&tabs.focusPMs.label;" 
 
67
        accesskey="&tabs.focusPMs.accesskey;" prefdefval="false"
 
68
        prefstring="extensions.irc.raiseNewTab"/>
 
69
    <checkbox id="czConL" label="&tabs.closeOnLeave.label;" 
 
70
        accesskey="&tabs.closeOnLeave.accesskey;" prefdefval="true"
 
71
        prefstring="extensions.irc.deleteOnPart"/>
 
72
  </groupbox>
 
73
  
 
74
  <groupbox>
 
75
    <caption label="&scrollback.title;"/>
 
76
    <vbox>
 
77
      <label>&scrollback.label;</label>
 
78
      
 
79
      <grid>
 
80
        <columns>
 
81
          <column/><column flex="1"/>
 
82
        </columns>
 
83
        <rows>
 
84
          <row align="center">
 
85
            <label value="&scrollback.1.label;" control="czScrollback1" 
 
86
                accesskey="&scrollback.1.accesskey;"/><hbox>
 
87
            <textbox id="czScrollback1" size="5" preftype="int" 
 
88
                prefattribute="value" prefdefval="200" 
 
89
                prefstring="extensions.irc.views.client.maxlines"
 
90
                /><spacer/></hbox>
 
91
          </row>
 
92
          <row align="center">
 
93
            <label value="&scrollback.2.label;" control="czScrollback2" 
 
94
                accesskey="&scrollback.2.accesskey;"/><hbox>
 
95
            <textbox id="czScrollback2" size="5" preftype="int" 
 
96
                prefattribute="value" prefdefval="100" 
 
97
                prefstring="extensions.irc.views.network.maxlines"/><spacer/></hbox>
 
98
          </row>
 
99
          <row align="center">
 
100
            <label value="&scrollback.3.label;" control="czScrollback3" 
 
101
                accesskey="&scrollback.3.accesskey;"/><hbox>
 
102
            <textbox id="czScrollback3" size="5" preftype="int" 
 
103
                prefattribute="value" prefdefval="300" 
 
104
                prefstring="extensions.irc.views.channel.maxlines"/><spacer/></hbox>
 
105
          </row>
 
106
          <row align="center">
 
107
            <label value="&scrollback.4.label;" control="czScrollback4" 
 
108
                accesskey="&scrollback.4.accesskey;"/><hbox>
 
109
            <textbox id="czScrollback4" size="5" preftype="int" 
 
110
                prefattribute="value" prefdefval="200" 
 
111
                prefstring="extensions.irc.views.chanuser.maxlines"/><spacer/></hbox>
 
112
          </row>
 
113
        </rows>
 
114
      </grid>
 
115
    </vbox>
 
116
  </groupbox>
 
117
</page>