aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohn Ankarstrom <john@ankarstrom.se>2021-06-30 20:49:21 +0200
committerJohn Ankarstrom <john@ankarstrom.se>2021-06-30 20:49:21 +0200
commita20bba5032986c1cac1ab530fec3a2e2c1605e0d (patch)
treea8e8a7402ef8077575178352605c5ccde2b5104c
parent7552cc9817d8b5e436402ea2655d6ea087c0f28b (diff)
downloadpatches-a20bba5032986c1cac1ab530fec3a2e2c1605e0d.tar.gz
sysutils/rox: Add 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>"},