Bug 107433 - Make it possible to turn off click-and-hold contextual menu access. r=pedemonte, sr=neil, b181=bzbarsky.

git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_8_BRANCH@193986 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
mozilla.mano%sent.com
2006-04-10 10:36:16 +00:00
parent 9bac6a1b45
commit ca20e8ea9c
2 changed files with 3 additions and 1 deletions

View File

@@ -1410,7 +1410,8 @@ nsEventStateManager::BeginTrackingDragGesture(nsPresContext* aPresContext,
#ifdef CLICK_HOLD_CONTEXT_MENUS
// fire off a timer to track click-hold
CreateClickHoldTimer ( aPresContext, inDownFrame, inDownEvent );
if (nsContentUtils::GetBoolPref("ui.click_hold_context_menus", PR_TRUE))
CreateClickHoldTimer ( aPresContext, inDownFrame, inDownEvent );
#endif
}

View File

@@ -1335,6 +1335,7 @@ pref("intl.keyboard.per_window_layout", false);
// Mac specific preference defaults
pref("browser.drag_out_of_frame_style", 1);
pref("ui.key.saveLink.shift", false); // true = shift, false = meta
pref("ui.click_hold_context_menus", true);
// default font name (in UTF8)