home *** CD-ROM | disk | FTP | other *** search
/ ftp.swcp.com / ftp.swcp.com.zip / ftp.swcp.com / mac / mozilla-macos9-1.3.1.sea.bin / Mozilla1.3.1 / Defaults / Pref / macprefs.js < prev    next >
Text File  |  2003-06-22  |  8KB  |  215 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. // Mac specific preference defaults
  39. pref("browser.drag_out_of_frame_style", 1);
  40. pref("ui.key.saveLink.shift", false); // true = shift, false = meta
  41.  
  42. pref("editor.use_html_editor",              false);
  43. pref("editor.use_image_editor",             false);
  44.  
  45. // should a GURL event open a new window or re-use (4.x compat)
  46. pref("browser.always_reuse_window", false);
  47.  
  48. pref("mail.notification.sound",             "");
  49. pref("mail.close_message_window.on_delete", true);
  50. pref("mail.close_message_window.on_file", true);
  51.  
  52. pref("mail.server_type_on_restart",         -1);
  53.  
  54. // default font name (in UTF8)
  55.  
  56. pref("font.name.serif.ar", "??? ????");
  57. pref("font.name.sans-serif.ar", "??????");
  58. pref("font.name.monospace.ar", "????");
  59. pref("font.name.cursive.ar", "XXX.cursive");
  60. pref("font.name.fantasy.ar", "XXX.fantasy");
  61.  
  62. pref("font.name.serif.el", "Times GR");
  63. pref("font.name.sans-serif.el", "Helvetica GR");
  64. pref("font.name.monospace.el", "Courier GR");
  65. pref("font.name.cursive.el", "XXX.cursive");
  66. pref("font.name.fantasy.el", "XXX.fantasy");
  67.  
  68. pref("font.name.serif.he", "?????? ???");
  69. pref("font.name.sans-serif.he", "?????");
  70. pref("font.name.monospace.he", "?????");
  71. pref("font.name.cursive.he", "XXX.cursive");
  72. pref("font.name.fantasy.he", "XXX.fantasy");
  73.  
  74. pref("font.name.serif.ja", "σ╣│µêɵÿĵ£¥"); 
  75. pref("font.name.sans-serif.ja", "σ╣│µêÉΦºÆπé┤πé╖πââπé»"); 
  76. pref("font.name.monospace.ja", "OsakaΓêÆτ¡ëσ╣à"); 
  77. pref("font.name.cursive.ja", "XXX.cursive");
  78. pref("font.name.fantasy.ja", "XXX.fantasy");
  79.  
  80. pref("font.name.serif.ko", "AppleMyungjo"); 
  81. pref("font.name.sans-serif.ko", "AppleGothic"); 
  82. pref("font.name.monospace.ko", "AppleGothic"); 
  83. pref("font.name.cursive.ko", "XXX.cursive");
  84. pref("font.name.fantasy.ko", "XXX.fantasy");
  85.  
  86. pref("font.name.serif.th", "Thonburi");
  87. pref("font.name.sans-serif.th", "Krungthep");
  88. pref("font.name.monospace.th", "Ayuthaya");
  89. pref("font.name.cursive.th", "XXX.cursive");
  90. pref("font.name.fantasy.th", "XXX.fantasy");
  91.  
  92. pref("font.name.serif.tr", "Times");
  93. pref("font.name.sans-serif.tr", "Arial");
  94. pref("font.name.monospace.tr", "CourierR");
  95. pref("font.name.cursive.tr", "XXX.cursive");
  96. pref("font.name.fantasy.tr", "XXX.fantasy");
  97.  
  98. pref("font.name.serif.x-baltic", "Times CE");
  99. pref("font.name.sans-serif.x-baltic", "Helvetica CE");
  100. pref("font.name.monospace.x-baltic", "Courier CE");
  101. pref("font.name.cursive.x-baltic", "XXX.cursive");
  102. pref("font.name.fantasy.x-baltic", "XXX.fantasy");
  103.  
  104. pref("font.name.serif.x-central-euro", "Times CE");
  105. pref("font.name.sans-serif.x-central-euro", "Helvetica CE");
  106. pref("font.name.monospace.x-central-euro", "Courier CE");
  107. pref("font.name.cursive.x-central-euro", "XXX.cursive");
  108. pref("font.name.fantasy.x-central-euro", "XXX.fantasy");
  109.  
  110. pref("font.name.serif.x-cyrillic", "Latinski");
  111. pref("font.name.sans-serif.x-cyrillic", "Pryamoy Prop");
  112. pref("font.name.monospace.x-cyrillic", "APC Courier");
  113. pref("font.name.cursive.x-cyrillic", "XXX.cursive");
  114. pref("font.name.fantasy.x-cyrillic", "XXX.fantasy");
  115.  
  116. pref("font.name.serif.x-unicode", "Times");
  117. pref("font.name.sans-serif.x-unicode", "Helvetica");
  118. pref("font.name.monospace.x-unicode", "Courier");
  119. pref("font.name.cursive.x-unicode", "Apple Chancery");
  120. pref("font.name.fantasy.x-unicode", "Gadget");
  121.  
  122. pref("font.name.serif.x-western", "Times");
  123. pref("font.name.sans-serif.x-western", "Helvetica");
  124. pref("font.name.monospace.x-western", "Courier");
  125. pref("font.name.cursive.x-western", "Apple Chancery");
  126. pref("font.name.fantasy.x-western", "Gadget");
  127.  
  128. pref("font.name.serif.zh-CN", "Song");
  129. pref("font.name.sans-serif.zh-CN", "Hei");
  130. pref("font.name.monospace.zh-CN", "Hei");
  131. pref("font.name.cursive.zh-CN", "XXX.cursive");
  132. pref("font.name.fantasy.zh-CN", "XXX.fantasy");
  133.  
  134. pref("font.name.serif.zh-TW", "Apple LiSung Light"); 
  135. pref("font.name.sans-serif.zh-TW", "Apple LiGothic Medium");  
  136. pref("font.name.monospace.zh-TW", "Apple LiGothic Medium");  
  137. pref("font.name.cursive.zh-TW", "XXX.cursive");
  138. pref("font.name.fantasy.zh-TW", "XXX.fantasy");
  139.  
  140. pref("font.default", "serif");
  141. pref("font.size.variable.ar", 16);
  142. pref("font.size.fixed.ar", 13);
  143.  
  144. pref("font.size.variable.el", 16);
  145. pref("font.size.fixed.el", 13);
  146.  
  147. pref("font.size.variable.he", 16);
  148. pref("font.size.fixed.he", 13);
  149.  
  150. pref("font.size.variable.ja", 14);
  151. pref("font.size.fixed.ja", 14);
  152.  
  153. pref("font.size.variable.ko", 16);
  154. pref("font.size.fixed.ko", 16);
  155.  
  156. pref("font.size.variable.th", 16);
  157. pref("font.size.fixed.th", 13);
  158.  
  159. pref("font.size.variable.tr", 16);
  160. pref("font.size.fixed.tr", 13);
  161.  
  162. pref("font.size.variable.x-baltic", 16);
  163. pref("font.size.fixed.x-baltic", 13);
  164.  
  165. pref("font.size.variable.x-central-euro", 16);
  166. pref("font.size.fixed.x-central-euro", 13);
  167.  
  168. pref("font.size.variable.x-cyrillic", 16);
  169. pref("font.size.fixed.x-cyrillic", 13);
  170.  
  171. pref("font.size.variable.x-unicode", 16);
  172. pref("font.size.fixed.x-unicode", 13);
  173.  
  174. pref("font.size.variable.x-western", 16);
  175. pref("font.size.fixed.x-western", 13);
  176.  
  177. pref("font.size.variable.zh-CN", 15);
  178. pref("font.size.fixed.zh-CN", 16);
  179.  
  180. pref("font.size.variable.zh-TW", 15);
  181. pref("font.size.fixed.zh-TW", 16);
  182.  
  183. // Tab focus model bit field:
  184. // 1 focuses text controls, 2 focuses other form elements, 4 adds links.
  185. pref("accessibility.tabfocus", 1);
  186.  
  187. pref("accessibility.typeaheadfind.soundURL", "beep");
  188.  
  189. // Override the Windows settings: no menu key, meta accelerator key. ctrl for general access key in HTML/XUL
  190. // Use 17 for Ctrl, 18 for Option, 224 for Cmd, 0 for none
  191. pref("ui.key.menuAccessKey", 0);
  192. pref("ui.key.accelKey", 224);
  193. // (pinkerton, joki, saari) IE5 for mac uses Control for access keys. The HTML4 spec
  194. // suggests to use command on mac, but this really sucks (imagine someone having a "q"
  195. // as an access key and not letting you quit the app!). As a result, we've made a 
  196. // command decision 1 day before tree lockdown to change it to the control key.
  197. pref("ui.key.generalAccessKey", 17);
  198.  
  199. // print_extra_margin enables platforms to specify an extra gap or margin
  200. // around the content of the page for Print Preview only
  201. pref("print.print_extra_margin", 90); // twips (90 twips is an eigth of an inch)
  202.  
  203. // This indicates whether it should use the native dialog or the XP Dialog
  204. pref("print.use_native_print_dialog", true);
  205.  
  206. // determines the behavior upon starting a download.
  207. //  0 - open the download manager
  208. //  1 - open a progress dialog
  209. //  2 - do nothing
  210.  
  211. pref("browser.downloadmanager.behavior", 1);
  212.  
  213. pref("general.useragent.vendor", "Unofficial");
  214. pref("general.useragent.vendorSub", "1.3.1");
  215.