aboutsummaryrefslogtreecommitdiff
path: root/sysutils/rox/patch-f2-rename
diff options
context:
space:
mode:
Diffstat (limited to 'sysutils/rox/patch-f2-rename')
-rw-r--r--sysutils/rox/patch-f2-rename15
1 files changed, 15 insertions, 0 deletions
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, "<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>"},