Skip to content

Commit

Permalink
Merge pull request #3 from xmha97/master
Browse files Browse the repository at this point in the history
حذف کردن دکمه‌ی تولبار
  • Loading branch information
mhdzli authored Jan 9, 2022
2 parents eba2446 + 4caeede commit 1cd7340
Show file tree
Hide file tree
Showing 6 changed files with 4 additions and 531 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# Mahour persian Dates For Thunderbird
===================

This add-on adds one new column called `"تاریخ"` in message list containing
This add-on adds one new column called `"Date (Persian)"` in message list containing
Iranian(Persian/Jalali/Khorshidi) Date.

This add-on is reimplementation of [Iranian date for thunderbird](https://addons.thunderbird.net/en-US/thunderbird/addon/iranian-date-for-thunderbird/?src=ss) ([GitHub Page](https://github.com/pouriap/Thunderbird-IranianDate)) for thunderbird 68+. The API-Extension source is based on [Full address column](https://addons.thunderbird.net/en-US/thunderbird/addon/full-address-column/?src=ss)([GitHub Page](https://github.com/lkosson/full-address-column)) by Łukasz Kosson.
Expand Down
6 changes: 3 additions & 3 deletions src/content/customcol.js
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ const jalaliDateColumnHandler = {
}) + " ،"
: "";

//fix for bug that doesn't prepend zero to farsei
//Fix for a bug that doesn't prepend zero to Farsi
if (time.length != 7 && timeStyle != "hidden") {
var zero = numbersStyle === "arabext" ? "۰" : "0";
time = zero + time;
Expand Down Expand Up @@ -139,7 +139,7 @@ const columnOverlay = {
treeCol.setAttribute("flex", "2");
treeCol.setAttribute("closemenu", "none");
treeCol.setAttribute("label", columnLabel);
treeCol.setAttribute("tooltiptext", "تاریخ خورشیدی");
treeCol.setAttribute("tooltiptext", "Sort by Persian date");

const threadCols = win.document.getElementById("threadCols");
threadCols.appendChild(treeCol);
Expand Down Expand Up @@ -170,7 +170,7 @@ const columnOverlay = {
},

addColumns(win) {
this.addColumn(win, "jalaliDateColumn", "تاریخ");
this.addColumn(win, "jalaliDateColumn", "Date (Persian)");
},

destroyColumn(columnId) {
Expand Down
7 changes: 0 additions & 7 deletions src/manifest.json
Original file line number Diff line number Diff line change
Expand Up @@ -24,13 +24,6 @@
"background": {
"scripts": ["background/background.js"]
},
"browser_action": {
"default_title": "ماهور",
"default_popup": "popup/popup.html",
"default_icon": {
"48": "assets/icons/icon48.png"
}
},
"options_ui": {
"page": "options/options.html",
"open_in_tab": false
Expand Down
331 changes: 0 additions & 331 deletions src/popup/popup.css

This file was deleted.

Loading

0 comments on commit 1cd7340

Please sign in to comment.