[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: gEDA-dev: Filechooser and component selector code



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

gschem-close_confirmation_dialog.patch



_______________________________________________
geda-dev mailing list
geda-dev@moria.seul.org
http://www.seul.org/cgi-bin/mailman/listinfo/geda-dev