aboutsummaryrefslogtreecommitdiff
path: root/sysutils/rox/patch-new-dir
blob: 1c879c29276e731870b9829219340d89a08b3101 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
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},