diff --git a/README.md b/README.md index 8ba8f06..b093ee7 100644 --- a/README.md +++ b/README.md @@ -1,8 +1,8 @@ -# Quoting Email Headers in Thunderbird and Postbox - [![Version](https://img.shields.io/badge/version-2.1.0-blue.svg)](https://github.com/jeevatkm/ReplyWithHeaderMozilla/releases/latest) [![License](https://img.shields.io/github/license/jeevatkm/ReplyWithHeaderMozilla.svg)](LICENSE) +# Quoting Email Headers in Thunderbird + [![Version](https://img.shields.io/badge/version-2.3.0-blue.svg)](https://github.com/jeevatkm/ReplyWithHeaderMozilla/releases/latest) [![License](https://img.shields.io/github/license/jeevatkm/ReplyWithHeaderMozilla.svg)](LICENSE) -ReplyWithHeaderMozilla aka [RWH Mozilla] is an add-on for Thunderbird and Postbox mail client that enables email header. -Brings Outlook header capabilities into Thunderbird and Postbox. +ReplyWithHeaderMozilla aka [RWH Thunderbird] is an add-on for Thunderbird mail client that enables email header. +Brings Outlook header capabilities into Thunderbird. **| [Home page](http://myjeeva.com/replywithheader-mozilla) | [Download RWH Mozilla](https://addons.mozilla.org/en-US/thunderbird/addon/replywithheader/) | [Report Issues](#report-issues) | [FAQ](http://myjeeva.com/replywithheader-mozilla#faq) |** @@ -22,7 +22,7 @@ ReplyWithHeaderMozilla uses [GitHub’s integrated issue tracking system](https: # Creator -Jeevanandam M. (jeeva@myjeeva.com) +[Jeevanandam M.](https://github.com/jeevatkm) (jeeva@myjeeva.com) # Contributors diff --git a/chrome.manifest b/chrome.manifest deleted file mode 100644 index 4daf96c..0000000 --- a/chrome.manifest +++ /dev/null @@ -1,16 +0,0 @@ -# -# Copyright (c) Jeevanandam M. (jeeva@myjeeva.com) -# -# 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 -# https://github.com/jeevatkm/ReplyWithHeaderMozilla/blob/master/LICENSE. -# - -content replywithheader chrome/content/ -resource replywithheader chrome/resource/ - -skin replywithheader default/1.0 skin/ - -# messengercompose.xul [MailCompose Window] -overlay chrome://messenger/content/messengercompose/messengercompose.xul chrome://replywithheader/content/messengerComposeOverlay.xul \ No newline at end of file diff --git a/chrome/content/core.js b/chrome/content/core.js index a01ee45..506e4fe 100755 --- a/chrome/content/core.js +++ b/chrome/content/core.js @@ -13,8 +13,8 @@ var EXPORTED_SYMBOLS = ['ReplyWithHeader']; var { XPCOMUtils } = ChromeUtils.import('resource://gre/modules/XPCOMUtils.jsm'); var { AddonManager } = ChromeUtils.import('resource://gre/modules/AddonManager.jsm'); -var { rwhlog } = ChromeUtils.import('resource://replywithheader/log.jsm'); -var { rwhhost } = ChromeUtils.import('resource://replywithheader/host.jsm'); +var { rwhlog } = ChromeUtils.import('chrome://replywithheader/content/log.jsm'); +var { rwhhost } = ChromeUtils.import('chrome://replywithheader/content/host.jsm'); // ReplyWithHeader Add-On ID const ReplyWithHeaderAddOnID = 'replywithheader@myjeeva.com'; @@ -357,7 +357,7 @@ var ReplyWithHeader = { // for HTML emails if (this.isHtmlMail) { - let fontFace = this.Prefs.headerFontFace; + let fontFace = this.Prefs.headerFontFace; let fontSize = this.Prefs.headerFontSize; let fontSizeUnit = this.Prefs.headerFontSizeUnit; let fontColor = this.Prefs.headerFontColor; @@ -850,7 +850,7 @@ var ReplyWithHeader = { try { ReplyWithHeader.handleMailCompose(); } catch(ex) { - rwhlog.errorWithException('An error occurred, please report an issue to add-on author here ' + rwhlog.errorWithException('An error occurred, please report an issue to add-on author here ' + '- https://github.com/jeevatkm/ReplyWithHeaderMozilla/issues', ex); } }, @@ -861,17 +861,17 @@ var ReplyWithHeader = { handleMailCompose: function() { let prefs = this.Prefs; rwhlog.enableDebug = prefs.isDebugEnabled; - - rwhlog.debug('Initializing ' + ReplyWithHeader.addOnName + ' v' + ReplyWithHeader.addOnVersion - + ' (' + rwhhost.app + ' ' + rwhhost.version + + rwhlog.debug('Initializing ' + ReplyWithHeader.addOnName + ' v' + ReplyWithHeader.addOnVersion + + ' (' + rwhhost.app + ' ' + rwhhost.version + ', ' + rwhhost.OS + ', ' + rwhhost.buildID + ')'); - + /* * ReplyWithHeader has to be enabled; extensions.replywithheader.enable=true and * ReplyWithHeader.isOkayToMoveOn must return true * Add-On comes into play :) */ - + if (prefs.isEnabled && this.isOkayToMoveOn) { this.hdrCnt = 4; // From, To, Subject, Date @@ -918,7 +918,7 @@ var ReplyWithHeader = { showAlert: function(str) { if (str) { try { - this.alerts.showAlertNotification('chrome://replywithheader/skin/icon-64.png', + this.alerts.showAlertNotification('resource://replywithheader/icon-64.png', 'ReplyWithHeader', str, false, '', null, ''); } catch (ex) { rwhlog.errorWithException('Unable to show RWH notify alert.', ex); diff --git a/chrome/resource/host.jsm b/chrome/content/host.jsm similarity index 100% rename from chrome/resource/host.jsm rename to chrome/content/host.jsm diff --git a/chrome/resource/log.jsm b/chrome/content/log.jsm similarity index 100% rename from chrome/resource/log.jsm rename to chrome/content/log.jsm diff --git a/chrome/content/messengerComposeOverlay.xul b/chrome/content/messengerComposeOverlay.xul deleted file mode 100755 index caf9abb..0000000 --- a/chrome/content/messengerComposeOverlay.xul +++ /dev/null @@ -1,18 +0,0 @@ - - - - - -