Update of /cvsroot/pure-data/pd/src In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv12704
Modified Files: Tag: branch-v0-39-2-extended u_main.tk Log Message: added much improved browser file handling
Index: u_main.tk =================================================================== RCS file: /cvsroot/pure-data/pd/src/u_main.tk,v retrieving revision 1.17.2.24 retrieving revision 1.17.2.25 diff -C2 -d -r1.17.2.24 -r1.17.2.25 *** u_main.tk 12 Oct 2007 21:35:41 -0000 1.17.2.24 --- u_main.tk 16 Oct 2007 22:41:04 -0000 1.17.2.25 *************** *** 406,412 ****
if {$pd_nt == 0} { ! exec sh -c \ ! [format "firefox file:%s || mozilla file:%s &\n" \ ! $filename $filename] } elseif {$pd_nt == 2} { puts stderr [format "open %s" $filename] --- 406,419 ----
if {$pd_nt == 0} { ! foreach candidate \ ! { gnome-open xdg-open sensible-browser iceweasel firefox mozilla \ ! galeon konqueror netscape lynx } { ! set browser [lindex [auto_execok $candidate] 0] ! if {[string length $browser]} { ! puts stderr [format "%s %s" $browser $filename] ! exec sh -c [format "%s %s" $browser $filename] ! break ! } ! } } elseif {$pd_nt == 2} { puts stderr [format "open %s" $filename]