aboutsummaryrefslogtreecommitdiff
path: root/sysutils
diff options
context:
space:
mode:
authorJohn Ankarström <john@ankarstrom.se>2021-06-24 19:01:04 +0200
committerJohn Ankarström <john@ankarstrom.se>2021-06-24 19:01:04 +0200
commit2fc49f75c04e534084f08606f0c5fc6cca8e5e71 (patch)
tree1dfaa5e8b99cc0450c6184f9adb249af002c3ca3 /sysutils
parent05bc72a4c1de4ab2024fa4134cd4825801461e5f (diff)
downloadpatches-2fc49f75c04e534084f08606f0c5fc6cca8e5e71.tar.gz
sysutils/rox: Add patch-new-dir
Diffstat (limited to 'sysutils')
-rw-r--r--sysutils/rox/patch-new-dir17
1 files changed, 17 insertions, 0 deletions
diff --git a/sysutils/rox/patch-new-dir b/sysutils/rox/patch-new-dir
new file mode 100644
index 0000000..1c879c2
--- /dev/null
+++ b/sysutils/rox/patch-new-dir
@@ -0,0 +1,17 @@
+$NetBSD
+
+Bind Ctrl-N to create new directory and Shift-N to create a blank file.
+
+--- ROX-Filer/src/menu.c.orig 2021-06-24 18:55:00.202022979 +0200
++++ ROX-Filer/src/menu.c
+@@ -235,8 +235,8 @@ static GtkItemFactoryEntry filer_menu_def[] = {
+ {">" N_("Select If..."), "<Shift>question", mini_buffer, MINI_SELECT_IF, NULL},
+ {N_("Options..."), NULL, menu_show_options, 0, "<StockItem>", GTK_STOCK_PREFERENCES},
+ {N_("New"), NULL, NULL, 0, "<Branch>"},
+-{">" N_("Directory"), NULL, new_directory, 0, NULL},
+-{">" N_("Blank file"), NULL, new_file, 0, "<StockItem>", GTK_STOCK_NEW},
++{">" N_("Directory"), "<Ctrl>N", new_directory, 0, NULL},
++{">" N_("Blank file"), "<Shift>N", new_file, 0, NULL},
+ {">" N_("Customise Menu..."), NULL, customise_new, 0, NULL},
+ {N_("Window"), NULL, NULL, 0, "<Branch>"},
+ {">" N_("Parent, New Window"), "BackSpace", open_parent, 0, "<StockItem>", GTK_STOCK_GO_UP},