Keyboard navigation in File Browser - Home and End shortcuts (issue 1919, on behalf of Adam Reichold)

This commit is contained in:
michael
2013-07-04 14:27:56 -04:00
parent 01414d0550
commit 84ee2bc18a
3 changed files with 150 additions and 12 deletions

View File

@@ -986,6 +986,14 @@ bool FileBrowser::keyPressed (GdkEventKey* event) {
selectNext (numOfCols, shift);
return true;
}
else if (event->keyval==GDK_Home) {
selectFirst (shift);
return true;
}
else if (event->keyval==GDK_End) {
selectLast (shift);
return true;
}
else if (event->keyval==GDK_F5) {
int dest = 1;