Hi Thunorthunor wrote:Hi rerwin
Gtkdialog can exit in two ways and one of those used to be dodgy but there was a workaround which was commonly used and it is this:ThunorCode: Select all
... <action signal="hide">exit:EXIT-WM</action> </window>
I am trying to test this for rerwin as I've got the right hardware setup (but not the developer skills)........
Grateful if you could confirm:
1. is the patch you've given a REPLACEMENT for the existing exit statement (<action type="exit">Exit-NOW</action>) or an ADDITIONAL statement immediately before </window>?
2. is the case of exit: significant - the later test in the script tests $EXIT
3. the patch given gives a syntax error - I'm guessing it should be:
<action signal="hide">exit:EXIT-WM</action> ??
I've tried both the replacement approach (this just makes the script exit early without functioning) and the additional line approach (doesn't seem to have any effect).....
I have determined that the exit button is not the one described above by rerwin but the earlier one in the same main-dialog script.
Cheers
peebee