mirror of
https://github.com/gnustep/apps-gorm.git
synced 2025-02-23 19:51:00 +00:00
Corrected problem with cell.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/apps/gorm/trunk@21942 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
ce7f46450a
commit
1bec36dab3
2 changed files with 7 additions and 3 deletions
|
@ -1,3 +1,7 @@
|
|||
2005-11-04 00:20 Gregory John Casamento <greg_casamento@yahoo.com>
|
||||
|
||||
* GormCore/GormCustomClassInspector.m: Corrected problem with cell.
|
||||
|
||||
2005-11-02 20:17 Gregory John Casamento <greg_casamento@yahoo.com>
|
||||
|
||||
* GormCore/GormFilePrefsManager.m: Updated version to 1.0.1
|
||||
|
|
|
@ -182,9 +182,9 @@
|
|||
|
||||
if(cellClass != [[object cell] class])
|
||||
{
|
||||
NSCell *newCell = [[cellClass alloc] init];
|
||||
id newCell = [[cellClass alloc] init];
|
||||
id cell = [object cell];
|
||||
BOOL drawsBackground = NO;
|
||||
id *cell = [object cell];
|
||||
|
||||
if([object respondsToSelector: @selector(drawsBackground)])
|
||||
{
|
||||
|
@ -270,7 +270,7 @@
|
|||
if([newCell respondsToSelector: @selector(setAlternateImage:)] &&
|
||||
[cell respondsToSelector: @selector(alternateImage)])
|
||||
{
|
||||
[newCell setAlternateTitle: [cell alternateImage]];
|
||||
[newCell setAlternateImage: [cell alternateImage]];
|
||||
}
|
||||
if([newCell respondsToSelector: @selector(setImage:)] &&
|
||||
[cell respondsToSelector: @selector(image)])
|
||||
|
|
Loading…
Reference in a new issue