Bug 572399 - Add a preference to enable click hold context menu [r=mfinkle]
authorVivien Nicolas <21@vingtetun.org>
Wed, 16 Jun 2010 15:46:15 +0200
changeset 66291 2eebce9cb2c480ebdf7bda4df46f19b05e2d4c3b
parent 66290 0a8d6549cd4488575433f0b65e0fdb41d30a87bd
child 66292 5567c80b6eb51391c4720c0feaa03aad7ccef168
push id1
push userroot
push dateTue, 26 Apr 2011 22:38:44 +0000
treeherdermozilla-beta@bfdb6e623a36 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersmfinkle
bugs572399
Bug 572399 - Add a preference to enable click hold context menu [r=mfinkle]
mobile/app/mobile.js
--- a/mobile/app/mobile.js
+++ b/mobile/app/mobile.js
@@ -48,16 +48,19 @@ pref("toolkit.screen.lock", false);
 pref("zoom.minPercent", 20);
 pref("zoom.maxPercent", 400);
 pref("toolkit.zoomManager.zoomValues", ".2,.3,.5,.67,.8,.9,1,1.1,1.2,1.33,1.5,1.7,2,2.4,3,4");
 pref("zoom.dpiScale", 150);
 
 /* use custom widget for html:select */
 pref("ui.use_native_popup_windows", true);
 
+/* use long press to display a context menu */
+pref("ui.click_hold_context_menus", true);
+
 /* cache prefs */
 pref("browser.cache.disk.enable", false);
 pref("browser.cache.disk.capacity", 0); // kilobytes
 
 pref("browser.cache.memory.enable", true);
 pref("browser.cache.memory.capacity", 1024); // kilobytes
 
 /* tile cache prefs */