[Igarden-commit] Garden/source/Document CGardenForm.cp, 1.36.2.3, 1.36.2.4 ClientDocument.cp, 1.37.
Status: Beta
Brought to you by:
jlbedell
|
From: Jeffrey B. <jlb...@us...> - 2007-01-12 02:28:44
|
Update of /cvsroot/igarden/Garden/source/Document In directory sc8-pr-cvs2.sourceforge.net:/tmp/cvs-serv26968 Modified Files: Tag: Release_branch_v1 CGardenForm.cp ClientDocument.cp ClientDocument.h Log Message: Mark just opened document as "unmodified" Index: ClientDocument.cp =================================================================== RCS file: /cvsroot/igarden/Garden/source/Document/ClientDocument.cp,v retrieving revision 1.37.2.6 retrieving revision 1.37.2.7 diff -C2 -d -r1.37.2.6 -r1.37.2.7 *** ClientDocument.cp 5 Jan 2007 04:19:09 -0000 1.37.2.6 --- ClientDocument.cp 12 Jan 2007 02:28:42 -0000 1.37.2.7 *************** *** 776,779 **** --- 776,788 ---- // --------------------------------------------------------------------------- + /// ClearModified + // + void ClientDocument::ClearModified() + { + DocumentSaved(); + } + + + // --------------------------------------------------------------------------- /// UsesSpecifier /// Is this the file described by the XGFileSpecifier. Index: ClientDocument.h =================================================================== RCS file: /cvsroot/igarden/Garden/source/Document/ClientDocument.h,v retrieving revision 1.18.2.2 retrieving revision 1.18.2.3 diff -C2 -d -r1.18.2.2 -r1.18.2.3 *** ClientDocument.h 12 Dec 2006 01:15:41 -0000 1.18.2.2 --- ClientDocument.h 12 Jan 2007 02:28:42 -0000 1.18.2.3 *************** *** 82,85 **** --- 82,86 ---- c4_Storage* GetDatabase(); void SetModified(); + void ClearModified(); bool UsesSpecifier(XGFileSpecifier& spec); DocumentTags* GetPrefsDB(); Index: CGardenForm.cp =================================================================== RCS file: /cvsroot/igarden/Garden/source/Document/CGardenForm.cp,v retrieving revision 1.36.2.3 retrieving revision 1.36.2.4 diff -C2 -d -r1.36.2.3 -r1.36.2.4 *** CGardenForm.cp 19 Dec 2006 12:56:01 -0000 1.36.2.3 --- CGardenForm.cp 12 Jan 2007 02:28:42 -0000 1.36.2.4 *************** *** 969,972 **** --- 969,974 ---- } + doc->_file->ClearModified(); // Mark as unchanged by the user + #if 0 status = ProfilerDump("\pProfileOut.txt"); |