I need filter only files *.odt and *.ods
how i can modified in <chooser> for filter only files of the type "*.odt" and "*.ods" ?
Code: Select all
#!/bin/bash
DIRACTUAL=`pwd`
export MAIN_DIALOG='
<vbox>
<chooser>
<height>500</height>
<width>600</width>
<variable>CHOOSER</variable>
<default>'$DIRACTUAL'</default>
</chooser>
<hbox>
<button help></button>
<button ok></button>
</hbox>
</vbox>
'
gtkdialog --program=MAIN_DIALOG
thanks