зеркало из https://github.com/mozilla/pjs.git
Bug 309730 - Tweak wheel+modifiers preferences on OS X. r=mconnor.
This commit is contained in:
Родитель
6826fa1b63
Коммит
498b1361c2
|
@ -314,8 +314,18 @@ pref("intl.menuitems.alwaysappendaccesskeys","chrome://global/locale/intl.proper
|
|||
pref("intl.menuitems.insertseparatorbeforeaccesskeys","chrome://global/locale/intl.properties");
|
||||
|
||||
// 0=lines, 1=pages, 2=history , 3=text size
|
||||
#ifdef XP_MACOSX
|
||||
pref("mousewheel.withmetakey.action", 3);
|
||||
// On OS X, if the wheel has one axis only, shift+wheel comes through as a
|
||||
// horizontal scroll event. Thus, we can't assign anything other than normal
|
||||
// scrolling to shift+wheel.
|
||||
pref("mousewheel.withshiftkey.action", 0);
|
||||
pref("mousewheel.withshiftkey.sysnumlines", false);
|
||||
pref("mousewheel.withcontrolkey.action", 2);
|
||||
#else
|
||||
pref("mousewheel.withcontrolkey.action",3);
|
||||
pref("mousewheel.withshiftkey.action",2);
|
||||
#endif
|
||||
pref("mousewheel.withaltkey.action",0);
|
||||
|
||||
pref("profile.allow_automigration", false); // setting to false bypasses automigration in the profile code
|
||||
|
@ -401,6 +411,3 @@ pref("browser.download.hide_plugins_without_extensions", true);
|
|||
// 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);
|
||||
|
||||
pref("browser.feedview.showMenu", true);
|
||||
pref("browser.feedview.reloadInterval", 0);
|
||||
|
|
|
@ -37,8 +37,11 @@ Contributors:
|
|||
<tbody>
|
||||
<tr>
|
||||
<td>Back</td>
|
||||
<td>&shiftKey;+Scroll Down</td>
|
||||
<td>&shiftKey;+Scroll Down</td>
|
||||
<td>
|
||||
<span class="mac">&ctrlKey;+Scroll Down</span>
|
||||
<span class="noMac">&shiftKey;+Scroll Down</span>
|
||||
</td>
|
||||
<td><span class="noMac">&shiftKey;+Scroll Down</span></td>
|
||||
<td>&shiftKey;+Scroll Down</td>
|
||||
</tr>
|
||||
<tr>
|
||||
|
@ -50,19 +53,22 @@ Contributors:
|
|||
<tr>
|
||||
<td>Decrease Text Size</td>
|
||||
<td>&accelKey;+Scroll up</td>
|
||||
<td>&accelKey;+Scroll up</td>
|
||||
<td><span class="noMac">&accelKey;+Scroll up</span></td>
|
||||
<td>&accelKey;+Scroll up</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>Forward</td>
|
||||
<td>&shiftKey;+Scroll up</td>
|
||||
<td>&shiftKey;+Scroll up</td>
|
||||
<td>
|
||||
<span class="mac">&ctrlKey;+Scroll up</span>
|
||||
<span class="noMac">&shiftKey;+Scroll up</span>
|
||||
</td>
|
||||
<td><span class="noMac">&shiftKey;+Scroll up</span></td>
|
||||
<td>&shiftKey;+Scroll up</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>Increase Text Size</td>
|
||||
<td>&accelKey;+Scroll down</td>
|
||||
<td>&accelKey;+Scroll down</td>
|
||||
<td><span class="noMac">&accelKey;+Scroll down</span></td>
|
||||
<td>&accelKey;+Scroll down</td>
|
||||
</tr>
|
||||
<tr>
|
||||
|
|
Загрузка…
Ссылка в новой задаче