#!/bin/sh
export TEXTDOMAIN=pburn

export chooser="
<window title=\"pBurn - $TITLE\" icon-name=\"media-optical\">
 <vbox>
  <chooser type=\"dirselect\">
   <height>500</height><width>600</width>
   <variable>CHOOSER</variable>
  </chooser>
  <hbox>
   <button>
    <input file stock=\"gtk-cancel\"></input>
    <label>$(gettext 'Cancel')</label>
    <action>EXIT:cancel</action>
   </button>
   <button can-default=\"true\" has-default=\"true\" use-stock=\"true\">
    <input file stock=\"gtk-apply\"></input>
    <label>$(gettext 'Ok')</label>
    <action>EXIT:OK</action>
   </button>
  </hbox>
 </vbox>
</window>"
I=$IFS; IFS=""
for STATEMENTS in  $($GTKDIALOG -p chooser --center); do
	eval $STATEMENTS
done
IFS=$I
if [ $EXIT = "OK" ]; then
	[ "$SLIDESHOW" = "true" ] && echo "$CHOOSER" > $WORKDIR/BACKGROUND_MUSIC
fi
	