diff options
-rw-r--r-- | ChangeLog | 10 | ||||
-rw-r--r-- | embed/mozilla/mozilla-embed-single.cpp | 21 |
2 files changed, 31 insertions, 0 deletions
@@ -1,3 +1,13 @@ +2003-05-22 David Bordoley <bordoley@msu.edu> + + * 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 <chpe+gnomebugz@stud.uni-saarland.de> * 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 |