mirror of
https://github.com/gnustep/libs-gui.git
synced 2025-04-23 15:11:37 +00:00
* Source/GSThemeDrawing.m: Changes per discussion with Fred.
Added check to make sure the image is not overriden. git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@35705 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
f248bc9988
commit
8ca0f08715
2 changed files with 11 additions and 2 deletions
|
@ -1,3 +1,8 @@
|
|||
2012-10-17 08:15-EDT Gregory John Casamento <greg.casamento@gmail.com>
|
||||
|
||||
* Source/GSThemeDrawing.m: Changes per discussion with Fred.
|
||||
Added check to make sure the image is not overriden.
|
||||
|
||||
2012-10-16 17:22-EDT Gregory John Casamento <greg.casamento@gmail.com>
|
||||
|
||||
* Headers/Additions/GNUstepGUI/GSTheme.h: Add declaration
|
||||
|
|
|
@ -90,8 +90,12 @@
|
|||
else if([key isEqualToString:@"\r"] == NO &&
|
||||
[key isEqualToString:@"\n"] == NO)
|
||||
{
|
||||
[cell setImage: nil];
|
||||
[cell setAlternateImage: nil];
|
||||
NSImage *cellImage = [cell image];
|
||||
if(cellImage == [NSImage imageNamed:@"common_ret"])
|
||||
{
|
||||
[cell setImage: nil];
|
||||
[cell setAlternateImage: nil];
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue