mirror of
https://github.com/gnustep/libs-gui.git
synced 2025-05-30 16:10:37 +00:00
* Source/NSButtonCell.m: Correct issues when decoding a .gorm
file with key equivalent. Make sure that the image is properly set. git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@35717 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
89deb27503
commit
02de53bc18
2 changed files with 11 additions and 2 deletions
|
@ -1,3 +1,9 @@
|
|||
2012-10-18 23:19-EDT Gregory John Casamento <greg.casamento@gmail.com>
|
||||
|
||||
* Source/NSButtonCell.m: Correct issues when decoding a .gorm
|
||||
file with key equivalent. Make sure that the image is properly
|
||||
set.
|
||||
|
||||
2012-10-17 08:15-EDT Gregory John Casamento <greg.casamento@gmail.com>
|
||||
|
||||
* Source/GSThemeDrawing.m: Changes per discussion with Fred.
|
||||
|
|
|
@ -1916,8 +1916,11 @@ typedef struct _GSButtonCellFlags
|
|||
{
|
||||
BOOL tmp;
|
||||
int version = [aDecoder versionForClassName: @"NSButtonCell"];
|
||||
|
||||
[aDecoder decodeValueOfObjCType: @encode(id) at: &_keyEquivalent];
|
||||
NSString *key = nil;
|
||||
|
||||
[aDecoder decodeValueOfObjCType: @encode(id) at: &key];
|
||||
[self setKeyEquivalent: key]; // Set the key equivalent...
|
||||
|
||||
[aDecoder decodeValueOfObjCType: @encode(id) at: &_keyEquivalentFont];
|
||||
[aDecoder decodeValueOfObjCType: @encode(id) at: &_altContents];
|
||||
[aDecoder decodeValueOfObjCType: @encode(id) at: &_altImage];
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue