diff options
-rw-r--r-- | sysutils/rox/patch-new-dir | 17 |
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}, |