-
Notifications
You must be signed in to change notification settings - Fork 1
/
Thunderbird.patch
79 lines (72 loc) · 3.64 KB
/
Thunderbird.patch
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
Index: datepicker/install.rdf
===================================================================
--- datepicker/install.rdf (revision 270)
+++ datepicker/install.rdf Tue Mar 03 22:26:15 GMT 2009
@@ -15,6 +15,15 @@
<em:aboutURL>chrome://@EXTENSION@/content/about.xul</em:aboutURL>
<em:optionsURL>chrome://@EXTENSION@/content/@EXTENSION@Prefs.xul</em:optionsURL>
+ <!-- Thunderbird -->
+ <em:targetApplication>
+ <Description>
+ <em:id>{3550f703-e582-4d05-9a08-453d09bdfdc6}</em:id>
+ <em:minVersion>1.5</em:minVersion>
+ <em:maxVersion>3.0b2pre</em:maxVersion>
+ </Description>
+ </em:targetApplication>
+
<!-- Firefox -->
<em:targetApplication>
<Description>
Index: datepicker/chrome/content/datepicker/datepickerOverlay.js
===================================================================
--- datepicker/chrome/content/datepicker/datepickerOverlay.js (revision 270)
+++ datepicker/chrome/content/datepicker/datepickerOverlay.js Tue Mar 03 22:23:51 GMT 2009
@@ -59,7 +59,7 @@
},
updateDate: function() {
- document.getElementById("statusbar-@EXTENSION@-display").setAttribute("label", new Date().@EXTENSION@Print(@EXTENSION@Var.getShortDateFormat()));
+ document.getElementById("statusbar-@EXTENSION@-text").setAttribute("value", new Date().@EXTENSION@Print(@EXTENSION@Var.getShortDateFormat()));
},
getShortDateFormat: function() {
Index: datepicker/chrome/content/datepicker/datepickerOverlay.xul
===================================================================
--- datepicker/chrome/content/datepicker/datepickerOverlay.xul (revision 269)
+++ datepicker/chrome/content/datepicker/datepickerOverlay.xul Tue Mar 03 22:23:51 GMT 2009
@@ -13,19 +13,20 @@
<script type="application/x-javascript" src="chrome://@EXTENSION@/content/@EXTENSION@Overlay.js" />
<script type="application/x-javascript" src="chrome://@EXTENSION@/content/xulcalendar.js" />
- <popupset id="mainPopupSet">
- <popup id="@EXTENSION@-contextmenu">
- <menuitem id="ts-menu-settings" oncommand="@EXTENSION@Var.showOptions();" label="&@EXTENSION@.cal.options;"/>
- </popup>
- </popupset>
-
<statusbar id="status-bar">
<statusbarpanel id="statusbar-@EXTENSION@-display"
insertafter=""
hidden="false"
onclick="@EXTENSION@Var.showCalendar(event)"
context="@EXTENSION@-contextmenu"
- style="min-width: 16px; white-space: nowrap; padding: 0px;" />
+ style="min-width: 16px; white-space: nowrap; padding: 0px;">
+ <label id="statusbar-@EXTENSION@-text" class="statusbarpanel-text" value=""/>
+ <popupset>
+ <popup id="@EXTENSION@-contextmenu">
+ <menuitem id="ts-menu-settings" oncommand="@EXTENSION@Var.showOptions();" label="&@EXTENSION@.cal.options;"/>
+ </popup>
+ </popupset>
+ </statusbarpanel>
</statusbar>
</overlay>
Index: datepicker/chrome.manifest
===================================================================
--- datepicker/chrome.manifest (revision 270)
+++ datepicker/chrome.manifest Tue Mar 03 22:24:31 GMT 2009
@@ -1,6 +1,9 @@
# Firefox
overlay chrome://browser/content/browser.xul chrome://@EXTENSION@/content/@EXTENSION@Overlay.xul
+# Thunderbird
+overlay chrome://messenger/content/messenger.xul chrome://@EXTENSION@/content/@EXTENSION@Overlay.xul
+
content @EXTENSION@ jar:chrome/@EXTENSION@.jar!/content/@EXTENSION@/
skin @EXTENSION@ classic/1.0 jar:chrome/@EXTENSION@.jar!/skin/classic/@EXTENSION@/