зеркало из https://github.com/mozilla/pjs.git
Bug 231270 - fix default prefs for Mac OSX rs=dbaron
This commit is contained in:
Родитель
7c593c0de4
Коммит
4a7646fde8
|
@ -128,8 +128,9 @@ pref("editor.always_show_publish_dialog", false);
|
|||
*/
|
||||
//pref("editor.encode_entity", "html");
|
||||
|
||||
#ifndef XP_MACOSX
|
||||
#ifdef XP_UNIX
|
||||
pref("editor.disable_spell_checker", false);
|
||||
pref("editor.dont_lock_spell_files", true);
|
||||
#endif
|
||||
|
||||
#endif
|
||||
|
|
|
@ -559,21 +559,13 @@ pref("mail.standalone", false);
|
|||
|
||||
pref("mailnews.view.last",0); // 0 == "all" view
|
||||
|
||||
#if OS_ARCH==WINNT
|
||||
#ifdef XP_WIN
|
||||
// Unread mail count timer. Value to be specified in seconds
|
||||
// default is 5 minutes, i.e., 5 * 60 seconds = 300
|
||||
pref("mail.windows_xp_integration.unread_count_interval", 300);
|
||||
#endif
|
||||
|
||||
#if MOZ_WIDGET_TOOLKIT==cocoa
|
||||
#define MAC_PREFS 1
|
||||
#else
|
||||
#if MOZ_WIDGET_TOOLKIT==mac
|
||||
#define MAC_PREFS 1
|
||||
#endif
|
||||
#endif
|
||||
|
||||
#ifdef MAC_PREFS
|
||||
#ifdef XP_MACOSX
|
||||
pref("mail.notification.sound", "");
|
||||
pref("mail.close_message_window.on_delete", true);
|
||||
pref("mail.close_message_window.on_file", true);
|
||||
|
@ -581,6 +573,7 @@ pref("mail.close_message_window.on_file", true);
|
|||
pref("mail.server_type_on_restart", -1);
|
||||
#endif
|
||||
|
||||
#ifndef XP_MACOSX
|
||||
#ifdef XP_UNIX
|
||||
pref("mail.empty_trash", false);
|
||||
|
||||
|
@ -600,5 +593,6 @@ pref("mail.signature_date", 0);
|
|||
|
||||
// until bug #130581 is fixed, we need to override this on linux
|
||||
pref("mail.compose.max_recycled_windows", 0);
|
||||
# XP_UNIX
|
||||
#endif
|
||||
#endif
|
||||
|
||||
|
|
|
@ -795,7 +795,7 @@ pref("config.use_system_prefs.accessibility", false);
|
|||
pref("editor.resizing.preserve_ratio", true);
|
||||
pref("editor.positioning.offset", 0);
|
||||
|
||||
#if OS_ARCH==WINNT
|
||||
#ifdef XP_WIN
|
||||
pref("font.name.serif.ar", "Times New Roman");
|
||||
pref("font.name.sans-serif.ar", "Arial");
|
||||
pref("font.name.monospace.ar", "Courier New");
|
||||
|
@ -1011,15 +1011,7 @@ pref("intl.jis0208.map", "CP932");
|
|||
# WINNT
|
||||
#endif
|
||||
|
||||
#if MOZ_WIDGET_TOOLKIT==cocoa
|
||||
#define MAC_PREFS 1
|
||||
#else
|
||||
#if MOZ_WIDGET_TOOLKIT==mac
|
||||
#define MAC_PREFS 1
|
||||
#endif
|
||||
#endif
|
||||
|
||||
#ifdef MAC_PREFS
|
||||
#ifdef XP_MACOSX
|
||||
// Mac specific preference defaults
|
||||
pref("browser.drag_out_of_frame_style", 1);
|
||||
pref("ui.key.saveLink.shift", false); // true = shift, false = meta
|
||||
|
@ -1194,10 +1186,10 @@ pref("print.print_extra_margin", 90); // twips (90 twips is an eigth of an inch)
|
|||
// This indicates whether it should use the native dialog or the XP Dialog
|
||||
pref("print.use_native_print_dialog", true);
|
||||
|
||||
# MAC_PREFS
|
||||
# XP_MACOSX
|
||||
#endif
|
||||
|
||||
#if MOZ_WIDGET_TOOLKIT==os2
|
||||
#if XP_OS2
|
||||
|
||||
pref("ui.key.menuAccessKeyFocuses", true);
|
||||
pref("browser.display.screen_resolution", 0); // System setting
|
||||
|
@ -1360,7 +1352,7 @@ pref("intl.jis0208.map", "IBM943");
|
|||
# OS2
|
||||
#endif
|
||||
|
||||
#if MOZ_WIDGET_TOOLKIT==beos
|
||||
#if XP_BEOS
|
||||
|
||||
pref("intl.font_charset", "");
|
||||
pref("intl.font_spec_list", "");
|
||||
|
@ -1483,6 +1475,7 @@ pref("print.print_extra_margin", 90); // twips (90 twips is an eigth of an inch)
|
|||
# photon
|
||||
#endif
|
||||
|
||||
#ifndef XP_MACOSX
|
||||
#ifdef XP_UNIX
|
||||
// Handled differently under Mac/Windows
|
||||
pref("network.hosts.smtp_server", "localhost");
|
||||
|
@ -1819,6 +1812,9 @@ pref("print.postscript.nativefont.x-western", "");
|
|||
pref("print.postscript.nativefont.zh-CN", "");
|
||||
pref("print.postscript.nativefont.zh-TW", "");
|
||||
pref("print.postscript.nativefont.zh-HK", "");
|
||||
|
||||
# XP_UNIX
|
||||
#endif
|
||||
#endif
|
||||
|
||||
#if OS_ARCH==OpenVMS
|
||||
|
|
Загрузка…
Ссылка в новой задаче