Replace the key equivalent when it was set wrongly by Gorm.

Patch by Wolfgang Lux  <wolfgang.lux@gmail.com>.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@27579 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
Fred Kiefer 2009-01-12 14:02:05 +00:00
parent dfa6ca0301
commit 5ea2410eb2
2 changed files with 13 additions and 0 deletions

View file

@ -1,3 +1,9 @@
2009-01-12 Fred Kiefer <FredKiefer@gmx.de>
* Source/NSButtonCell.m (-initWithCoder:): Replace the key
equivalent when it was set wrongly by Gorm.
Patch by Wolfgang Lux <wolfgang.lux@gmail.com>.
2009-01-11 20:49-EST Gregory John Casamento <greg_casamento@yahoo.com>
* Source/GSNibLoading.m: Reorganization and simplification of

View file

@ -1764,6 +1764,13 @@ typedef struct _GSButtonCellFlags
_shows_border_only_while_mouse_inside = tmp;
}
}
// Hack to correct a Gorm problem, there "\n" is used instead of "\r".
if ([_keyEquivalent isEqualToString: @"\n" ])
{
[self setKeyEquivalent: @"\r"];
}
return self;
}