mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 364845 - ctrl-shift-pageup/down should move current tab left/right. r=gavin
This commit is contained in:
parent
7e998e021f
commit
879feba6c5
@ -2533,6 +2533,21 @@
|
||||
if (aEvent.altKey)
|
||||
return;
|
||||
|
||||
if (aEvent.ctrlKey && aEvent.shiftKey && !aEvent.metaKey) {
|
||||
switch (aEvent.keyCode) {
|
||||
case aEvent.DOM_VK_PAGE_UP:
|
||||
this.moveTabBackward();
|
||||
aEvent.stopPropagation();
|
||||
aEvent.preventDefault();
|
||||
return;
|
||||
case aEvent.DOM_VK_PAGE_DOWN:
|
||||
this.moveTabForward();
|
||||
aEvent.stopPropagation();
|
||||
aEvent.preventDefault();
|
||||
return;
|
||||
}
|
||||
}
|
||||
|
||||
// We need to take care of FAYT-watching as long as the findbar
|
||||
// isn't initialized. The checks on aEvent are copied from
|
||||
// _shouldFastFind (see findbar.xml).
|
||||
|
Loading…
Reference in New Issue
Block a user