aboutsummaryrefslogtreecommitdiffstats
path: root/embed
diff options
context:
space:
mode:
authorDavid Bordoley <bordoley@msu.edu>2003-05-23 02:37:55 +0800
committerDave Bordoley <Bordoley@src.gnome.org>2003-05-23 02:37:55 +0800
commit12b4f94e6939dd7f69c67c19f3ca4068e506094e (patch)
tree3c35df6f8f4a30171652ebc2f3b2a2d89110d9c7 /embed
parent99d3b20ac598df507e9394a2244c5b3145dde88a (diff)
downloadgsoc2013-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')
-rw-r--r--embed/mozilla/mozilla-embed-single.cpp21
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