diff options
author | John Ankarström <john@ankarstrom.se> | 2021-06-14 07:35:58 +0200 |
---|---|---|
committer | John Ankarström <john@ankarstrom.se> | 2021-06-14 07:35:58 +0200 |
commit | 6e54abdbac5b0316b56cfec9815de800aae3dd01 (patch) | |
tree | e3307e357ca1bc2e4acb376b37f0f63f8b17559d /sysutils/rox/patch-backspace | |
parent | 203bfc28616a25b9001cea0a447612362dc8d7ec (diff) | |
download | patches-6e54abdbac5b0316b56cfec9815de800aae3dd01.tar.gz |
sysutils/rox: Split patch-keys into two patches
Diffstat (limited to 'sysutils/rox/patch-backspace')
-rw-r--r-- | sysutils/rox/patch-backspace | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/sysutils/rox/patch-backspace b/sysutils/rox/patch-backspace new file mode 100644 index 0000000..323ca7b --- /dev/null +++ b/sysutils/rox/patch-backspace @@ -0,0 +1,27 @@ +$NetBSD + +Bind BackSpace to open parent (and not change to parent). + +--- 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}, |