mirror of
https://github.com/gnustep/apps-gorm.git
synced 2025-02-24 03:51:22 +00:00
Removed uneeded type.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/apps/gorm/trunk@21493 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
61fb2596fc
commit
59330879dd
2 changed files with 7 additions and 17 deletions
|
@ -1,3 +1,9 @@
|
||||||
|
2005-07-17 08:42 Gregory John Casamento <greg_casamento@yahoo.com>
|
||||||
|
|
||||||
|
* GormCore/GormInternalViewEditor.m: -init, prepareForDragOperation:,
|
||||||
|
performDragOperation: removed uneeded IBFormatterPboardType from
|
||||||
|
the list.
|
||||||
|
|
||||||
2005-07-16 23:34 Gregory John Casamento <greg_casamento@yahoo.com>
|
2005-07-16 23:34 Gregory John Casamento <greg_casamento@yahoo.com>
|
||||||
|
|
||||||
* GormCore/GormClassInspector.m: -_refreshView removed
|
* GormCore/GormClassInspector.m: -_refreshView removed
|
||||||
|
|
|
@ -229,12 +229,6 @@ static NSImage *horizontalImage;
|
||||||
[NSMutableArray arrayWithObjects: IBViewPboardType,
|
[NSMutableArray arrayWithObjects: IBViewPboardType,
|
||||||
GormLinkPboardType, nil];
|
GormLinkPboardType, nil];
|
||||||
|
|
||||||
// if the object can take a formatter, add it to the list.
|
|
||||||
if([anObject respondsToSelector: @selector(setFormatter:)])
|
|
||||||
{
|
|
||||||
[types addObject: IBFormatterPboardType];
|
|
||||||
}
|
|
||||||
|
|
||||||
opened = NO;
|
opened = NO;
|
||||||
openedSubeditor = nil;
|
openedSubeditor = nil;
|
||||||
|
|
||||||
|
@ -243,9 +237,7 @@ static NSImage *horizontalImage;
|
||||||
return nil;
|
return nil;
|
||||||
|
|
||||||
selection = [[NSMutableArray alloc] initWithCapacity: 5];
|
selection = [[NSMutableArray alloc] initWithCapacity: 5];
|
||||||
|
[self registerForDraggedTypes: types];
|
||||||
[self registerForDraggedTypes: [NSArray arrayWithObjects:
|
|
||||||
IBViewPboardType, GormLinkPboardType, IBFormatterPboardType, nil]];
|
|
||||||
|
|
||||||
if (horizontalImage == nil)
|
if (horizontalImage == nil)
|
||||||
{
|
{
|
||||||
|
@ -792,10 +784,6 @@ static NSImage *horizontalImage;
|
||||||
dragType = GormLinkPboardType;
|
dragType = GormLinkPboardType;
|
||||||
return [parent prepareForDragOperation: sender];
|
return [parent prepareForDragOperation: sender];
|
||||||
}
|
}
|
||||||
else if ([types containsObject: IBFormatterPboardType] == YES)
|
|
||||||
{
|
|
||||||
dragType = IBFormatterPboardType;
|
|
||||||
}
|
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
dragType = nil;
|
dragType = nil;
|
||||||
|
@ -838,10 +826,6 @@ static NSImage *horizontalImage;
|
||||||
{
|
{
|
||||||
dragType = GormLinkPboardType;
|
dragType = GormLinkPboardType;
|
||||||
}
|
}
|
||||||
else if ([types containsObject: IBFormatterPboardType] == YES)
|
|
||||||
{
|
|
||||||
dragType = IBFormatterPboardType;
|
|
||||||
}
|
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
dragType = nil;
|
dragType = nil;
|
||||||
|
|
Loading…
Reference in a new issue