Add title to description

git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/branches/gnustep_testplant_branch@40398 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
Marcian Lytwyn 2017-03-17 18:51:09 +00:00
parent 8d292d7f7d
commit a210a1367e

View file

@ -157,6 +157,13 @@ static Class imageClass;
return self;
}
- (NSString *)description
{
NSMutableString *description = AUTORELEASE([[super description] mutableCopy]);
[description appendFormat: @"Title: %@", [self title]];
return description;
}
- (void) _updateKeyEquivalent
{
// Update keyEquivalent based on any entries in NSUserKeyEquivalents in the defaults database