gEDA-dev: Filechooser and component selector code
Patrick Bernaud
b-patrick at wanadoo.fr
Tue Oct 3 17:45:36 EDT 2006
Hi Peter and Ales,
Peter Clifton writes:
> [...]
> It is just a minor regression, but offering Discard Changes was recently
> added. Seems a shame to loose it.
Indeed. Sorry it has slipped out when I merged my changes.
However I do not really like adding the discard changes on the file
chooser. Below is a patch that adds a dialog asking user what they
really want to do with a dirty page.
It also provides a rewrite of the exit dialog: when there are dirty
pages and user want to close the window (or quit, it's almost the same
thing) it offers the possibility to close without saving, cancel or
select which page(s) to save before closing.
To me it makes things clearer for the user and more similar to other
applications.
The layout is a mix of the gedit dialog (especially for the multi
document display and selection) and GtkMessageDialog.
Also note that the patch provides useful new functions in x_window.c
to manipulate pages.
Regards,
Patrick
-------------- next part --------------
A non-text attachment was scrubbed...
Name: gschem-close_confirmation_dialog.patch
Type: application/octet-stream
Size: 60444 bytes
Desc: not available
Url : http://www.seul.org/pipermail/geda-dev/attachments/20061003/34f8fc2b/gschem-close_confirmation_dialog-0001.obj
More information about the geda-dev
mailing list