~ubuntu-branches/ubuntu/trusty/enigmail/trusty-updates

« back to all changes in this revision

Viewing changes to extensions/enigmail/ui/content/enigmailEncryptionDlg.js

  • Committer: Package Import Robot
  • Author(s): Chris Coulson
  • Date: 2011-06-07 14:35:53 UTC
  • mfrom: (0.12.1 upstream)
  • Revision ID: package-import@ubuntu.com-20110607143553-fbgqhhvh8g8h6j1y
Tags: 2:1.2~a2~cvs20110606t2200-0ubuntu1
* Update to latest trunk snapshot for Thunderbird beta compat

* Remove build/pgo/profileserver.py from debian/clean. The new build
  system has a target depending on this
  - update debian/clean
* Drop debian/patches/autoconf.diff, just generate this at build time
* Refresh debian/patches/build_system_dont_link_libxul.diff
* libipc seems to be renamed to libipc-pipe. Fix genxpi and chrome.manifest
  to fix this 
  - add debian/patches/ipc-pipe_rename.diff
  - update debian/patches/series
* The makefiles in extensions/enigmail/ipc have an incorrect DEPTH
  attribute. Fix this so that they can find the rest of the build system
  - add debian/patches/makefile_depth.diff
  - update debian/patches/series
* Drop debian/patches/makefile-in-empty-xpcom-fix.diff - fixed in the
  current version
* Don't register a class ID multiple times, as this breaks enigmail entirely
  - add debian/patches/dont_register_cids_multiple_times.diff
  - update debian/patches/series
* Look for the Thunderbird 5 SDK
  - update debian/rules
  - update debian/control
* Run autoconf2.13 at build time
  - update debian/rules
  - update debian/control
* Add useless mesa-common-dev build-dep, just to satisfy the build system.
  We should just patch this out entirely really, but that's for another upload
  - update debian/control

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
/*
 
1
/* ***** BEGIN LICENSE BLOCK *****
 
2
 * Version: MPL 1.1/GPL 2.0/LGPL 2.1
 
3
 *
2
4
 * The contents of this file are subject to the Mozilla Public
3
5
 * License Version 1.1 (the "MPL"); you may not use this file
4
6
 * except in compliance with the MPL. You may obtain a copy of
11
13
 *
12
14
 * The Original Code is Enigmail.
13
15
 *
14
 
 * The Initial Developer of this code is Patrick Brunschwig.
15
 
 * Portions created by Patrick Brunschwig <patrick.brunschwig@gmx.net> are
 
16
 * The Initial Developer of the Original Code is Patrick Brunschwig.
 
17
 * Portions created by Patrick Brunschwig <patrick@mozilla-enigmail.org> are
16
18
 * Copyright (C) 2003 Patrick Brunschwig. All Rights Reserved.
17
19
 *
18
20
 * Contributor(s):
 
21
 *   Ludwig Hügelschäfer <ludwig@hammernoch.net>
19
22
 *
20
 
 * Alternatively, the contents of this file may be used under the
21
 
 * terms of the GNU General Public License (the "GPL"), in which case
22
 
 * the provisions of the GPL are applicable instead of
23
 
 * those above. If you wish to allow use of your version of this
24
 
 * file only under the terms of the GPL and not to allow
25
 
 * others to use your version of this file under the MPL, indicate
26
 
 * your decision by deleting the provisions above and replace them
27
 
 * with the notice and other provisions required by the GPL.
28
 
 * If you do not delete the provisions above, a recipient
29
 
 * may use your version of this file under either the MPL or the
30
 
 * GPL.
31
 
 */
 
23
 * Alternatively, the contents of this file may be used under the terms of
 
24
 * either the GNU General Public License Version 2 or later (the "GPL"), or
 
25
 * the GNU Lesser General Public License Version 2.1 or later (the "LGPL"),
 
26
 * in which case the provisions of the GPL or the LGPL are applicable instead
 
27
 * of those above. If you wish to allow use of your version of this file only
 
28
 * under the terms of either the GPL or the LGPL, and not to allow others to
 
29
 * use your version of this file under the terms of the MPL, indicate your
 
30
 * decision by deleting the provisions above and replace them with the notice
 
31
 * and other provisions required by the GPL or the LGPL. If you do not delete
 
32
 * the provisions above, a recipient may use your version of this file under
 
33
 * the terms of any one of the MPL, the GPL or the LGPL.
 
34
 * ***** END LICENSE BLOCK ***** */
32
35
 
33
36
// Uses: chrome://enigmail/content/enigmailCommon.js
34
37
 
57
60
  if (window.arguments[0].usePgpMime) {
58
61
    document.getElementById("usePgpMime").setAttribute("checked", true);
59
62
  }
 
63
  if (window.arguments[0].disableRules) {
 
64
    document.getElementById("IgnoreRules").setAttribute("checked", true);
 
65
  }
60
66
}
61
67
 
62
68
function enigmailEncryptionDlgAccept () {
70
76
  }
71
77
 
72
78
  resultObj.usePgpMime = document.getElementById("usePgpMime").getAttribute("checked");
 
79
  resultObj.disableRules = document.getElementById("IgnoreRules").getAttribute("checked");
 
80
 
73
81
}