mirror of
https://github.com/gnustep/apps-gorm.git
synced 2025-04-22 22:20:44 +00:00
* GormLib/IBResourceManager.m (+registerResourceManagerClass:):
Post an IBResourceManagerRegistryDidChangeNotification. git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/apps/gorm/trunk@24673 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
fdb080a601
commit
47698b6a4f
2 changed files with 11 additions and 1 deletions
|
@ -1,4 +1,9 @@
|
|||
2006-02-04 Matt Rice <ratmice@gmail.com>
|
||||
2007-02-21 Matt Rice <ratmice@gmail.com>
|
||||
|
||||
* GormLib/IBResourceManager.m (+registerResourceManagerClass:):
|
||||
Post an IBResourceManagerRegistryDidChangeNotification.
|
||||
|
||||
2007-02-04 Matt Rice <ratmice@gmail.com>
|
||||
|
||||
* GormCore/GormDocument.m (_real_close): New function.
|
||||
(handleNotification:): Move document closing code to _real_close.
|
||||
|
|
|
@ -80,6 +80,11 @@ static NSMapTable *_resourceManagers = NULL;
|
|||
+ (void) registerResourceManagerClass: (Class)managerClass
|
||||
{
|
||||
[self _addClass: managerClass];
|
||||
|
||||
// notify
|
||||
[[NSNotificationCenter defaultCenter]
|
||||
postNotificationName: IBResourceManagerRegistryDidChangeNotification
|
||||
object: managerClass];
|
||||
}
|
||||
|
||||
+ (void) registerResourceManagerClass: (Class)managerClass
|
||||
|
|
Loading…
Reference in a new issue