summaryrefslogtreecommitdiff
path: root/dh_xul-ext
diff options
context:
space:
mode:
Diffstat (limited to 'dh_xul-ext')
-rwxr-xr-xdh_xul-ext8
1 files changed, 6 insertions, 2 deletions
diff --git a/dh_xul-ext b/dh_xul-ext
index e995174..b51b3f7 100755
--- a/dh_xul-ext
+++ b/dh_xul-ext
@@ -31,6 +31,9 @@ _VENDOR_ENV = "DH_XUL_EXT_VENDOR"
COMMAND_LINE_SYNTAX_ERROR = 1
MULTIPLE_INSTALL_RDFS = 2
+FIREFOX_ID = "{ec8030f7-c20a-464f-9b0e-13a3a9e97384}"
+THUNDERBIRD_ID = "{3550f703-e582-4d05-9a08-453d09bdfdc6}"
+
class XulApp(object):
def __init__(self, xul_id, package, sol, eol):
self.xul_id = xul_id
@@ -50,9 +53,10 @@ class XulApp(object):
enabled even if the version of the XUL application is higher than the
specified maximum version in this case.
- Firefox/Iceweasel 10 defaults add-ons to compatible."""
+ Firefox/Iceweasel 10 and Thunderbird/Icedove 10 defaults add-ons to
+ compatible."""
- if self.xul_id == "{ec8030f7-c20a-464f-9b0e-13a3a9e97384}" and \
+ if self.xul_id in (FIREFOX_ID, THUNDERBIRD_ID) and \
compare_versions(self.max_version, "10") >= 0:
return True
return False