Permalink
Browse files

pfind: allow paste searchstring with mouse middle-click

  • Loading branch information...
zigbert committed May 15, 2017
1 parent 56a62b8 commit 7fb7780e6e3a39d5453082bc124546ac2c52fe1c
Showing with 0 additions and 3 deletions.
  1. +0 −3 woof-code/rootfs-packages/pfind/usr/local/pfind/pfind
@@ -170,8 +170,6 @@ export pFind='
<text height-request="10"><label>""</label></text>
<entry activates-default="true" width-request="350">
<variable>SEARCHSTRING</variable>
<action condition="command_is_true([[ `echo \"$SEARCHSTRING\" | grep -F \"'$(gettext 'Search text')'\"` ]] && echo true)" signal="enter-notify-event">clear:SEARCHSTRING</action>
<input>echo "$SEARCHSTRING"</input>
</entry>
</vbox>
<text height-request="5"><label>""</label></text>
@@ -555,7 +553,6 @@ done
export LANGUAGES="<item>English</item>`find /usr/share/locale -name $TEXTDOMAIN.mo | cut -d'/' -f5 | awk '{print "<item>"$1"</item>"}' | sort`"
export SEARCHSTRING="$(gettext "Search text")"
#---
export EXTDOC=`grep document= $HOME/.pfilesearch/pfilesearchMIMErc | sed -e s/^.*\=//g | sed -e 's/ ./$\\\|\\\./g'`
#'$' makes the end of word (extension) '\|' makes grep either

0 comments on commit 7fb7780

Please sign in to comment.