Magellan Linux

Contents of /trunk/mozilla-thunderbird/patches/mozilla-thunderbird-3.1.1-no-app-updates.patch

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1063 - (show annotations) (download)
Wed Jul 21 12:20:12 2010 UTC (13 years, 10 months ago) by niro
File size: 1292 byte(s)
-re-diffed patch

1 diff -Naur comm-1.9.2/mail/components/preferences/advanced.js comm-1.9.2-magellan/mail/components/preferences/advanced.js
2 --- comm-1.9.2/mail/components/preferences/advanced.js 2010-07-13 23:22:45.000000000 +0200
3 +++ comm-1.9.2-magellan/mail/components/preferences/advanced.js 2010-07-21 14:22:10.000000000 +0200
4 @@ -241,7 +241,7 @@
5 var enabledPref = document.getElementById("app.update.enabled");
6 var enableAppUpdate = document.getElementById("enableAppUpdate");
7
8 - enableAppUpdate.disabled = !aus.canCheckForUpdates || enabledPref.locked;
9 + enableAppUpdate.disabled = true;
10 },
11
12 updateAutoItems: function ()
13 @@ -252,8 +252,7 @@
14 var updateModeLabel = document.getElementById("updateModeLabel");
15 var updateMode = document.getElementById("updateMode");
16
17 - var disable = enabledPref.locked || !enabledPref.value ||
18 - autoPref.locked;
19 + var disable = true;
20 updateModeLabel.disabled = updateMode.disabled = disable;
21 },
22
23 @@ -265,8 +264,7 @@
24
25 var warnIncompatible = document.getElementById("warnIncompatible");
26
27 - var disable = enabledPref.locked || !enabledPref.value || autoPref.locked ||
28 - !autoPref.value || modePref.locked;
29 + var disable = true;
30 warnIncompatible.disabled = disable;
31 },
32