From: Peter C. <pet...@us...> - 2008-04-13 14:15:33
|
Module Name: pcb Committed By: petercjclifton Date: Sun Apr 13 14:15:37 UTC 2008 Modified Files: pcb/src: action.c command.c hid.h Log Message: Add HID hook, close_confirm_dialog() for closing modified layouts. This allows GUI HIDs to present a more native looking "save before closing" dialog. The HID is responsible for any save which the user requests and the subsequent return codes from the HID are as before, 0 for cancel and 1 for close. This checkin also fixes the GTK HID's Save() action to return 1 for cancel if the user cancels from the "Save As" dialog. To generate a diff of this commit: cvs rdiff -r1.126 -r1.127 pcb/src/action.c cvs rdiff -r1.19 -r1.20 pcb/src/command.c cvs rdiff -r1.21 -r1.22 pcb/src/hid.h To view the diffs online visit: http://pcb.cvs.sourceforge.net/pcb/pcb/src/action.c?r1=1.126&r2=1.127 http://pcb.cvs.sourceforge.net/pcb/pcb/src/command.c?r1=1.19&r2=1.20 http://pcb.cvs.sourceforge.net/pcb/pcb/src/hid.h?r1=1.21&r2=1.22 Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files. |