Bug 483730 By Default, Ctrl - MouseWheel Scroll doesn't Zoom. r=Neil
authorPhilip Chee <philip.chee@gmail.com>
Tue, 08 Feb 2011 12:39:08 +0800
changeset 7103 b13f071ca3478087d8cdbe7a51b56721885b0495
parent 7102 ee3e25817685e52122abddea30eddd519a6e1ce7
child 7104 f4fb75b34428e45fe155ce81dd06256e3158f15b
push idunknown
push userunknown
push dateunknown
reviewersNeil
bugs483730
Bug 483730 By Default, Ctrl - MouseWheel Scroll doesn't Zoom. r=Neil
suite/browser/browser-prefs.js
--- a/suite/browser/browser-prefs.js
+++ b/suite/browser/browser-prefs.js
@@ -607,16 +607,26 @@ pref("privacy.item.downloads",   true);
 pref("privacy.item.cookies",     false);
 pref("privacy.item.cache",       true);
 pref("privacy.item.sessions",    true);
 pref("privacy.item.offlineApps", false);
 
 pref("privacy.sanitize.sanitizeOnShutdown", false);
 pref("privacy.sanitize.promptOnSanitize", true);
 
+/* mousewheel.withcontrolkey.action:
+ * 0 = lines
+ * 1 = pages
+ * 2 = history
+ * 3 = text or full zoom depending on "browser.zoom.full".
+ */
+pref("mousewheel.withcontrolkey.action",3);
+pref("mousewheel.withcontrolkey.sysnumlines",false);
+pref("mousewheel.withcontrolkey.numlines",1);
+
 // Show XUL error pages instead of alerts for errors
 pref("browser.xul.error_pages.enabled", true);
 pref("browser.xul.error_pages.expert_bad_cert", false);
 
 // Setting this pref to |true| forces BiDi UI menu items and keyboard shortcuts
 // to be exposed. By default, only expose it for bidi-associated system locales.
 pref("bidi.browser.ui", false);