firefox-4.0-vine.patch 3.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566
  1. diff -up mozilla-2.0/browser/app/profile/firefox.js.orig mozilla-2.0/browser/app/profile/firefox.js
  2. --- mozilla-2.0/browser/app/profile/firefox.js.orig 2011-03-19 08:33:32.000000000 +0900
  3. +++ mozilla-2.0/browser/app/profile/firefox.js 2011-03-29 23:12:00.000000000 +0900
  4. @@ -507,6 +507,9 @@ pref("browser.gesture.twist.right", "");
  5. pref("browser.gesture.twist.left", "");
  6. pref("browser.gesture.tap", "cmd_fullZoomReset");
  7. +// Use LANG environment variable to choose locale
  8. +pref("intl.locale.matchOS", true);
  9. +
  10. // 0=lines, 1=pages, 2=history , 3=text size
  11. #ifdef XP_MACOSX
  12. // On OS X, if the wheel has one axis only, shift+wheel comes through as a
  13. @@ -628,7 +631,7 @@ pref("browser.backspace_action", 0);
  14. // 0 = spellcheck nothing
  15. // 1 = check multi-line controls [default]
  16. // 2 = check multi/single line controls
  17. -pref("layout.spellcheckDefault", 1);
  18. +pref("layout.spellcheckDefault", 0);
  19. pref("browser.send_pings", false);
  20. diff -up mozilla-2.0/browser/base/content/browser.xul.orig mozilla-2.0/browser/base/content/browser.xul
  21. --- mozilla-2.0/browser/base/content/browser.xul.orig 2011-03-19 08:33:32.000000000 +0900
  22. +++ mozilla-2.0/browser/base/content/browser.xul 2011-03-29 23:12:00.000000000 +0900
  23. @@ -88,7 +88,7 @@
  24. lightweightthemes="true"
  25. lightweightthemesfooter="browser-bottombox"
  26. windowtype="navigator:browser"
  27. - screenX="4" screenY="4"
  28. + screenX="4" screenY="4" width="1000" height="9999"
  29. browsingmode="normal"
  30. persist="screenX screenY width height sizemode">
  31. diff -up mozilla-2.0/browser/branding/unofficial/locales/browserconfig.properties.orig mozilla-2.0/browser/branding/unofficial/locales/browserconfig.properties
  32. --- mozilla-2.0/browser/branding/unofficial/locales/browserconfig.properties.orig 2011-03-19 08:33:32.000000000 +0900
  33. +++ mozilla-2.0/browser/branding/unofficial/locales/browserconfig.properties 2011-03-29 23:47:29.000000000 +0900
  34. @@ -1,2 +1,2 @@
  35. # Do NOT localize or otherwise change these values
  36. -browser.startup.homepage=about:home
  37. +browser.startup.homepage=http://vinelinux.org/
  38. diff -up mozilla-2.0/browser/branding/unofficial/pref/firefox-branding.js.orig mozilla-2.0/browser/branding/unofficial/pref/firefox-branding.js
  39. --- mozilla-2.0/browser/branding/unofficial/pref/firefox-branding.js.orig 2011-03-19 08:33:32.000000000 +0900
  40. +++ mozilla-2.0/browser/branding/unofficial/pref/firefox-branding.js 2011-03-29 23:45:59.000000000 +0900
  41. @@ -1,6 +1,6 @@
  42. -pref("startup.homepage_override_url","http://www.mozilla.org/projects/%APP%/%VERSION%/whatsnew/");
  43. -pref("startup.homepage_welcome_url","http://www.mozilla.org/projects/%APP%/%VERSION%/firstrun/");
  44. -pref("browser.panorama.welcome_url", "http://www.mozilla.com/firefox/panorama/");
  45. +pref("startup.homepage_override_url","http://vinelinux.org/");
  46. +pref("startup.homepage_welcome_url","http://vinelinux.org/");
  47. +pref("browser.panorama.welcome_url", "http://vinelinux.org/");
  48. // The time interval between checks for a new version (in seconds)
  49. // nightly=8 hours, official=24 hours
  50. pref("app.update.interval", 28800);
  51. diff -up mozilla-2.0/modules/libpref/src/init/all.js.orig mozilla-2.0/modules/libpref/src/init/all.js
  52. --- mozilla-2.0/modules/libpref/src/init/all.js.orig 2011-03-19 08:34:02.000000000 +0900
  53. +++ mozilla-2.0/modules/libpref/src/init/all.js 2011-03-29 23:12:00.000000000 +0900
  54. @@ -2802,7 +2802,7 @@ pref("font.size.fixed.x-tibt", 13);
  55. /* PostScript print module prefs */
  56. // pref("print.postscript.enabled", true);
  57. -pref("print.postscript.paper_size", "letter");
  58. +pref("print.postscript.paper_size", "a4");
  59. pref("print.postscript.orientation", "portrait");
  60. pref("print.postscript.print_command", "lpr ${MOZ_PRINTER_NAME:+-P\"$MOZ_PRINTER_NAME\"}");