SecBSD's official ports repository
This commit is contained in:
commit
2c0afcbbf3
64331 changed files with 5339189 additions and 0 deletions
23
x11/xfe/patches/patch-src_SearchWindow_cpp
Normal file
23
x11/xfe/patches/patch-src_SearchWindow_cpp
Normal file
|
@ -0,0 +1,23 @@
|
|||
Remove gnuisms. The Find Hidden checkbox does nothing now.
|
||||
|
||||
Index: src/SearchWindow.cpp
|
||||
--- src/SearchWindow.cpp.orig
|
||||
+++ src/SearchWindow.cpp
|
||||
@@ -650,7 +650,7 @@ long SearchWindow::onCmdStart(FXObject*, FXSelector, v
|
||||
}
|
||||
else
|
||||
{
|
||||
- searchcommand = "find -P " + ::quote(wheredir->getText());
|
||||
+ searchcommand = "find " + ::quote(wheredir->getText());
|
||||
}
|
||||
|
||||
// Ignore case
|
||||
@@ -756,7 +756,7 @@ long SearchWindow::onCmdStart(FXObject*, FXSelector, v
|
||||
// Hidden files
|
||||
if (!findhidden->getCheck())
|
||||
{
|
||||
- searchcommand += " \\( ! -regex '.*/\\..*' \\)";
|
||||
+ searchcommand += " ! -path .";
|
||||
}
|
||||
|
||||
// Without grep command
|
Loading…
Add table
Add a link
Reference in a new issue