diff options
author | Christian Persch <chpe@cvs.gnome.org> | 2005-05-31 22:36:51 +0800 |
---|---|---|
committer | Christian Persch <chpe@src.gnome.org> | 2005-05-31 22:36:51 +0800 |
commit | 65d72dadd8762f9d86c2a1f28a4af0c8dc784973 (patch) | |
tree | 1194ed95470fb750128f364aff0c58224a0906e0 /data/default-prefs-common.js | |
parent | 30457fd1bc79dfc4e2fc36a165de0abf1b1d5b77 (diff) | |
download | gsoc2013-epiphany-65d72dadd8762f9d86c2a1f28a4af0c8dc784973.tar gsoc2013-epiphany-65d72dadd8762f9d86c2a1f28a4af0c8dc784973.tar.gz gsoc2013-epiphany-65d72dadd8762f9d86c2a1f28a4af0c8dc784973.tar.bz2 gsoc2013-epiphany-65d72dadd8762f9d86c2a1f28a4af0c8dc784973.tar.lz gsoc2013-epiphany-65d72dadd8762f9d86c2a1f28a4af0c8dc784973.tar.xz gsoc2013-epiphany-65d72dadd8762f9d86c2a1f28a4af0c8dc784973.tar.zst gsoc2013-epiphany-65d72dadd8762f9d86c2a1f28a4af0c8dc784973.zip |
Add scroll event listener, and change zoom on scroll+wheel events.
2005-05-31 Christian Persch <chpe@cvs.gnome.org>
* data/default-prefs-common.js:
* embed/mozilla/EphyBrowser.cpp:
* embed/mozilla/EphyBrowser.h:
Add scroll event listener, and change zoom on scroll+wheel events.
* lib/ephy-zoom.c: (ephy_zoom_get_changed_zoom_level):
* lib/ephy-zoom.h:
Fix signed/unsigned integer problems (underflow).
Diffstat (limited to 'data/default-prefs-common.js')
-rw-r--r-- | data/default-prefs-common.js | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/data/default-prefs-common.js b/data/default-prefs-common.js index 4475ff41e..e1995086f 100644 --- a/data/default-prefs-common.js +++ b/data/default-prefs-common.js @@ -1,7 +1,10 @@ -// mouse wheel -pref("mousewheel.withcontrolkey.action", 1); +// mouse wheel: disable mozilla's ctrl+wheel zooming +// bug: setting this to -1 does not disable the built-in action, but instead +// prevents event delivery at all! +pref("mousewheel.withcontrolkey.action", 0); pref("mousewheel.withcontrolkey.numlines", 1); pref("mousewheel.withcontrolkey.sysnumlines", false); + // fix horizontal scroll with 2nd wheel, see bug #148557 pref("mousewheel.horizscroll.withnokey.action", 0); pref("mousewheel.horizscroll.withnokey.sysnumlines", true); |