diff options
author | David Bordoley <bordoley@msu.edu> | 2003-05-23 02:37:55 +0800 |
---|---|---|
committer | Dave Bordoley <Bordoley@src.gnome.org> | 2003-05-23 02:37:55 +0800 |
commit | 12b4f94e6939dd7f69c67c19f3ca4068e506094e (patch) | |
tree | 3c35df6f8f4a30171652ebc2f3b2a2d89110d9c7 /embed/mozilla | |
parent | 99d3b20ac598df507e9394a2244c5b3145dde88a (diff) | |
download | gsoc2013-epiphany-12b4f94e6939dd7f69c67c19f3ca4068e506094e.tar gsoc2013-epiphany-12b4f94e6939dd7f69c67c19f3ca4068e506094e.tar.gz gsoc2013-epiphany-12b4f94e6939dd7f69c67c19f3ca4068e506094e.tar.bz2 gsoc2013-epiphany-12b4f94e6939dd7f69c67c19f3ca4068e506094e.tar.lz gsoc2013-epiphany-12b4f94e6939dd7f69c67c19f3ca4068e506094e.tar.xz gsoc2013-epiphany-12b4f94e6939dd7f69c67c19f3ca4068e506094e.tar.zst gsoc2013-epiphany-12b4f94e6939dd7f69c67c19f3ca4068e506094e.zip |
Disable Blink and Marquee, cuz they are annoying and non-standard. Don't
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.
Diffstat (limited to 'embed/mozilla')
-rw-r--r-- | embed/mozilla/mozilla-embed-single.cpp | 21 |
1 files changed, 21 insertions, 0 deletions
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 |