home *** CD-ROM | disk | FTP | other *** search
/ com!online 2005 May / com_0505_1.iso / opensource / Thunderbird Setup 1.0.exe / mail.xpi / bin / defaults / pref / all-thunderbird.js next >
Encoding:
Text File  |  2004-12-06  |  18.7 KB  |  383 lines

  1. /* -*- Mode: Java; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
  2. /* ***** BEGIN LICENSE BLOCK *****
  3.  * Version: NPL 1.1/GPL 2.0/LGPL 2.1
  4.  *
  5.  * The contents of this file are subject to the Netscape Public License
  6.  * Version 1.1 (the "License"); you may not use this file except in
  7.  * compliance with the License. You may obtain a copy of the License at
  8.  * http://www.mozilla.org/NPL/
  9.  *
  10.  * Software distributed under the License is distributed on an "AS IS" basis,
  11.  * WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License
  12.  * for the specific language governing rights and limitations under the
  13.  * License.
  14.  *
  15.  * The Original Code is mozilla.org code.
  16.  *
  17.  * The Initial Developer of the Original Code is 
  18.  * Netscape Communications Corporation.
  19.  * Portions created by the Initial Developer are Copyright (C) 1998
  20.  * the Initial Developer. All Rights Reserved.
  21.  *
  22.  * Contributor(s):
  23.  *
  24.  * Alternatively, the contents of this file may be used under the terms of
  25.  * either the GNU General Public License Version 2 or later (the "GPL"), or 
  26.  * the GNU Lesser General Public License Version 2.1 or later (the "LGPL"),
  27.  * in which case the provisions of the GPL or the LGPL are applicable instead
  28.  * of those above. If you wish to allow use of your version of this file only
  29.  * under the terms of either the GPL or the LGPL, and not to allow others to
  30.  * use your version of this file under the terms of the NPL, indicate your
  31.  * decision by deleting the provisions above and replace them with the notice
  32.  * and other provisions required by the GPL or the LGPL. If you do not delete
  33.  * the provisions above, a recipient may use your version of this file under
  34.  * the terms of any one of the NPL, the GPL or the LGPL.
  35.  *
  36.  * ***** END LICENSE BLOCK ***** */
  37.  
  38. pref("general.useragent.vendor", "Thunderbird");
  39. pref("general.useragent.vendorSub", 
  40. "1.0"
  41. );
  42.  
  43. // This is this application's unique identifier used by the Extension System to identify
  44. // this application as an extension target, and by the SmartUpdate system to identify
  45. // this application to the Update server.
  46. pref("app.id", "{3550f703-e582-4d05-9a08-453d09bdfdc6}");
  47. pref("app.version", 
  48. "1.0"
  49. );
  50. pref("app.build_id", 
  51. "2004120606"
  52. );
  53. pref("app.extensions.version", "1.0");
  54.  
  55.  
  56. // App-specific update preferences
  57. pref("app.update.enabled", true);               // Whether or not app updates are enabled
  58. pref("app.update.autoUpdateEnabled", true);     // Whether or not background app updates 
  59.                                                 // are enabled
  60. pref("app.update.url", "chrome://mozapps/locale/update/update.properties");
  61. pref("app.update.updatesAvailable", false);
  62. pref("app.update.interval", 86400000);          // Check for updates to Firefox every day
  63. pref("app.update.lastUpdateDate", 0);           // UTC offset when last App update was 
  64.                                                 // performed. 
  65. pref("app.update.performed", false);            // Whether or not an update has been 
  66.                                                 // performed this session. 
  67.  
  68. // Symmetric (can be overridden by individual extensions) update preferences.
  69. // e.g.
  70. //  extensions.{GUID}.update.enabled
  71. //  extensions.{GUID}.update.url
  72. //  extensions.{GUID}.update.interval
  73. //  .. etc ..
  74. //
  75. pref("extensions.update.enabled", true);
  76. pref("extensions.update.autoUpdateEnabled", true);
  77. pref("extensions.update.url", "chrome://mozapps/locale/extensions/extensions.properties");
  78. pref("extensions.update.autoUpdate", false);    // Automatically download and install 
  79.                                                 // updates to themes and extensions. 
  80.                                                 // Does nothing at present. 
  81.  
  82. pref("extensions.update.interval", 604800000);  // Check for updates to Extensions and 
  83.                                                 // Themes every week
  84. pref("extensions.update.lastUpdateDate", 0);    // UTC offset when last Extension/Theme 
  85.                                                 // update was performed. 
  86. // Non-symmetric (not shared by extensions) extension-specific [update] preferences
  87. pref("extensions.getMoreExtensionsURL", "chrome://mozapps/locale/extensions/extensions.properties");
  88. pref("extensions.getMoreThemesURL", "chrome://mozapps/locale/extensions/extensions.properties");
  89. pref("extensions.update.severity.threshold", 5);// The number of pending Extension/Theme
  90.                                                 // updates you can have before the update
  91.                                                 // notifier goes from low->medium severity.
  92. pref("extensions.update.count", 0);             // The number of extension/theme/etc 
  93.                                                 // updates available
  94. pref("extensions.dss.enabled", false);          // Dynamic Skin Switching                                               
  95. pref("extensions.dss.switchPending", false);    // Non-dynamic switch pending after next
  96.                                                 // restart.
  97.  
  98.  
  99. // General Update preferences
  100. pref("update.interval", 3600000);               // Check each of the above intervals 
  101.                                                 // every 60 mins
  102. pref("update.showSlidingNotification", true);   // Windows-only slide-up taskbar 
  103.                                                 // notification.
  104. // These prefs relate to the number and severity of updates available. This is a 
  105. // cache that the browser notification mechanism uses to determine if it should show
  106. // status bar UI if updates are detected and the app is shut down before installing
  107. // them.
  108. // 0 = low    (extension/theme updates), 
  109. // 1 = medium (numerous extension/theme updates), 
  110. // 2 = high   (new version of Firefox/Security patch)
  111. pref("update.severity", 0); 
  112.  
  113. pref("xpinstall.whitelist.add", "update.mozilla.org");
  114.  
  115. /////////////////////////////////////////////////////////////////
  116. // Overrides of the seamonkey suite mailnews.js prefs
  117. ///////////////////////////////////////////////////////////////// 
  118. pref("mail.showFolderPaneColumns", false); // setting to true will allow total/unread/size columns
  119. pref("mail.showCondensedAddresses", true); // show the friendly display name for people I know
  120.  
  121. pref("mailnews.message_display.allow.plugins", false); // disable plugins by default
  122. pref("mailnews.message_display.disable_remote_image", true);
  123. pref("mailnews.message_display.disable_remote_images.useWhitelist", true);
  124. pref("mailnews.message_display.disable_remote_images.whiteListAbURI","moz-abmdbdirectory://abook.mab");
  125.  
  126. // hidden pref for changing how we present attachments in the message pane
  127. pref("mailnews.attachments.display.largeView", false); 
  128. pref("mail.pane_config.dynamic",            0);
  129. pref("mailnews.display.sanitizeJunkMail", true);
  130. pref("mail.standalone", true); 
  131. pref("editor.singleLine.pasteNewlines", 4);  // substitute commas for new lines in single line text boxes
  132.  
  133. // hidden pref to ensure a certain number of headers in the message pane
  134. // to avoid the height of the header area from changing when headers are present / not present
  135. pref("mailnews.headers.minNumHeaders", 0); // 0 means we ignore this pref
  136.  
  137. pref("messenger.throbber.url","chrome://messenger-region/locale/region.properties");
  138. pref("mailnews.release_notes.url","chrome://messenger-region/locale/region.properties");
  139. pref("mailnews.hints_and_tips.url","chrome://messenger-region/locale/region.properties");
  140. pref("compose.throbber.url","chrome://messenger-region/locale/region.properties");
  141. pref("addressbook.throbber.url","chrome://messenger-region/locale/region.properties");
  142.  
  143. // show a broken image icon for blocked remote image requests
  144. pref("network.image.imageBehavior", 2);
  145. pref("network.cookie.cookieBehavior", 2); // 0-Accept, 1-dontAcceptForeign, 2-dontUse, 3-p3p
  146.  
  147. // thunderbird shows size in KB instead of lines by default
  148. pref("news.show_size_in_lines", false);
  149.  
  150.  
  151. /////////////////////////////////////////////////////////////////
  152. // End seamonkey suite mailnews.js pref overrides
  153. ///////////////////////////////////////////////////////////////// 
  154.  
  155. /////////////////////////////////////////////////////////////////
  156. // Overrides for generic app behavior from the seamonkey suite's all.js
  157. /////////////////////////////////////////////////////////////////
  158.  
  159. // l12n and i18n
  160. pref("general.useragent.locale", "de-DE");
  161. pref("general.skins.selectedSkin", "classic/1.0");
  162.  
  163. pref("intl.charsetmenu.mailedit", "chrome://global/locale/intl.properties");
  164. pref("intl.accept_languages", "chrome://global/locale/intl.properties");
  165. // collationOption is only set on linux for japanese. see bug 18338 and 62015
  166. // we need to check if this pref is still useful.
  167. pref("intl.collationOption",  "chrome://global-platform/locale/intl.properties");
  168. pref("intl.charsetmenu.browser.static", "chrome://global/locale/intl.properties");
  169. pref("intl.charsetmenu.browser.more1",  "chrome://global/locale/intl.properties");
  170. pref("intl.charsetmenu.browser.more2",  "chrome://global/locale/intl.properties");
  171. pref("intl.charsetmenu.browser.more3",  "chrome://global/locale/intl.properties");
  172. pref("intl.charsetmenu.browser.more4",  "chrome://global/locale/intl.properties");
  173. pref("intl.charsetmenu.browser.more5",  "chrome://global/locale/intl.properties");
  174. pref("intl.charsetmenu.browser.unicode",  "chrome://global/locale/intl.properties");
  175. pref("intl.charset.detector", "chrome://global/locale/intl.properties");
  176. pref("intl.charset.default",  "chrome://global-platform/locale/intl.properties");
  177. pref("font.language.group", "chrome://global/locale/intl.properties");
  178. pref("intl.menuitems.alwaysappendaccesskeys","chrome://global/locale/intl.properties");
  179.  
  180. pref("signon.rememberSignons",              true);
  181. pref("signon.expireMasterPassword",         false);
  182.  
  183. pref("browser.hiddenWindowChromeURL", "chrome://messenger/content/hiddenWindow.xul");
  184. pref("network.search.url","http://cgi.netscape.com/cgi-bin/url_search.cgi?search=");
  185.  
  186. pref("general.startup.browser",             false);
  187. pref("general.startup.mail",                false);
  188. pref("general.startup.news",                false);
  189. pref("general.startup.editor",              false);
  190. pref("general.startup.compose",             false);
  191. pref("general.startup.addressbook",         false);
  192.  
  193. pref("offline.startup_state",            2);
  194. pref("offline.send.unsent_messages",            0);
  195. pref("offline.download.download_messages",  0);
  196. pref("offline.prompt_synch_on_exit",            true);
  197.  
  198. // Expose only select protocol handlers. All others should go
  199. // through the external protocol handler route.
  200. pref("network.protocol-handler.expose-all", false);
  201. pref("network.protocol-handler.expose.mailto", true);
  202. pref("network.protocol-handler.expose.news", true);
  203. pref("network.protocol-handler.expose.snews", true);
  204. pref("network.protocol-handler.expose.nntp", true);
  205. pref("network.protocol-handler.expose.imap", true);
  206. pref("network.protocol-handler.expose.addbook", true);
  207. pref("network.protocol-handler.expose.pop", true);
  208. pref("network.protocol-handler.expose.mailbox", true);
  209.  
  210. // suppress external-load warning for standard browser schemes
  211. pref("network.protocol-handler.warn-external.http", false);
  212. pref("network.protocol-handler.warn-external.https", false);
  213. pref("network.protocol-handler.warn-external.ftp", false);
  214.  
  215. pref("network.hosts.smtp_server",           "mail");
  216. pref("network.hosts.pop_server",            "mail");
  217.  
  218. pref("general.config.obscure_value", 0); // for MCD .cfg files
  219.  
  220. pref("xpinstall.dialog.confirm", "chrome://mozapps/content/xpinstall/xpinstallConfirm.xul");
  221. pref("xpinstall.dialog.progress.skin", "chrome://mozapps/content/extensions/extensions.xul?type=themes");
  222. pref("xpinstall.dialog.progress.chrome", "chrome://mozapps/content/extensions/extensions.xul?type=extensions");
  223. pref("xpinstall.dialog.progress.type.skin", "Extension:Manager-themes"); 
  224. pref("xpinstall.dialog.progress.type.chrome", "Extension:Manager-extensions");
  225.  
  226. /////////////////////////////////////////////////////////////////
  227. // End seamonkey suite all.js pref overrides
  228. ///////////////////////////////////////////////////////////////// 
  229.  
  230. /////////////////////////////////////////////////////////////////
  231. // Generic browser related prefs. 
  232. // XXX: Need to scrub these to see which ones thunderbird really needs...
  233. /////////////////////////////////////////////////////////////////
  234.  
  235. pref("general.open_location.last_url",      "");
  236. pref("general.open_location.last_window_choice", 0);
  237.  
  238. // 0 = blank, 1 = home (browser.startup.homepage), 2 = last
  239. pref("browser.startup.page",                1);
  240. pref("browser.startup.homepage",       "chrome://navigator-region/locale/region.properties");
  241. pref("browser.startup.homepage.count", 1);
  242. // "browser.startup.homepage_override" was for 4.x
  243. pref("browser.startup.homepage_override.1", true);
  244. pref("browser.startup.autoload_homepage",   true);
  245.  
  246. pref("browser.cache.memory.capacity",       4096);
  247.  
  248. pref("browser.urlbar.autoFill", false);
  249. pref("browser.urlbar.showPopup", true);
  250. pref("browser.urlbar.showSearch", true);
  251. pref("browser.urlbar.matchOnlyTyped", false);
  252.  
  253. pref("browser.chrome.site_icons", true);
  254. pref("browser.chrome.favicons", false);
  255.  
  256. pref("browser.chrome.toolbar_tips",         true);
  257. // 0 = Pictures Only, 1 = Text Only, 2 = Pictures and Text
  258. pref("browser.chrome.toolbar_style",        2);
  259.  
  260. pref("browser.turbo.enabled", false);
  261.  
  262. pref("browser.xul.error_pages.enabled", true);  
  263.  
  264. // Dialog modality issues
  265. pref("browser.prefWindowModal", true);
  266. pref("browser.show_about_as_stupid_modal_window", false);
  267.  
  268. pref("browser.download.progressDnldDialog.keepAlive", true); // keep the dnload progress dialog up after dnload is complete
  269. pref("browser.download.progressDnldDialog.enable_launch_reveal_buttons", true);
  270. pref("browser.download.useDownloadDir", false);
  271. pref("browser.download.folderList", 0);
  272.  
  273. // various default search settings
  274. pref("browser.search.defaulturl", "chrome://navigator-region/locale/region.properties");
  275. pref("browser.search.opensidebarsearchpanel", true);
  276. pref("browser.search.last_search_category", "NC:SearchCategory?category=urn:search:category:1");
  277. pref("browser.search.mode", 0);
  278. pref("browser.search.powermode", 0);
  279. // basic search popup constraint: minimum sherlock plugin version displayed
  280. // (note: must be a string representation of a float or it'll default to 0.0)
  281. pref("browser.search.basic.min_ver", "0.0");
  282. pref("browser.urlbar.autocomplete.enabled", true);
  283. pref("browser.urlbar.clickSelectsAll", true);
  284.  
  285. pref("browser.history.grouping", "day");
  286. pref("browser.sessionhistory.max_entries", 50);
  287.  
  288. // Translation service
  289. pref("browser.translation.service", "http://www.teletranslator.com:8120/?AlisUI=frames_ex/moz_home&alis_info=moz&AlisTargetURI=");
  290. pref("browser.translation.serviceDomain", "teletranslator.com");
  291.  
  292. // css2 hover pref
  293. pref("nglayout.events.showHierarchicalHover", false);
  294.  
  295. // Smart Browsing prefs
  296. pref("browser.related.enabled", true);
  297. pref("browser.related.autoload", 1);  // 0 = Always, 1 = After first use, 2 = Never
  298. pref("browser.related.provider", "http://www-rl.netscape.com/wtgn?");
  299. pref("browser.related.disabledForDomains", "");
  300. pref("browser.goBrowsing.enabled", true);
  301.  
  302. // Default bookmark sorting
  303. pref("browser.bookmarks.sort.direction", "descending");
  304. pref("browser.bookmarks.sort.resource", "rdf:http://home.netscape.com/NC-rdf#Name");
  305.  
  306. //Internet Search
  307. pref("browser.search.defaultenginename", "chrome://communicator-region/locale/region.properties");
  308.  
  309. pref("javascript.options.showInConsole",    true);
  310.  
  311. pref("network.enableIDN",                   false); // Turn on/off IDN (Internationalized Domain Name) resolution
  312. pref("wallet.captureForms",                 true);
  313. pref("wallet.notified",                     false);
  314. pref("wallet.TutorialFromMenu",             "chrome://navigator/locale/navigator.properties");
  315. pref("wallet.Server",                       "chrome://navigator/locale/navigator.properties");
  316. pref("wallet.Samples",                      "chrome://navigator/locale/navigator.properties");
  317. pref("wallet.version",                      "1");
  318. pref("wallet.enabled",                      true);
  319. pref("wallet.crypto",                       false); 
  320. pref("wallet.crypto.autocompleteoverride",  false); // Ignore 'autocomplete=off' - available only when wallet.crypto is enabled. 
  321. pref("wallet.namePanel.hide",               false);
  322. pref("wallet.addressPanel.hide",            false);
  323. pref("wallet.phonePanel.hide",              false);
  324. pref("wallet.creditPanel.hide",             false);
  325. pref("wallet.employPanel.hide",             false);
  326. pref("wallet.miscPanel.hide",               false);
  327.  
  328. // -- folders (Mac: these are binary aliases.)
  329. pref("mail.signature_file",             "");
  330. pref("mail.directory",                  "");
  331. pref("news.directory",                  "");
  332. pref("autoupdate.enabled",              true);
  333. pref("browser.editor.disabled", false);
  334. pref("spellchecker.dictionary", "");
  335. pref("profile.allow_automigration", false);   // setting to false bypasses automigration in the profile code
  336. // profile.migration_behavior determines how the profiles root is set
  337. // 0 - use NS_APP_USER_PROFILES_ROOT_DIR
  338. // 1 - create one based on the NS4.x profile root
  339. // 2 - use, if not empty, profile.migration_directory otherwise same as 0 
  340. pref("profile.migration_behavior",0);
  341. pref("profile.migration_directory", "");
  342.  
  343. // Customizable toolbar stuff
  344. pref("custtoolbar.personal_toolbar_folder", "");
  345.  
  346. pref("sidebar.customize.all_panels.url", "http://sidebar-rdf.netscape.com/%LOCALE%/sidebar-rdf/%SIDEBAR_VERSION%/all-panels.rdf");
  347. pref("sidebar.customize.directory.url", "http://dmoz.org/Netscape/Sidebar/");
  348. pref("sidebar.customize.more_panels.url", "http://dmoz.org/Netscape/Sidebar/");
  349. pref("sidebar.num_tabs_in_view", 8);
  350.  
  351. // XXXbsmedberg why are changing the default value here?
  352. // ------------------
  353. //  Numeral Style
  354. // ------------------
  355. // 1 = regularcontextnumeralBidi *
  356. // 2 = hindicontextnumeralBidi
  357. // 3 = arabicnumeralBidi
  358. // 4 = hindinumeralBidi
  359. pref("bidi.numeral", 1);
  360.  
  361. pref("browser.throbber.url","chrome://navigator-region/locale/region.properties");
  362.  
  363. // pref to control the alert notification 
  364. pref("alerts.slideIncrement", 1);
  365. pref("alerts.slideIncrementTime", 10);
  366. pref("alerts.totalOpenTime", 4000);
  367. pref("alerts.height", 50);
  368.  
  369. // update notifications prefs
  370. pref("update_notifications.enabled", true);
  371. pref("update_notifications.provider.0.frequency", 7); // number of days
  372. pref("update_notifications.provider.0.datasource", "chrome://communicator-region/locale/region.properties");
  373.  
  374. // 0 opens the download manager
  375. // 1 opens a progress dialog
  376. // 2 and other values, no download manager, no progress dialog. 
  377. pref("browser.downloadmanager.behavior", 1);
  378.  
  379. pref("privacy.popups.sound_enabled",              true);
  380. pref("privacy.popups.sound_url",                  "");
  381. pref("privacy.popups.statusbar_icon_enabled",     true);
  382.  
  383.