* GormCore/GNUmakefile: Added GNUSTEP_INSTALLATION_DOMAIN

* GormCore/GormCustomView.m: Reverted previous change.  Need to
        write a GormCustomViewEditor instead to handle this case.
        * GormLib/GNUmakefile: Added GNUSTEP_INSTALLATION_DOMAIN


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/apps/gorm/trunk@26833 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
Gregory John Casamento 2008-09-06 20:12:47 +00:00
parent a7a6b897b0
commit 167ca6ab03
4 changed files with 25 additions and 4 deletions

View file

@ -1,11 +1,19 @@
2008-09-06 16:12-EDT Gregory John Casamento <greg_casamento@yahoo.com>
* GormCore/GNUmakefile: Added GNUSTEP_INSTALLATION_DOMAIN
* GormCore/GormCustomView.m: Reverted previous change. Need to
write a GormCustomViewEditor instead to handle this case.
* GormLib/GNUmakefile: Added GNUSTEP_INSTALLATION_DOMAIN
2008-09-04 08:00-EDT Gregory John Casamento <greg_casamento@yahoo.com>
* Gorm.m: Remove unhide: implementation. Correction for bug#24146.
2008-08-24 13:20-EDT Gregory John Casamento <greg_casamento@yahoo.com>
* GormCore/GormCustomView.m
* GormCore/GormDocument.m
* GormCore/GormCustomView.m: Code to return the best possible
superclass.
* GormCore/GormDocument.m: More info in the description method
* GormCore/GormViewWindow.m: Fixing handling of standalone views.
2008-07-20 09:32-EDT Gregory John Casamento <greg_casamento@yahoo.com>

View file

@ -24,8 +24,12 @@
# Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA
#
# Put in the system directory...
GNUSTEP_INSTALLATION_DOMAIN=SYSTEM
include $(GNUSTEP_MAKEFILES)/common.make
PACKAGE_NAME=GormCore
LIBRARY_VAR=GORMCORE
LIBRARY_NAME=GormCore

View file

@ -105,7 +105,7 @@
return cls;
}
- (BOOL) _classNameIsSet
- (BOOL) classNameIsSet
{
if([className isEqualToString: @"CustomView"] ||
[className isEqualToString: @""] || className == nil)
@ -115,6 +115,7 @@
return YES;
}
/*
- (Class) classForCoder
{
if([self _classNameIsSet])
@ -123,6 +124,7 @@
}
return [self class];
}
*/
/*
* This needs to be coded like a GSNibItem. How do we make sure this
@ -130,8 +132,10 @@
*/
- (void) encodeWithCoder: (NSCoder*)aCoder
{
if([self _classNameIsSet] && [self superview] != nil)
/*
if([self _classNameIsSet])
{
*/
if([aCoder allowsKeyedCoding])
{
GormClassManager *classManager = [(id<Gorm>)NSApp classManager];
@ -166,6 +170,7 @@
[aCoder encodeValueOfObjCType: @encode(unsigned int)
at: &_autoresizingMask];
}
/*
}
else
{
@ -176,6 +181,7 @@
[(NSArchiver *)aCoder replaceObject: self withObject: temp];
}
}
*/
}
- (id) initWithCoder: (NSCoder*)aCoder

View file

@ -8,6 +8,9 @@
# GNUmakefile.postamble
#
# Put in the system directory...
GNUSTEP_INSTALLATION_DOMAIN=SYSTEM
include $(GNUSTEP_MAKEFILES)/common.make