From 2fc49f75c04e534084f08606f0c5fc6cca8e5e71 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?John=20Ankarstr=C3=B6m?= Date: Thu, 24 Jun 2021 19:01:04 +0200 Subject: sysutils/rox: Add patch-new-dir --- sysutils/rox/patch-new-dir | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 sysutils/rox/patch-new-dir (limited to 'sysutils') 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..."), "question", mini_buffer, MINI_SELECT_IF, NULL}, + {N_("Options..."), NULL, menu_show_options, 0, "", GTK_STOCK_PREFERENCES}, + {N_("New"), NULL, NULL, 0, ""}, +-{">" N_("Directory"), NULL, new_directory, 0, NULL}, +-{">" N_("Blank file"), NULL, new_file, 0, "", GTK_STOCK_NEW}, ++{">" N_("Directory"), "N", new_directory, 0, NULL}, ++{">" N_("Blank file"), "N", new_file, 0, NULL}, + {">" N_("Customise Menu..."), NULL, customise_new, 0, NULL}, + {N_("Window"), NULL, NULL, 0, ""}, + {">" N_("Parent, New Window"), "BackSpace", open_parent, 0, "", GTK_STOCK_GO_UP}, -- cgit v1.2.3