From 12b4f94e6939dd7f69c67c19f3ca4068e506094e Mon Sep 17 00:00:00 2001 From: David Bordoley Date: Thu, 22 May 2003 18:37:55 +0000 Subject: Disable Blink and Marquee, cuz they are annoying and non-standard. Don't 2003-05-22 David Bordoley * embed/mozilla/mozilla-embed-single.cpp: (mozilla_set_default_prefs): Disable Blink and Marquee, cuz they are annoying and non-standard. Don't fetch sidebar whats related stuff. Line Wrap View->Source. CTRL-Mousewheel scrolls by one page. Enable Image Auto-Resizing. Enable Browsing with the Caret. --- ChangeLog | 10 ++++++++++ embed/mozilla/mozilla-embed-single.cpp | 21 +++++++++++++++++++++ 2 files changed, 31 insertions(+) diff --git a/ChangeLog b/ChangeLog index 057e64b90..1f0d68715 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,13 @@ +2003-05-22 David Bordoley + + * embed/mozilla/mozilla-embed-single.cpp: + (mozilla_set_default_prefs): + + Disable Blink and Marquee, cuz they are annoying and + non-standard. Don't fetch sidebar whats related stuff. + Line Wrap View->Source. CTRL-Mousewheel scrolls by one page. + Enable Image Auto-Resizing. Enable Browsing with the Caret. + 2003-05-22 Christian Persch * lib/widgets/ephy-zoom-control.c: (ephy_zoom_control_init): diff --git a/embed/mozilla/mozilla-embed-single.cpp b/embed/mozilla/mozilla-embed-single.cpp index 612e2e546..9e6e664c7 100644 --- a/embed/mozilla/mozilla-embed-single.cpp +++ b/embed/mozilla/mozilla-embed-single.cpp @@ -222,6 +222,27 @@ mozilla_set_default_prefs (MozillaEmbedSingle *mes) /* Smooth scrolling on */ pref->SetBoolPref ("general.smoothScroll", PR_TRUE); + + /* Disable blinking text and marquee, its non-standard and annoying */ + pref->SetBoolPref ("browser.blink_allowed", PR_FALSE); + pref->SetBoolPref ("browser.display.enable_marquee", PR_FALSE); + + /* Enable Browsing with the Caret */ + pref->SetBoolPref ("accessibility.browsewithcaret", PR_TRUE); + + /* Don't Fetch the Sidebar whats related information, since we don't use it */ + pref->SetBoolPref ("browser.related.enabled", PR_FALSE); + + /* Line Wrap View->Source */ + pref->SetBoolPref ("view_source.wrap_long_lines", PR_TRUE); + + /* CTRL-Mousewheel scrolls by one page */ + pref->SetIntPref ("mousewheel.withcontrolkey.action", 1); + pref->SetIntPref ("mousewheel.withcontrolkey.numlines", 1); + pref->SetBoolPref ("mousewheel.withcontrolkey.sysnumlines", PR_FALSE); + + /* Enable Image Auto-Resizing */ + pref->SetBoolPref ("browser.enable_automatic_image_resizing", PR_TRUE); } static void -- cgit v1.2.3