From 177085b47d2234442867b42288a4a19852427d94 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?John=20Ankarstr=C3=B6m?= Date: Wed, 9 Jun 2021 12:50:48 +0200 Subject: Add sys/utils/sysutils/rox/{patch-keys,patch-select-by-name} --- sysutils/rox/patch-select-by-name | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 sysutils/rox/patch-select-by-name (limited to 'sysutils/rox/patch-select-by-name') diff --git a/sysutils/rox/patch-select-by-name b/sysutils/rox/patch-select-by-name new file mode 100644 index 0000000..5b5efc8 --- /dev/null +++ b/sysutils/rox/patch-select-by-name @@ -0,0 +1,21 @@ +$NetBSD + +Use pattern ** by default, placing the cursor between the two +asterisks. + + +--- ROX-Filer/src/minibuffer.c.orig 2021-06-09 12:31:39.534115313 +0200 ++++ ROX-Filer/src/minibuffer.c +@@ -153,9 +153,10 @@ void minibuffer_show(FilerWindow *filer_window, MiniType mini_type) + filer_window->mini_cursor_base = -1; /* History */ + break; + case MINI_SELECT_BY_NAME: +- gtk_entry_set_text(mini, "*."); ++ gtk_entry_set_text(mini, "**"); ++ pos = 1; + filer_window->mini_cursor_base = -1; /* History */ +- view_select_if(filer_window->view, select_if_glob, "*."); ++ view_select_if(filer_window->view, select_if_glob, "**"); + break; + case MINI_FILTER: + if(filer_window->filter!=FILER_SHOW_GLOB || -- cgit v1.2.3