Sunday, 13 April 2008

PCB Close confirmation dialog

Work has been keeping me very busy recently, so I haven't had much chance to write gEDA or PCB code. I am using both for a my work though, so I am finding ideas for various improvements.

One small thing which took my fancy this morning was PCB's "OK to lose data ?" prompt when you accidentally forget to save before closing your layout.

It had to go, and now the GTK HID of PCB sports a dialog which looks very much like gschem's.

Obligatory screenshot:

I've hooked this in such a way that it should be relatively trivial to add the same kind of dialog to the Lesstif HID, but I'll leave that as an excercise for the reader.