#! /bin/bash
$APPDIR/func -reset_gtk

export pmusic_splash='
<window title="pMusic" icon-name="pmusic" allow-grow="false">
<vbox>
 <frame>
  '"$SPLASH
  <text><input file>$WORKDIR/splashtext</input></text>
 </frame>
 <progressbar>
  <input>"'while [ "$I" != "100" ]; do I=`cat '"$WORKDIR"'/pmusic-splash`; echo $I; sleep 0.5; done</input>
  <action type="exit">Ready</action>
 </progressbar>
</vbox></window>'
$GTKDIALOG -p pmusic_splash --center

