From a20bba5032986c1cac1ab530fec3a2e2c1605e0d Mon Sep 17 00:00:00 2001 From: John Ankarstrom Date: Wed, 30 Jun 2021 20:49:21 +0200 Subject: sysutils/rox: Add patch-f2-rename --- sysutils/rox/patch-f2-rename | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 sysutils/rox/patch-f2-rename diff --git a/sysutils/rox/patch-f2-rename b/sysutils/rox/patch-f2-rename new file mode 100644 index 0000000..e58defa --- /dev/null +++ b/sysutils/rox/patch-f2-rename @@ -0,0 +1,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, ""}, + {">" N_("Copy..."), "C", file_op, FILE_COPY_ITEM, "", 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"), "X", file_op, FILE_DELETE, "", GTK_STOCK_DELETE}, + {">", NULL, NULL, 0, ""}, -- cgit v1.2.3