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

« back to all changes in this revision

Viewing changes to mailnews/extensions/enigmail/ui/content/pref-enigmail-seamonkey.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://communicator/skin/" type="text/css"?>
 
40
<?xml-stylesheet href="chrome://enigmail/skin/enigmail.css" type="text/css"?>
 
41
 
 
42
<!DOCTYPE window [
 
43
<!ENTITY % brandDTD SYSTEM "chrome://global/locale/brand.dtd" >
 
44
%brandDTD;
 
45
<!ENTITY % enigMailDTD SYSTEM "chrome://enigmail/locale/enigmail.dtd" >
 
46
%enigMailDTD;
 
47
]>
 
48
<page id="enigmailPrefs"
 
49
        headertitle="&enigmail.openpgp.label;"
 
50
        xmlns:html="http://www.w3.org/1999/xhtml"
 
51
        xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"
 
52
        class="color-dialog"
 
53
        orient="vertical"
 
54
        onunload="prefSeamonkeyOnClose();"
 
55
        onload="initPrefSeamonkey();">
 
56
 
 
57
  <script type="application/x-javascript" src="chrome://enigmail/content/enigmailCommon.js"/>
 
58
  <script type="application/x-javascript" src="chrome://enigmail/content/pref-enigmail-seamonkey.js"/>
 
59
  <script type="application/x-javascript" src="chrome://enigmail/content/pref-enigmail.js"/>
 
60
 
 
61
  <script type="application/x-javascript">
 
62
  <![CDATA[
 
63
    // List of persisted elements (required to save prefs)
 
64
    var _elementIDs = [
 
65
                       "enigmail_agentPath",
 
66
                       "enigmail_noPassphrase",
 
67
                       "enigmail_maxIdleMinutes",
 
68
                       "enigmail_advancedUser"
 
69
                       ];
 
70
  ]]>
 
71
  </script>
 
72
 
 
73
  <popupset>
 
74
    <tooltip id="neverAsk.tooltip">
 
75
        <description>&enigmail.neverAsk.tooltip;</description>
 
76
    </tooltip>
 
77
    <tooltip id="prefs.overrideGpg.tooltip">
 
78
      <description>&enigmail.prefs.overrideGpg.tooltip;</description>
 
79
    </tooltip>
 
80
    <tooltip id="maxIdleMinutes.tooltip">
 
81
      <description>&enigmail.maxIdleMinutes.tooltip;</description>
 
82
    </tooltip>
 
83
    <tooltip id="userNoPassphrase.tooltip">
 
84
      <description>&enigmail.userNoPassphrase.tooltip;</description>
 
85
    </tooltip>
 
86
    <tooltip id="expertUser.tooltip">
 
87
      <description>&enigmail.expertUser.tooltip;</description>
 
88
    </tooltip>
 
89
    <tooltip id="resetPrefs.tooltip">
 
90
      <description>&enigmail.resetPrefs.tooltip;</description>
 
91
    </tooltip>
 
92
  </popupset>
 
93
 
 
94
  <hbox>
 
95
    <groupbox orient="vertical" flex="1">
 
96
      <caption label="&enigmail.prefs.pathsTitle.label;"/>
 
97
      <hbox align="center">
 
98
        <label id="enigmailGpgPath" value="(error)"/>
 
99
      </hbox>
 
100
      <hbox align="center">
 
101
        <checkbox label="&enigmail.prefs.overrideGpg.label;"
 
102
                  tooltip="prefs.overrideGpg.tooltip"
 
103
                  id="enigOverrideGpg"
 
104
                  oncommand="enigActivateDependent(this, 'enigmail_agentPath enigmail_browsePath');"/>
 
105
        <textbox id="enigmail_agentPath" aria-labelledby="enigOverrideGpg"
 
106
                 size="30"
 
107
                 pref="true"
 
108
                 preftype="string"
 
109
                 prefstring="extensions.enigmail.agentPath"/>
 
110
        <button id="enigmail_browsePath"
 
111
                label="&enigmail.browse.label;"
 
112
                oncommand="enigLocateGpg();"/>
 
113
      </hbox>
 
114
    </groupbox>
 
115
  </hbox>
 
116
  <hbox>
 
117
    <groupbox orient="vertical" flex="1">
 
118
      <caption label="&enigmail.passwordSettings.label;"/>
 
119
      <hbox autostretch="never" align="center">
 
120
        <label control="enigmail_maxIdleMinutes"
 
121
                tooltip="maxIdleMinutes.tooltip"
 
122
                value="&enigmail.maxIdleMinutesHead.label;" id="maxIdleMinutesHeadLabel"/>
 
123
 
 
124
        <textbox id="enigmail_maxIdleMinutes" aria-labelledby="maxIdleMinutesHeadLabel enigmail_maxIdleMinutes maxIdleMinutesTailLabel"
 
125
                size="4"
 
126
                maxlength="4"
 
127
                pref="true"
 
128
                preftype="int"
 
129
                tooltip="maxIdleMinutes.tooltip"
 
130
                prefstring="extensions.enigmail.maxIdleMinutes"/>
 
131
 
 
132
        <description tooltip="maxIdleMinutes.tooltip" id="maxIdleMinutesTailLabel">&enigmail.maxIdleMinutesTail.label;</description>
 
133
      </hbox>
 
134
 
 
135
      <checkbox id="enigmail_noPassphrase"
 
136
              label="&enigmail.userNoPassphrase.label;"
 
137
              tooltip="userNoPassphrase.tooltip"
 
138
              pref="true"
 
139
              preftype="bool"
 
140
              prefstring="extensions.enigmail.noPassphrase"
 
141
              prefattribute="checked"/>
 
142
 
 
143
    </groupbox>
 
144
  </hbox>
 
145
 
 
146
  <separator/>
 
147
 
 
148
  <hbox autostretch="never" align="center">
 
149
    <hbox autostretch="never" align="center">
 
150
      <button id="enigmail_advancedUser"
 
151
            label="&enigmail.expertUser.label;"
 
152
            oncommand="enigSwitchAdvancedMode(true)"
 
153
            tooltip="expertUser.tooltip"/>
 
154
 
 
155
      <button id="enigmail_basicUser"
 
156
            label="&enigmail.basicUser.label;"
 
157
            oncommand="enigSwitchAdvancedMode(false)"
 
158
            tooltip="basicUser.tooltip"
 
159
            hidden="true"/>
 
160
    </hbox>
 
161
  </hbox>
 
162
 
 
163
  <separator/>
 
164
  <vbox autostretch="never" align="end">
 
165
    <hbox id="enigmailPrefsBox">
 
166
      <button class="dialog"
 
167
          id="enigmailPrefs"
 
168
          label="&enigmail.advancedPrefsButton.label; ..."
 
169
          advanced="true"
 
170
          oncommand="EnigPrefWindow(false,'seamonkey')"/>
 
171
      <button id="uninstall"
 
172
              class="dialog"
 
173
              label="&enigmail.uninstallButton.label;"
 
174
              oncommand="enigUninstall()"/>
 
175
      <button id="resetPrefs"
 
176
              label="&enigmail.resetPrefsButton.label;"
 
177
              tooltip="resetPrefs.tooltip"
 
178
              oncommand="resetPrefs();"/>
 
179
    </hbox>
 
180
  </vbox>
 
181
 
 
182
</page>