aboutsummaryrefslogtreecommitdiff
path: root/sysutils/rox/patch-f2-rename
blob: e58defa8999410dc2b3a39fabf6e3f56a98772ac (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
$NetBSD

Bind F2 to rename.

--- ROX-Filer/src/menu.c.orig	2021-06-30 20:30:56.854312909 +0200
+++ ROX-Filer/src/menu.c
@@ -212,7 +212,7 @@ static GtkItemFactoryEntry filer_menu_def[] = {
 {">" N_("Save Current Display Settings..."),	 NULL, save_settings, 0, NULL},
 {N_("File"),			NULL, NULL, 0, "<Branch>"},
 {">" N_("Copy..."),		"<Ctrl>C", file_op, FILE_COPY_ITEM, "<StockItem>", GTK_STOCK_COPY},
-{">" N_("Rename..."),		NULL, file_op, FILE_RENAME_ITEM, NULL},
+{">" N_("Rename..."),		"F2", file_op, FILE_RENAME_ITEM, NULL},
 {">" N_("Link..."),		NULL, file_op, FILE_LINK_ITEM, NULL},
 {">" N_("Delete"),	    	"<Ctrl>X", file_op, FILE_DELETE, "<StockItem>", GTK_STOCK_DELETE},
 {">",				NULL, NULL, 0, "<Separator>"},