mirror of
https://github.com/gnustep/libs-gui.git
synced 2025-05-31 19:50:48 +00:00
* Source/GSNibCompatibility.m: Conditionally call setToolTip if it
exists when doing establishConnection on an NSIBHelpConnector. * Source/NSDocumentController.m: Correction to prevent exception when NSDocumentClass isn't specified. This does not cause an issue on Mac OS X. git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@27031 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
c0cbcfdd41
commit
09d4ded47d
3 changed files with 23 additions and 3 deletions
|
@ -1,3 +1,11 @@
|
||||||
|
2008-11-12 05:31-EST Gregory John Casamento <greg_casamento@yahoo.com>
|
||||||
|
|
||||||
|
* Source/GSNibCompatibility.m: Conditionally call setToolTip if it
|
||||||
|
exists when doing establishConnection on an NSIBHelpConnector.
|
||||||
|
* Source/NSDocumentController.m: Correction to prevent exception when
|
||||||
|
NSDocumentClass isn't specified. This does not cause an issue on
|
||||||
|
Mac OS X.
|
||||||
|
|
||||||
2008-11-11 Fred Kiefer <FredKiefer@gmx.de>
|
2008-11-11 Fred Kiefer <FredKiefer@gmx.de>
|
||||||
|
|
||||||
* Source/NSView.m (-setBoundsOrigin:, -setBoundsRotation:,
|
* Source/NSView.m (-setBoundsOrigin:, -setBoundsRotation:,
|
||||||
|
|
|
@ -1566,7 +1566,10 @@ static BOOL _isInInterfaceBuilder = NO;
|
||||||
|
|
||||||
- (void) establishConnection
|
- (void) establishConnection
|
||||||
{
|
{
|
||||||
[_dst setToolTip: _marker];
|
if([_dst respondsToSelector: @selector(setToolTip:)])
|
||||||
|
{
|
||||||
|
[_dst setToolTip: _marker];
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
- (void) setFile: (id)file
|
- (void) setFile: (id)file
|
||||||
|
|
|
@ -1024,8 +1024,17 @@ static NSDictionary *TypeInfoForHumanReadableName (NSArray *types, NSString *typ
|
||||||
for (i = 0; i < count; i++)
|
for (i = 0; i < count; i++)
|
||||||
{
|
{
|
||||||
NSDictionary *typeInfo = [_types objectAtIndex: i];
|
NSDictionary *typeInfo = [_types objectAtIndex: i];
|
||||||
|
NSString *className = [typeInfo objectForKey: NSDocumentClassKey];
|
||||||
[classNames addObject: [typeInfo objectForKey: NSDocumentClassKey]];
|
|
||||||
|
if(className != nil)
|
||||||
|
{
|
||||||
|
[classNames addObject: className];
|
||||||
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
NSLog(@"WARN: The entry does not have an NSDocumentClass name defined: %@",
|
||||||
|
typeInfo);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
return AUTORELEASE(classNames);
|
return AUTORELEASE(classNames);
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue