~ubuntu-branches/ubuntu/quantal/enigmail/quantal-security

« back to all changes in this revision

Viewing changes to mailnews/extensions/enigmail/ui/content/pref-enigmail.xul

  • Committer: Package Import Robot
  • Author(s): Chris Coulson
  • Date: 2013-09-13 16:02:15 UTC
  • mfrom: (0.12.16)
  • Revision ID: package-import@ubuntu.com-20130913160215-u3g8nmwa0pdwagwc
Tags: 2:1.5.2-0ubuntu0.12.10.1
* New upstream release v1.5.2 for Thunderbird 24

* Build enigmail using a stripped down Thunderbird 17 build system, as it's
  now quite difficult to build the way we were doing previously, with the
  latest Firefox build system
* Add debian/patches/no_libxpcom.patch - Don't link against libxpcom, as it
  doesn't exist anymore (but exists in the build system)
* Add debian/patches/use_sdk.patch - Use the SDK version of xpt.py and
  friends
* Drop debian/patches/ipc-pipe_rename.diff (not needed anymore)
* Drop debian/patches/makefile_depth.diff (not needed anymore)

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
 
7
 * License Version 1.1 (the "MPL"); you may not use this file
 
8
 * except in compliance with the MPL. You may obtain a copy of
 
9
 * the MPL at http://www.mozilla.org/MPL/
 
10
 *
 
11
 * Software distributed under the MPL is distributed on an "AS
 
12
 * IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or
 
13
 * implied. See the MPL for the specific language governing
 
14
 * rights and limitations under the MPL.
 
15
 *
 
16
 * The Original Code is Enigmail.
 
17
 *
 
18
 * The Initial Developer of the Original Code is Ramalingam Saravanan.
 
19
 * Portions created by Ramalingam Saravanan <svn@xmlterm.org> are
 
20
 * Copyright (C) 2001 Ramalingam Saravanan. All Rights Reserved.
 
21
 *
 
22
 * Contributor(s):
 
23
 * Patrick Brunschwig <patrick@mozilla-enigmail.org>
 
24
 *
 
25
 * Alternatively, the contents of this file may be used under the terms of
 
26
 * either the GNU General Public License Version 2 or later (the "GPL"), or
 
27
 * the GNU Lesser General Public License Version 2.1 or later (the "LGPL"),
 
28
 * in which case the provisions of the GPL or the LGPL are applicable instead
 
29
 * of those above. If you wish to allow use of your version of this file only
 
30
 * under the terms of either the GPL or the LGPL, and not to allow others to
 
31
 * use your version of this file under the terms of the MPL, indicate your
 
32
 * decision by deleting the provisions above and replace them with the notice
 
33
 * and other provisions required by the GPL or the LGPL. If you do not delete
 
34
 * the provisions above, a recipient may use your version of this file under
 
35
 * the terms of any one of the MPL, the GPL or the LGPL.
 
36
 * ***** END LICENSE BLOCK ***** *
 
37
-->
 
38
 
 
39
<?xml-stylesheet href="chrome://global/skin/" type="text/css"?>
 
40
<?xml-stylesheet href="chrome://communicator/skin/" type="text/css"?>
 
41
<?xml-stylesheet href="chrome://enigmail/skin/enigmail.css" type="text/css"?>
 
42
 
 
43
<!DOCTYPE window [
 
44
<!ENTITY % brandDTD SYSTEM "chrome://global/locale/brand.dtd" >
 
45
%brandDTD;
 
46
<!ENTITY % enigMailDTD SYSTEM "chrome://enigmail/locale/enigmail.dtd" >
 
47
%enigMailDTD;
 
48
]>
 
49
<dialog id="enigmailPrefsAdv"
 
50
        title="&enigmail.preferences.label;"
 
51
        xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"
 
52
        onload="prefOnLoad();"
 
53
        ondialogaccept="return prefOnAccept();">
 
54
 
 
55
  <script type="application/x-javascript" src="chrome://enigmail/content/enigmailCommon.js"/>
 
56
  <script type="application/x-javascript" src="chrome://enigmail/content/pref-enigmail.js"/>
 
57
 
 
58
  <popupset>
 
59
    <tooltip id="neverAsk.tooltip">
 
60
        <description>&enigmail.neverAsk.tooltip;</description>
 
61
    </tooltip>
 
62
    <tooltip id="prefs.overrideGpg.tooltip">
 
63
      <description>&enigmail.prefs.overrideGpg.tooltip;</description>
 
64
    </tooltip>
 
65
    <tooltip id="maxIdleMinutes.tooltip">
 
66
      <description>&enigmail.maxIdleMinutes.tooltip;</description>
 
67
    </tooltip>
 
68
    <tooltip id="userNoPassphrase.tooltip">
 
69
      <description>&enigmail.userNoPassphrase.tooltip;</description>
 
70
    </tooltip>
 
71
    <tooltip id="expertUser.tooltip">
 
72
      <description>&enigmail.expertUser.tooltip;</description>
 
73
    </tooltip>
 
74
    <tooltip id="basicUser.tooltip">
 
75
      <description>&enigmail.basicUser.tooltip;</description>
 
76
    </tooltip>
 
77
    <tooltip id="resetPrefs.tooltip">
 
78
      <description>&enigmail.resetPrefs.tooltip;</description>
 
79
    </tooltip>
 
80
    <tooltip id="encryptToSelf.tooltip">
 
81
      <description>&enigmail.encryptToSelf.tooltip;</description>
 
82
    </tooltip>
 
83
    <tooltip id="wrapHtmlBeforeSend.tooltip">
 
84
      <description>&enigmail.wrapHtmlBeforeSend.tooltip;</description>
 
85
    </tooltip>
 
86
    <tooltip id="alwaysTrustSend.tooltip">
 
87
      <description>&enigmail.alwaysTrustSend.tooltip;</description>
 
88
    </tooltip>
 
89
    <tooltip id="allowEmptySubject.tooltip">
 
90
      <description>&enigmail.allowEmptySubject.tooltip;</description>
 
91
    </tooltip>
 
92
    <tooltip id="confirmBeforeSend.tooltip">
 
93
      <description>&enigmail.confirmBeforeSend.tooltip;</description>
 
94
    </tooltip>
 
95
    <tooltip id="perRecipientRules.tooltip">
 
96
      <description>&enigmail.perRecipientRules.tooltip;</description>
 
97
    </tooltip>
 
98
    <tooltip id="perRecipientRulesAndEmail.tooltip">
 
99
      <description>&enigmail.perRecipientRulesAndEmail.tooltip;</description>
 
100
    </tooltip>
 
101
    <tooltip id="perEmailAddress.tooltip">
 
102
      <description>&enigmail.perEmailAddress.tooltip;</description>
 
103
    </tooltip>
 
104
    <tooltip id="askRecipientsAlways.tooltip">
 
105
      <description>&enigmail.askRecipientsAlways.tooltip;</description>
 
106
    </tooltip>
 
107
    <tooltip id="defineRules.tooltip">
 
108
      <description>&enigmail.defineRules.tooltip;</description>
 
109
    </tooltip>
 
110
    <tooltip id="keepCryptoSettingsForReply.tooltip">
 
111
      <description>&enigmail.keepCryptoSettingsForReply.tooltip;</description>
 
112
    </tooltip>
 
113
 
 
114
    <tooltip id="doubleDashSeparator.tooltip">
 
115
      <description>&enigmail.doubleDashSeparator.tooltip;</description>
 
116
    </tooltip>
 
117
 
 
118
    <tooltip id="useGpgAgent.tooltip">
 
119
      <description>&enigmail.useGpgAgent.tooltip;</description>
 
120
    </tooltip>
 
121
 
 
122
    <tooltip id="noHushMailSupport.tooltip">
 
123
      <description>&enigmail.noHushMailSupport.tooltip;</description>
 
124
    </tooltip>
 
125
 
 
126
    <tooltip id="mime_parts_on_demand.tooltip">
 
127
      <description>&enigmail.mime_parts_on_demand.tooltip;</description>
 
128
    </tooltip>
 
129
 
 
130
    <tooltip id="disableSMIMEui.tooltip">
 
131
      <description>&enigmail.disableSMIMEui.tooltip;</description>
 
132
    </tooltip>
 
133
 
 
134
    <tooltip id="agentAdditionalParam.tooltip">
 
135
      <description>&enigmail.agentAdditionalParam.tooltip;</description>
 
136
    </tooltip>
 
137
 
 
138
    <tooltip id="resetRememberedValues.tooltip">
 
139
      <description>&enigmail.resetRememberedValues.tooltip;</description>
 
140
    </tooltip>
 
141
</popupset>
 
142
 
 
143
  <tabbox flex="1" style="margin:5px" id="prefTabs">
 
144
    <tabs id="prefTabBox">
 
145
      <tab id="basicTab"    label="&enigmail.basic.label;"/>
 
146
      <tab id="sendTab"     label="&enigmail.sending.label;" advanced="true"/>
 
147
      <tab id="keySelTab"   label="&enigmail.keySel.label;" advanced="true"/>
 
148
      <tab id="advancedTab" label="&enigmail.advancedPrefsButton.label;" advanced="true"/>
 
149
      <tab id="keyserverTab" label="&enigmail.keyserver.label;" advanced="true"/>
 
150
      <tab id="debugTab"    label="&enigmail.debug.label;" advanced="true"/>
 
151
    </tabs>
 
152
 
 
153
    <tabpanels flex="1" id="enigPrefTabPanel">
 
154
      <!-- "Basic" Tab -->
 
155
      <vbox id="basic" flex="1">
 
156
          <description class="enigmailPrefsTitle">&enigmail.basicPrefs.label;</description>
 
157
          <hbox>
 
158
            <groupbox orient="vertical" flex="1">
 
159
              <caption label="&enigmail.prefs.pathsTitle.label;"/>
 
160
              <hbox align="center">
 
161
                <label id="enigmailGpgPath" value="(error)"/>
 
162
              </hbox>
 
163
              <hbox align="center">
 
164
                <checkbox label="&enigmail.prefs.overrideGpg.label;"
 
165
                          tooltip="prefs.overrideGpg.tooltip"
 
166
                          id="enigOverrideGpg"
 
167
                          oncommand="enigActivateDependent(this, 'enigmail_agentPath enigmail_browsePath');"/>
 
168
                <textbox id="enigmail_agentPath" size="30" aria-labelledby="enigOverrideGpg"/>
 
169
                <button id="enigmail_browsePath"
 
170
                        label="&enigmail.browse.label;"
 
171
                  oncommand="enigLocateGpg();"/>
 
172
              </hbox>
 
173
            </groupbox>
 
174
          </hbox>
 
175
          <hbox>
 
176
            <groupbox orient="vertical" flex="1">
 
177
              <caption label="&enigmail.passwordSettings.label;"/>
 
178
              <hbox autostretch="never" align="center">
 
179
                <label control="enigmail_maxIdleMinutes"
 
180
                       tooltip="maxIdleMinutes.tooltip"
 
181
                       value="&enigmail.maxIdleMinutesHead.label;" id="maxIdleMinutesHeadLabel"/>
 
182
 
 
183
                <textbox id="enigmail_maxIdleMinutes"
 
184
                        aria-labelledby="maxIdleMinutesHeadLabel enigmail_maxIdleMinutes maxIdleMinutesTailLabel"
 
185
                        type="number"
 
186
                        min="0" max="9999"
 
187
                        size="4"
 
188
                        maxlength="4"
 
189
                        pref="true"
 
190
                        preftype="int"
 
191
                        tooltip="maxIdleMinutes.tooltip"
 
192
                        prefstring="extensions.enigmail.maxIdleMinutes"/>
 
193
 
 
194
                <description tooltip="maxIdleMinutes.tooltip" id="maxIdleMinutesTailLabel">&enigmail.maxIdleMinutesTail.label;</description>
 
195
              </hbox>
 
196
 
 
197
              <checkbox id="enigmail_noPassphrase"
 
198
                      label="&enigmail.userNoPassphrase.label;"
 
199
                      tooltip="userNoPassphrase.tooltip"
 
200
                      pref="true"
 
201
                      preftype="bool"
 
202
                      prefstring="extensions.enigmail.noPassphrase"
 
203
                      prefattribute="checked"/>
 
204
 
 
205
            </groupbox>
 
206
          </hbox>
 
207
 
 
208
          <separator/>
 
209
 
 
210
          <hbox autostretch="never" align="center">
 
211
            <button id="enigmail_advancedUser"
 
212
                  label="&enigmail.expertUser.label;"
 
213
                  oncommand="enigSwitchAdvancedMode(true)"
 
214
                  tooltip="expertUser.tooltip"/>
 
215
 
 
216
            <button id="enigmail_basicUser"
 
217
                  label="&enigmail.basicUser.label;"
 
218
                  oncommand="enigSwitchAdvancedMode(false)"
 
219
                  tooltip="basicUser.tooltip"
 
220
                  hidden="true"/>
 
221
          </hbox>
 
222
 
 
223
          <separator/>
 
224
          <vbox autostretch="never" align="end">
 
225
            <hbox>
 
226
              <button id="uninstall"
 
227
                      class="dialog"
 
228
                      label="&enigmail.uninstallButton.label;"
 
229
                      oncommand="enigUninstall()"/>
 
230
              <button id="resetPrefs"
 
231
                      label="&enigmail.resetPrefsButton.label;"
 
232
                      tooltip="resetPrefs.tooltip"
 
233
                      oncommand="resetPrefs();"/>
 
234
            </hbox>
 
235
          </vbox>
 
236
 
 
237
      </vbox>
 
238
 
 
239
                        <!-- "Sending" Tab -->
 
240
      <vbox id="sending" flex="1"
 
241
            advanced="true">
 
242
          <description class="enigmailPrefsTitle">&enigmail.whenSending.label; ...</description>
 
243
 
 
244
          <checkbox id="enigmail_encryptToSelf"
 
245
                    label="&enigmail.encryptToSelf.label;"
 
246
                    tooltip="encryptToSelf.tooltip"/>
 
247
 
 
248
          <checkbox id="enigmail_wrapHtmlBeforeSend"
 
249
                    label="&enigmail.wrapHtmlBeforeSend.label;"
 
250
                    tooltip="wrapHtmlBeforeSend.tooltip"/>
 
251
 
 
252
          <checkbox id="enigmail_alwaysTrustSend"
 
253
                    label="&enigmail.alwaysTrustSend.label;"
 
254
                    tooltip="alwaysTrustSend.tooltip"/>
 
255
 
 
256
                                  <checkbox id="enigmail_allowEmptySubject"
 
257
                    hidden="true"/>
 
258
 
 
259
          <checkbox id="enigmail_confirmBeforeSend"
 
260
                    label="&enigmail.confirmBeforeSend.label;"
 
261
                    tooltip="confirmBeforeSend.tooltip"/>
 
262
      </vbox>
 
263
 
 
264
                        <!-- "Key Selection" Tab -->
 
265
      <vbox id="keySel" flex="1"
 
266
            advanced="true">
 
267
          <groupbox>
 
268
            <caption label="&enigmail.recipientsSelectionOption.label;"/>
 
269
            <radiogroup id="enigmail_recipientsSelection"
 
270
                        oncommand="activateRulesButton(this, 'openRulesEditor')"
 
271
                        pref="true"
 
272
                        preftype="int"
 
273
                        prefstring="extensions.enigmail.recipientsSelection">
 
274
 
 
275
              <radio id="perRecipientRules"
 
276
                    value="1"
 
277
                    label="&enigmail.perRecipientRules.label;"
 
278
                    tooltip="perRecipientRules.tooltip"/>
 
279
 
 
280
              <radio id="perRecipientRulesAndEmail"
 
281
                    value="2"
 
282
                    label="&enigmail.perRecipientRulesAndEmail.label;"
 
283
                    tooltip="perRecipientRulesAndEmail.tooltip"/>
 
284
 
 
285
              <radio id="perEmailAddress"
 
286
                    value="3"
 
287
                    label="&enigmail.perEmailAddress.label;"
 
288
                    tooltip="perEmailAddress.tooltip"/>
 
289
 
 
290
              <radio id="askRecipientsAlways"
 
291
                    value="4"
 
292
                    label="&enigmail.askRecipientsAlways.label;"
 
293
                    tooltip="askRecipientsAlways.tooltip"/>
 
294
 
 
295
              <separator/>
 
296
              <radio id="neverAsk"
 
297
                    value="5"
 
298
                    label="&enigmail.neverAsk.label;"
 
299
                    oncommand="enigAlertAskNever()"
 
300
                    tooltip="neverAsk.tooltip"/>
 
301
 
 
302
            </radiogroup>
 
303
            <separator/>
 
304
            <vbox autostretch="always" align="end">
 
305
              <button id="openRulesEditor"
 
306
                      label="&enigmail.defineRules.label;"
 
307
                      tooltip="defineRules.tooltip"
 
308
                      oncommand="EnigRulesEditor();"/>
 
309
            </vbox>
 
310
          </groupbox>
 
311
 
 
312
      </vbox>
 
313
 
 
314
      <!-- "Advanced" Tab -->
 
315
      <vbox id="advanced" flex="1"
 
316
            advanced="true">
 
317
          <description class="enigmailPrefsTitle">&enigmail.moreOptions.label;</description>
 
318
          <spacer flex="0"/>
 
319
 
 
320
          <checkbox id="enigmail_keepSettingsForReply"
 
321
                    tooltip="keepCryptoSettingsForReply.tooltip"
 
322
                    label="&enigmail.keepCryptoSettingsForReply.label;" />
 
323
 
 
324
          <checkbox id="enigmail_useDefaultComment"
 
325
                    invert="true"
 
326
                    label="&enigmail.useNonDefaultComment.label;" />
 
327
 
 
328
          <checkbox id="enigmail_doubleDashSeparator"
 
329
                    tooltip="doubleDashSeparator.tooltip"
 
330
                    label="&enigmail.doubleDashSeparator.label;" />
 
331
 
 
332
          <checkbox id="enigmail_useGpgAgent"
 
333
                    tooltip="useGpgAgent.tooltip"
 
334
                    label="&enigmail.useGpgAgent.label;" />
 
335
 
 
336
          <checkbox id="enigmail_hushMailSupport"
 
337
                    invert="true"
 
338
                    tooltip="noHushMailSupport.tooltip"
 
339
                    label="&enigmail.noHushMailSupport.label;" />
 
340
 
 
341
          <checkbox id="enigmail_disableSMIMEui"
 
342
                    tooltip="disableSMIMEui.tooltip"
 
343
                    label="&enigmail.disableSMIMEui.label;" />
 
344
 
 
345
          <checkbox id="mime_parts_on_demand"
 
346
                    tooltip="mime_parts_on_demand.tooltip"
 
347
                    label="&enigmail.mime_parts_on_demand.label;" />
 
348
 
 
349
          <separator/>
 
350
 
 
351
          <hbox>
 
352
            <hbox align="center">
 
353
              <label control="enigmail_agentAdditionalParam"
 
354
                     tooltip="agentAdditionalParam.tooltip"
 
355
                     value="&enigmail.agentAdditionalParam.label;"/>
 
356
            </hbox>
 
357
            <hbox>
 
358
              <textbox id="enigmail_agentAdditionalParam"
 
359
                       tooltip="agentAdditionalParam.tooltip"
 
360
                       size="30"/>
 
361
            </hbox>
 
362
          </hbox>
 
363
 
 
364
          <separator/>
 
365
 
 
366
          <hbox>
 
367
            <button id="resetRememberedValues"
 
368
                    label="&enigmail.resetRememberedValues.label;"
 
369
                    tooltip="resetRememberedValues.tooltip"
 
370
                    oncommand="resetRememberedValues();"/>
 
371
          </hbox>
 
372
      </vbox>
 
373
 
 
374
      <!-- "Key Server" Tab -->
 
375
      <vbox id="keyserver" flex="1"
 
376
            advanced="true">
 
377
          <vbox>
 
378
            <label control="enigmail_keyserver"
 
379
                  value="&enigmail.keyservers.label;:" />
 
380
            <textbox id="enigmail_keyserver"/>
 
381
            <label value="&enigmail.keyservers.sample;" style="font-style: italic;"/>
 
382
          </vbox>
 
383
 
 
384
          <separator/>
 
385
 
 
386
          <vbox>
 
387
            <label value="&enigmail.autoKeyRetrieve.label;" id="autoKeyRetrieveLabel1"/>
 
388
            <label value="&enigmail.autoKeyRetrieve2.label;" id="autoKeyRetrieveLabel2"/>
 
389
            <textbox id="enigmail_autoKeyRetrieve" size="35" aria-labelledby="autoKeyRetrieveLabel1 autoKeyRetrieveLabel2"/>
 
390
          </vbox>
 
391
 
 
392
      </vbox>
 
393
 
 
394
      <!-- "Debugging" Tab -->
 
395
      <vbox id="debug" flex="1"
 
396
            advanced="true">
 
397
        <description class="enigmailPrefsTitle">&enigmail.debugMenu.label;</description>
 
398
        <spacer flex="0"/>
 
399
 
 
400
        <grid>
 
401
          <columns>
 
402
            <column/>
 
403
            <column flex="1"/>
 
404
          </columns>
 
405
 
 
406
          <rows autostretch="never">
 
407
            <row>
 
408
              <hbox align="center">
 
409
                <label control="enigmail_logDirectory"
 
410
                    value="&enigmail.logdirectory.label;" />
 
411
              </hbox>
 
412
              <textbox id="enigmail_logDirectory" />
 
413
            </row>
 
414
            <row>
 
415
              <hbox align="center">
 
416
                <label control="enigmail_test_email"
 
417
                    value="&enigmail.testemail.label;" />
 
418
              </hbox>
 
419
              <hbox autostretch="never">
 
420
                <textbox id="enigmail_test_email"/>
 
421
 
 
422
                <button class="dialog"
 
423
                        id="enigmail_test"
 
424
                        label="&enigmail.test.label;"
 
425
                        oncommand="EnigTest();"/>
 
426
              </hbox>
 
427
            </row>
 
428
          </rows>
 
429
        </grid>
 
430
      </vbox>
 
431
    </tabpanels>
 
432
  </tabbox>
 
433
 
 
434
</dialog>