mirror of
https://github.com/gnustep/apps-gorm.git
synced 2025-04-22 22:20:44 +00:00
* 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:
parent
901327122b
commit
87a0e31e32
2 changed files with 11 additions and 0 deletions
|
@ -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.
|
||||
|
|
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue