зеркало из https://github.com/mozilla/gecko-dev.git
Bug #232166 --> Unfork mailnews,js, move diffs to thunderbird.js.
This commit is contained in:
Родитель
139e92501a
Коммит
7b9a1ace92
|
@ -45,8 +45,7 @@ include $(DEPTH)/config/autoconf.mk
|
||||||
DIRS = profile
|
DIRS = profile
|
||||||
|
|
||||||
PREF_JS_EXPORTS = \
|
PREF_JS_EXPORTS = \
|
||||||
$(srcdir)/profile/all.js \
|
$(srcdir)/profile/thunderbird.js \
|
||||||
$(srcdir)/profile/mailnews.js \
|
|
||||||
$(NULL)
|
$(NULL)
|
||||||
|
|
||||||
ifeq ($(USE_SHORT_LIBNAME), 1)
|
ifeq ($(USE_SHORT_LIBNAME), 1)
|
||||||
|
|
|
@ -35,16 +35,35 @@
|
||||||
*
|
*
|
||||||
* ***** END LICENSE BLOCK ***** */
|
* ***** END LICENSE BLOCK ***** */
|
||||||
|
|
||||||
pref("browser.hiddenWindowChromeURL", "chrome://messenger/content/hiddenWindow.xul");
|
|
||||||
pref("network.search.url","http://cgi.netscape.com/cgi-bin/url_search.cgi?search=");
|
|
||||||
|
|
||||||
pref("general.useragent.vendor", "Thunderbird");
|
pref("general.useragent.vendor", "Thunderbird");
|
||||||
pref("general.useragent.vendorSub",
|
pref("general.useragent.vendorSub",
|
||||||
#expand __APP_VERSION__
|
#expand __APP_VERSION__
|
||||||
);
|
);
|
||||||
|
|
||||||
|
/////////////////////////////////////////////////////////////////
|
||||||
|
// Overrides of the seamonkey suite mailnews.js prefs
|
||||||
|
/////////////////////////////////////////////////////////////////
|
||||||
|
pref("mail.showFolderPaneColumns", false); // setting to true will allow total/unread/size columns
|
||||||
|
|
||||||
|
// hidden pref for changing how we present attachments in the message pane
|
||||||
|
pref("mailnews.attachments.display.largeView", false);
|
||||||
|
pref("mail.pane_config.dynamic", 0);
|
||||||
|
pref("mailnews.display.sanitizeJunkMail", true);
|
||||||
|
pref("mail.standalone", true);
|
||||||
|
|
||||||
|
/////////////////////////////////////////////////////////////////
|
||||||
|
// End seamonkey suite mailnews.js pref overrides
|
||||||
|
/////////////////////////////////////////////////////////////////
|
||||||
|
|
||||||
|
/////////////////////////////////////////////////////////////////
|
||||||
|
// Overrides for generic app behavior from the seamonkey suite's all.js
|
||||||
|
/////////////////////////////////////////////////////////////////
|
||||||
pref("signon.rememberSignons", true);
|
pref("signon.rememberSignons", true);
|
||||||
pref("signon.expireMasterPassword", false);
|
pref("signon.expireMasterPassword", false);
|
||||||
|
|
||||||
|
pref("browser.hiddenWindowChromeURL", "chrome://messenger/content/hiddenWindow.xul");
|
||||||
|
pref("network.search.url","http://cgi.netscape.com/cgi-bin/url_search.cgi?search=");
|
||||||
|
|
||||||
pref("general.startup.browser", false);
|
pref("general.startup.browser", false);
|
||||||
pref("general.startup.mail", false);
|
pref("general.startup.mail", false);
|
||||||
pref("general.startup.news", false);
|
pref("general.startup.news", false);
|
||||||
|
@ -52,11 +71,40 @@ pref("general.startup.editor", false);
|
||||||
pref("general.startup.compose", false);
|
pref("general.startup.compose", false);
|
||||||
pref("general.startup.addressbook", false);
|
pref("general.startup.addressbook", false);
|
||||||
|
|
||||||
pref("general.open_location.last_url", "");
|
pref("offline.startup_state", 2);
|
||||||
pref("general.open_location.last_window_choice", 0);
|
pref("offline.send.unsent_messages", 0);
|
||||||
|
pref("offline.download.download_messages", 0);
|
||||||
|
pref("offline.prompt_synch_on_exit", true);
|
||||||
|
|
||||||
|
// Expose only select protocol handlers. All others should go
|
||||||
|
// through the external protocol handler route.
|
||||||
|
pref("network.protocol-handler.expose-all", false);
|
||||||
|
pref("network.protocol-handler.expose.mailto", true);
|
||||||
|
pref("network.protocol-handler.expose.news", true);
|
||||||
|
pref("network.protocol-handler.expose.snews", true);
|
||||||
|
pref("network.protocol-handler.expose.nntp", true);
|
||||||
|
pref("network.protocol-handler.expose.imap", true);
|
||||||
|
pref("network.protocol-handler.expose.addbook", true);
|
||||||
|
pref("network.protocol-handler.expose.pop", true);
|
||||||
|
pref("network.protocol-handler.expose.mailbox", true);
|
||||||
|
pref("network.protocols.useSystemDefaults", false);
|
||||||
|
pref("network.hosts.smtp_server", "mail");
|
||||||
|
pref("network.hosts.pop_server", "mail");
|
||||||
|
|
||||||
pref("general.config.obscure_value", 0); // for MCD .cfg files
|
pref("general.config.obscure_value", 0); // for MCD .cfg files
|
||||||
|
|
||||||
|
/////////////////////////////////////////////////////////////////
|
||||||
|
// End seamonkey suite all.js pref overrides
|
||||||
|
/////////////////////////////////////////////////////////////////
|
||||||
|
|
||||||
|
/////////////////////////////////////////////////////////////////
|
||||||
|
// Generic browser related prefs.
|
||||||
|
// XXX: Need to scrub these to see which ones thunderbird really needs...
|
||||||
|
/////////////////////////////////////////////////////////////////
|
||||||
|
|
||||||
|
pref("general.open_location.last_url", "");
|
||||||
|
pref("general.open_location.last_window_choice", 0);
|
||||||
|
|
||||||
// 0 = blank, 1 = home (browser.startup.homepage), 2 = last
|
// 0 = blank, 1 = home (browser.startup.homepage), 2 = last
|
||||||
pref("browser.startup.page", 1);
|
pref("browser.startup.page", 1);
|
||||||
pref("browser.startup.homepage", "chrome://navigator-region/locale/region.properties");
|
pref("browser.startup.homepage", "chrome://navigator-region/locale/region.properties");
|
||||||
|
@ -79,12 +127,6 @@ pref("browser.chrome.toolbar_tips", true);
|
||||||
// 0 = Pictures Only, 1 = Text Only, 2 = Pictures and Text
|
// 0 = Pictures Only, 1 = Text Only, 2 = Pictures and Text
|
||||||
pref("browser.chrome.toolbar_style", 2);
|
pref("browser.chrome.toolbar_style", 2);
|
||||||
|
|
||||||
pref("browser.toolbars.showbutton.bookmarks", true);
|
|
||||||
pref("browser.toolbars.showbutton.go", false);
|
|
||||||
pref("browser.toolbars.showbutton.home", true);
|
|
||||||
pref("browser.toolbars.showbutton.print", true);
|
|
||||||
pref("browser.toolbars.showbutton.search", true);
|
|
||||||
|
|
||||||
pref("browser.turbo.enabled", false);
|
pref("browser.turbo.enabled", false);
|
||||||
|
|
||||||
// Dialog modality issues
|
// Dialog modality issues
|
||||||
|
@ -142,26 +184,6 @@ pref("browser.search.defaultenginename", "chrome://communicator-region/locale/re
|
||||||
|
|
||||||
pref("javascript.options.showInConsole", true);
|
pref("javascript.options.showInConsole", true);
|
||||||
|
|
||||||
pref("offline.startup_state", 2);
|
|
||||||
pref("offline.send.unsent_messages", 0);
|
|
||||||
pref("offline.download.download_messages", 0);
|
|
||||||
pref("offline.prompt_synch_on_exit", true);
|
|
||||||
|
|
||||||
// Expose only select protocol handlers. All others should go
|
|
||||||
// through the external protocol handler route.
|
|
||||||
pref("network.protocol-handler.expose-all", false);
|
|
||||||
pref("network.protocol-handler.expose.mailto", true);
|
|
||||||
pref("network.protocol-handler.expose.news", true);
|
|
||||||
pref("network.protocol-handler.expose.snews", true);
|
|
||||||
pref("network.protocol-handler.expose.nntp", true);
|
|
||||||
pref("network.protocol-handler.expose.imap", true);
|
|
||||||
pref("network.protocol-handler.expose.addbook", true);
|
|
||||||
pref("network.protocol-handler.expose.pop", true);
|
|
||||||
pref("network.protocol-handler.expose.mailbox", true);
|
|
||||||
pref("network.protocols.useSystemDefaults", false);
|
|
||||||
pref("network.hosts.smtp_server", "mail");
|
|
||||||
pref("network.hosts.pop_server", "mail");
|
|
||||||
|
|
||||||
pref("network.enableIDN", false); // Turn on/off IDN (Internationalized Domain Name) resolution
|
pref("network.enableIDN", false); // Turn on/off IDN (Internationalized Domain Name) resolution
|
||||||
pref("wallet.captureForms", true);
|
pref("wallet.captureForms", true);
|
||||||
pref("wallet.notified", false);
|
pref("wallet.notified", false);
|
||||||
|
|
Загрузка…
Ссылка в новой задаче