aboutsummaryrefslogtreecommitdiff
path: root/sysutils/rox/patch-select-by-name
blob: 5b5efc8a91ffd71cdc2cf72bc271d1c420b96070 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
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 ||