Shortcut key for renaming: F2 (issue 905)

This commit is contained in:
michael
2011-08-15 00:12:08 -04:00
parent a75252f34d
commit eee952fdaf

View File

@@ -679,6 +679,10 @@ bool FileBrowser::keyPressed (GdkEventKey* event) {
menuItemActivated (selall);
return true;
}
else if (event->keyval==GDK_F2 && !(event->state & GDK_CONTROL_MASK)) {
menuItemActivated (rename);
return true;
}
else if (event->keyval==GDK_F5) {
int dest = 1;
if (event->state & GDK_SHIFT_MASK)