the following code is at the end of a Bashscript.
Can someone tell me why the dialog window does not close, when I press the "Save" button?
Pressing "OK" and "cancel", the dialog closes normally!
Code: Select all
.
.
export MAIN_DIALOG='
<window title="Oberfläche geändert..">
<vbox>
<text><label>Achtung! Geänderte Oberfläche jetzt speichern?</label></text>
<hbox>
<button>
<label>save</label>
<action>cp /usr/local/variomen/data/iconsetup_TEMP '$1' &</action>
</button>
<button ok></button>
<button cancel></button>
</hbox>
</vbox>
</window>'
if [ "$vorlang" != "$templang" ]
then
gtkdialog --program=MAIN_DIALOG
unset MAIN_DIALOG
fi
exit 0
Wolfgang