Tracker: Add zoom shortcuts to menuless windows

(for instance the desktop)
This commit is contained in:
John Scipione
2013-10-18 03:10:00 -04:00
parent 2809b77fc6
commit 000e7d4088
+8
View File
@@ -2108,6 +2108,14 @@ BContainerWindow::AddShortcuts()
new BMessage(kOpenParentDir), PoseView());
AddShortcut('O', B_COMMAND_KEY | B_CONTROL_KEY,
new BMessage(kOpenSelectionWith), PoseView());
BMessage* decreaseSize = new BMessage(kIconMode);
decreaseSize->AddInt32("scale", 0);
AddShortcut('-', B_COMMAND_KEY, decreaseSize, PoseView());
BMessage* increaseSize = new BMessage(kIconMode);
increaseSize->AddInt32("scale", 1);
AddShortcut('+', B_COMMAND_KEY, increaseSize, PoseView());
}