recently used pipemenu fix
parent
1c22f1605e
commit
4a7265b7f6
|
@ -29,9 +29,11 @@ maximum_entries=15 # max. number of entries in menu
|
||||||
case $LANG in
|
case $LANG in
|
||||||
pl*)
|
pl*)
|
||||||
NOTFOUND="Nie znaleziono pliku recently-used.xbel"
|
NOTFOUND="Nie znaleziono pliku recently-used.xbel"
|
||||||
|
CLEAR="Wyczyść ostatnio używane"
|
||||||
;;
|
;;
|
||||||
*)
|
*)
|
||||||
NOTFOUND="Cannot find a readable recently-used.xbel file"
|
NOTFOUND="Cannot find a readable recently-used.xbel file"
|
||||||
|
CLEAR="Clear recently used file list"
|
||||||
;;
|
;;
|
||||||
esac
|
esac
|
||||||
|
|
||||||
|
@ -48,7 +50,7 @@ then
|
||||||
else
|
else
|
||||||
echo "$0: cannot find a readable recently-used.xbel file" >&2
|
echo "$0: cannot find a readable recently-used.xbel file" >&2
|
||||||
echo '<openbox_pipe_menu>
|
echo '<openbox_pipe_menu>
|
||||||
<separator label="$NOTFOUND" />
|
<separator label="'$NOTFOUND'" />
|
||||||
</openbox_pipe_menu>'
|
</openbox_pipe_menu>'
|
||||||
exit 1
|
exit 1
|
||||||
fi
|
fi
|
||||||
|
@ -104,7 +106,7 @@ files=$(perl -MURI::Escape -e 'print uri_unescape($ARGV[0]);' "$files")
|
||||||
output='<openbox_pipe_menu>
|
output='<openbox_pipe_menu>
|
||||||
'"$files"'
|
'"$files"'
|
||||||
<separator />
|
<separator />
|
||||||
<item label="Wyczyść ostatnio używane">
|
<item label="'${CLEAR}'">
|
||||||
<action name="Execute">
|
<action name="Execute">
|
||||||
<command>
|
<command>
|
||||||
''"$0"'' --clear
|
''"$0"'' --clear
|
||||||
|
|
Loading…
Reference in New Issue