I have a dialog with two columns. The first column contains a text (the title of a pdf), the second column contains the complete path of the pdf. The dclick-action is "xdg-open". But this doesn't works. It works only with a single column list.
use custom handler for double-click action
1 2 3 4 5 6 7 8 9 10 11
#!/bin/bash function dclick-hndl () { xdg-open "$2" } export -f dclick-hndl yad --center --on-top --list --width=300 --height=200 \ --dclick-action='bash -c "dclick-hndl %s"' \ --column=Title --column=File \ 1 1.pdf 2 2.pdf 3 3.pdf
Log in to post a comment.
use custom handler for double-click action
Last edit: Victor Ananjevsky 2014-06-18