Revert r250, since CMD-0 for changing to the tenth tab conflicts with the
shortcut for resetting the page zoom, but that is also an established shortcut from Firefox. git-svn-id: http://svn.haiku-os.org/webpositive/webkit/trunk@499 94f232f2-1747-11df-bad5-a5bfde151594
This commit is contained in:
committed by
Alexandre Deckner
parent
0e42079313
commit
eb44597cd0
@@ -470,11 +470,8 @@ BrowserWindow::BrowserWindow(BRect frame, SettingsMessage* appSettings,
|
|||||||
AddShortcut('F', B_COMMAND_KEY | B_SHIFT_KEY, new BMessage(EDIT_HIDE_FIND_GROUP));
|
AddShortcut('F', B_COMMAND_KEY | B_SHIFT_KEY, new BMessage(EDIT_HIDE_FIND_GROUP));
|
||||||
|
|
||||||
// Add shortcuts to select a particular tab
|
// Add shortcuts to select a particular tab
|
||||||
for (int32 i = 0; i <= 9; i++) {
|
for (int32 i = 1; i <= 9; i++) {
|
||||||
BMessage *selectTab = new BMessage(SELECT_TAB);
|
BMessage *selectTab = new BMessage(SELECT_TAB);
|
||||||
if (i == 0)
|
|
||||||
selectTab->AddInt32("tab index", 9);
|
|
||||||
else
|
|
||||||
selectTab->AddInt32("tab index", i - 1);
|
selectTab->AddInt32("tab index", i - 1);
|
||||||
char numStr[2];
|
char numStr[2];
|
||||||
snprintf(numStr, sizeof(numStr), "%d", (int) i);
|
snprintf(numStr, sizeof(numStr), "%d", (int) i);
|
||||||
|
|||||||
Reference in New Issue
Block a user