On Sun, 2008-04-13 at 10:43 -0500, John Griessen wrote: > Peter Clifton wrote: > > On Sun, 2008-04-13 at 15:38 +0100, Peter Clifton wrote: > > > >> I added an implementation for the GTK HID, > > It's nice. Thanks for thinking up these slick looking GUI details > that help get more people to use gEDA tools!
Patrick Bernard implemented them for gschem (matching "standard" GTK / Gnome app looks), I copied it for PCB. > In the form you have made, one could add two more option that would be helpful > since a quick tab tab enter can choose different options.... > > default option is good, same as with no popup > close-without-save. > > I'd use options like this in this order via tab key and enter keys: > > close-without-save, save-as, save, cancel I just used the "standard" GTK / Gnome app buttons for this dialog, so there is no save-as. > and one more thing -- this and all popups should be easy to reprogram or > leave off > by having a pcb-menu.res entry controlling it. > (I think you already have that by being a HID change, but not sure...) No, it doesn't use the resource file for its definition. Its an interesting point though, we could (I guess) make the actions of the buttons dependant on resource strings. Thinking about it further, if our "confirm_dialog" were a more generic "dialog_with_buttons", we could have still implemented the right message, look and feel for this dialog - it might just take a lot of options defining to describe _all_ the GTK look and feel, stock items and icons etc.. > and yet one more possible refinement is to have one of those check boxes > that quickly makes a change to your pcb-menu.res definition > ( ) Do not show me this dialog in the future. That is interesting, but for my personal taste, I'd not put it on the "unsaved changes" dialog... I have been bitten too many times (by PCB), when the "destroy" action of the window manager would close without prompting. Best wishes, -- Peter Clifton Electrical Engineering Division, Engineering Department, University of Cambridge, 9, JJ Thomson Avenue, Cambridge CB3 0FA Tel: +44 (0)7729 980173 - (No signal in the lab!) _______________________________________________ geda-dev mailing list [email protected] http://www.seul.org/cgi-bin/mailman/listinfo/geda-dev
