aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohn Ankarström <john@ankarstrom.se>2021-06-14 07:35:58 +0200
committerJohn Ankarström <john@ankarstrom.se>2021-06-14 07:35:58 +0200
commit6e54abdbac5b0316b56cfec9815de800aae3dd01 (patch)
treee3307e357ca1bc2e4acb376b37f0f63f8b17559d
parent203bfc28616a25b9001cea0a447612362dc8d7ec (diff)
downloadpatches-6e54abdbac5b0316b56cfec9815de800aae3dd01.tar.gz
sysutils/rox: Split patch-keys into two patches
-rw-r--r--sysutils/rox/patch-backspace (renamed from sysutils/rox/patch-keys)13
-rw-r--r--sysutils/rox/patch-q15
2 files changed, 16 insertions, 12 deletions
diff --git a/sysutils/rox/patch-keys b/sysutils/rox/patch-backspace
index ddbf243..323ca7b 100644
--- a/sysutils/rox/patch-keys
+++ b/sysutils/rox/patch-backspace
@@ -1,6 +1,6 @@
$NetBSD
-Change default key bindings.
+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
@@ -25,14 +25,3 @@ Change default key bindings.
{">" 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},
diff --git a/sysutils/rox/patch-q b/sysutils/rox/patch-q
new file mode 100644
index 0000000..ba3299f
--- /dev/null
+++ b/sysutils/rox/patch-q
@@ -0,0 +1,15 @@
+$NetBSD
+
+Bind Q to close window.
+
+--- 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},