1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
|
$NetBSD
Change default key bindings.
--- ROX-Filer/src/filer.c.orig 2021-06-09 12:27:42.485755107 +0200
+++ ROX-Filer/src/filer.c
@@ -1228,9 +1228,6 @@ gint filer_key_press_event(GtkWidget *widget,
case GDK_Tab:
filer_next_selected(filer_window, 1);
break;
- case GDK_BackSpace:
- change_to_parent(filer_window);
- break;
case GDK_backslash:
{
ViewIter iter;
--- ROX-Filer/src/menu.c.orig 2021-06-09 12:29:31.430071590 +0200
+++ ROX-Filer/src/menu.c
@@ -238,7 +238,7 @@ static GtkItemFactoryEntry filer_menu_def[] = {
{">" N_("Blank file"), NULL, new_file, 0, "<StockItem>", GTK_STOCK_NEW},
{">" N_("Customise Menu..."), NULL, customise_new, 0, NULL},
{N_("Window"), NULL, NULL, 0, "<Branch>"},
-{">" N_("Parent, New Window"), NULL, open_parent, 0, "<StockItem>", GTK_STOCK_GO_UP},
+{">" N_("Parent, New Window"), "BackSpace", open_parent, 0, "<StockItem>", GTK_STOCK_GO_UP},
{">" N_("Parent, Same Window"), NULL, open_parent_same, 0, NULL},
{">" N_("New Window"), NULL, new_window, 0, NULL},
{">" N_("Home Directory"), "<Ctrl>Home", home_directory, 0, "<StockItem>", GTK_STOCK_HOME},
--- ROX-Filer/src/menu.c.orig 2021-06-09 12:44:32.990200434 +0200
+++ ROX-Filer/src/menu.c
@@ -248,7 +248,7 @@ static GtkItemFactoryEntry filer_menu_def[] = {
{">" N_("Resize Window"), "<Ctrl>E", resize, 0, NULL},
/* {">" N_("New, As User..."), NULL, new_user, 0, NULL}, */
-{">" N_("Close Window"), "<Ctrl>Q", close_window, 0, "<StockItem>", GTK_STOCK_CLOSE},
+{">" N_("Close Window"), "Q", close_window, 0, "<StockItem>", GTK_STOCK_CLOSE},
{">", NULL, NULL, 0, "<Separator>"},
{">" N_("Enter Path..."), "slash", mini_buffer, MINI_PATH, NULL},
{">" N_("Shell Command..."), "<Shift>exclam", mini_buffer, MINI_SHELL, NULL},
|