* GormCore/GormDocument.m: In

[GormDocument loadFileWrapperRepresentation:ofType:] call
	updateChangeCount: to clear changes so that the document
	doesn't show as modified on load.	


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/apps/gorm/trunk@30483 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
Gregory John Casamento 2010-05-30 07:00:29 +00:00
parent 901327122b
commit 87a0e31e32
2 changed files with 11 additions and 0 deletions

View file

@ -1,3 +1,10 @@
2010-05-30 03:07-EDT Gregory John Casamento <greg.casamento@gmail.com>
* GormCore/GormDocument.m: In
[GormDocument loadFileWrapperRepresentation:ofType:] call
updateChangeCount: to clear changes so that the document
doesn't show as modified on load.
2010-05-30 03:02-EDT Gregory John Casamento <greg.casamento@gmail.com>
* GNUmakefile: Added Xib.plugin to resources.

View file

@ -3338,6 +3338,10 @@ static void _real_close(GormDocument *self,
[[NSNotificationCenter defaultCenter]
postNotificationName: IBDidOpenDocumentNotification
object: self];
// make sure that the newly loaded document does not
// mark itself as modified.
[self updateChangeCount: NSChangeCleared];
}
return result;