A lot of stuff won't work (hidden UI, etc).
Sure. Really, i need certificate import and some minor tweaks.
At least with Thunderbird 24 CCK2's certificate import didn't work, and
I'm pretty sure it still won't work in current versions: The CCK2 is
waiting for the "distribution-customization-complete" event, which is
never sent by Thunderbird (due to a modified merge of the Firefox codebase).
The attached patch integrates the behavior also for Thunderbird.
Unfortunately this requires that you recompile Thunderbird yourself, as
I still didn't open a bug report for that...
Regards,
--
Ignaz Forster
Landeshauptstadt München
it@M - Dienstleister für Informations- und Telekommunikationstechnik
Geschäftsbereich Werkzeuge und Infrastruktur
Servicebereich Städtische Arbeitsplätze
Serviceteam Limux-Arbeitsplatz
Entwicklung
Büro: Sonnenstraße 25, Zimmer 608, 80331 München
Postanschrift: Agnes-Pockels-Bogen 21, 80992 München
Telefon: +49 89 233 82218
Fax: +49 89 233 989 82218
E-Mail: [email protected]
Bitte denken Sie an die Umwelt, bevor Sie diese E-Mail ausdrucken. Pro
Blatt sparen Sie durchschnittlich 15g Holz, 260ml Wasser, 0,05kWh Strom
und 5g CO2.
Index: thunderbird-24-24.8.1/mail/base/modules/distribution.js
===================================================================
--- thunderbird-24-24.8.1.orig/mail/base/modules/distribution.js 2014-09-26 15:57:41.000000000 +0200
+++ thunderbird-24-24.8.1/mail/base/modules/distribution.js 2015-08-14 17:51:24.817658947 +0200
@@ -18,7 +18,7 @@
applyPrefDefaults: function TBDistCustomizer_applyPrefDefaults() {
this._prefDefaultsApplied = true;
if (!this._ini) {
- return;
+ return this._checkCustomizationComplete();
}
// Grab the sections of the ini file
let sections = enumToObject(this._ini.getSections());
@@ -26,13 +26,13 @@
// The global section, and several of its fields, is required
// Function exits if this section and its fields are not present
if (!sections["Global"]) {
- return;
+ return this._checkCustomizationComplete();
}
// Get the keys in the "Global" section of the ini file
let globalPrefs = enumToObject(this._ini.getKeys("Global"));
if (!(globalPrefs["id"] && globalPrefs["version"] && globalPrefs["about"])) {
- return;
+ return this._checkCustomizationComplete();
}
// Get the entire preferences tree (defaults is an instance of nsIPrefBranch)
@@ -117,7 +117,17 @@
}
}
}
- return true;
+
+ return this._checkCustomizationComplete();
+ },
+
+ _checkCustomizationComplete: function DIST__checkCustomizationComplete() {
+ let prefDefaultsApplied = this._prefDefaultsApplied || !this._ini;
+ if (prefDefaultsApplied) {
+ let os = Cc["@mozilla.org/observer-service;1"].
+ getService(Ci.nsIObserverService);
+ os.notifyObservers(null, DISTRIBUTION_CUSTOMIZATION_COMPLETE_TOPIC, null);
+ }
}
};
_______________________________________________
Enterprise mailing list
[email protected]
https://mail.mozilla.org/listinfo/enterprise
To unsubscribe from this list, please visit
https://mail.mozilla.org/listinfo/enterprise or send an email to
[email protected] with a subject of "unsubscribe"