]> git.tdb.fi Git - ext/subsurface.git/commitdiff
Show the "save changes" dialog before the main window is destroyed
authorDirk Hohndel <dirk@hohndel.org>
Wed, 21 Sep 2011 17:31:03 +0000 (10:31 -0700)
committerDirk Hohndel <dirk@hohndel.org>
Wed, 21 Sep 2011 18:29:13 +0000 (11:29 -0700)
By using the delete-event callback instead of the destroy callback we are
able to display our dialog (and the file-save dialog) while the program
window is still being displayed. Much nicer this way.

Signed-off-by: Dirk Hohndel <dirk@hohndel.org>

No differences found