Skip to content

Commit

Permalink
Convert to all MPL-2.0, Fixes #36
Browse files Browse the repository at this point in the history
  • Loading branch information
mikehardy committed Aug 31, 2018
1 parent 26a4fe2 commit c50f649
Show file tree
Hide file tree
Showing 7 changed files with 52 additions and 77 deletions.
23 changes: 0 additions & 23 deletions chrome/thunderlink/content/license.txt

This file was deleted.

20 changes: 5 additions & 15 deletions chrome/thunderlink/content/preferences.js
Original file line number Diff line number Diff line change
@@ -1,23 +1,13 @@
/*
ThunderLink.
Link from your browser to your email messages!
Link from your browser to your email messages!
Copyright (C) 2011 Christoph Zwirello
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with this program. If not, see <http://www.gnu.org/licenses/>
*/


This Source Code Form is subject to the terms of the Mozilla Public
License, v. 2.0. If a copy of the MPL was not distributed with this
file, You can obtain one at http://mozilla.org/MPL/2.0/.
*/

var ThunderLinkPrefNS = {

Expand Down
12 changes: 12 additions & 0 deletions chrome/thunderlink/content/preferences.xul
Original file line number Diff line number Diff line change
@@ -1,4 +1,16 @@
<?xml version="1.0" encoding="UTF-8"?>

<!--
- ThunderLink.
- Link from your browser to your email messages!
-
- Copyright (C) 2011 Christoph Zwirello
-
- This Source Code Form is subject to the terms of the Mozilla Public
- License, v. 2.0. If a copy of the MPL was not distributed with this
- file, You can obtain one at http://mozilla.org/MPL/2.0/.
-->

<?xml-stylesheet href="chrome://global/skin/" type="text/css"?>
<prefwindow id="appPreferences"
xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul" >
Expand Down
11 changes: 11 additions & 0 deletions chrome/thunderlink/content/thunderlink-overlay.xul
Original file line number Diff line number Diff line change
@@ -1,5 +1,16 @@
<?xml version="1.0"?>

<!--
- ThunderLink.
- Link from your browser to your email messages!
-
- Copyright (C) 2011 Christoph Zwirello
-
- This Source Code Form is subject to the terms of the Mozilla Public
- License, v. 2.0. If a copy of the MPL was not distributed with this
- file, You can obtain one at http://mozilla.org/MPL/2.0/.
-->

<overlay id="thunderbird-overlay" xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul">
<script type="application/x-javascript" src="chrome://thunderlink/content/thunderlink.js"/>
<keyset>
Expand Down
16 changes: 4 additions & 12 deletions chrome/thunderlink/content/thunderlink.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,18 +4,10 @@
Copyright (C) 2011 Christoph Zwirello
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with this program. If not, see <http://www.gnu.org/licenses/>
*/
This Source Code Form is subject to the terms of the Mozilla Public
License, v. 2.0. If a copy of the MPL was not distributed with this
file, You can obtain one at http://mozilla.org/MPL/2.0/.
*/

var ThunderLinkChromeNS = {

Expand Down
37 changes: 10 additions & 27 deletions components/thunderlinkCommandLineHandler.js
Original file line number Diff line number Diff line change
@@ -1,30 +1,13 @@
/*
ThunderLink.
Link from your browser to your email messages!
Copyright (C) 2011 Christoph Zwirello
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with this program. If not, see <http://www.gnu.org/licenses/>
*/

/*
Heavily based on the nsMailNewsCommandLineHandler.js from
the TB 3.1.9 Release
*/
/*
ThunderLink.
Link from your browser to your email messages!
Copyright (C) 2011 Christoph Zwirello
This Source Code Form is subject to the terms of the Mozilla Public
License, v. 2.0. If a copy of the MPL was not distributed with this
file, You can obtain one at http://mozilla.org/MPL/2.0/.
*/

const Cc = Components.classes;
const Ci = Components.interfaces;
Expand Down
10 changes: 10 additions & 0 deletions defaults/preferences/thunderlink.js
Original file line number Diff line number Diff line change
@@ -1,3 +1,13 @@
/*
ThunderLink.
Link from your browser to your email messages!
Copyright (C) 2011 Christoph Zwirello
This Source Code Form is subject to the terms of the Mozilla Public
License, v. 2.0. If a copy of the MPL was not distributed with this
file, You can obtain one at http://mozilla.org/MPL/2.0/.
*/
pref("extensions.thunderlink.custom-tl-string-1-title", "thunderlink");
pref("extensions.thunderlink.custom-tl-string-1", "<thunderlink>");
pref("extensions.thunderlink.custom-tl-string-1-tagcheckbox", false);
Expand Down

0 comments on commit c50f649

Please sign in to comment.