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:
Gregory John Casamento 2005-07-17 12:40:06 +00:00
parent 61fb2596fc
commit 59330879dd
2 changed files with 7 additions and 17 deletions

View file

@ -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>
* GormCore/GormClassInspector.m: -_refreshView removed

View file

@ -229,12 +229,6 @@ static NSImage *horizontalImage;
[NSMutableArray arrayWithObjects: IBViewPboardType,
GormLinkPboardType, nil];
// if the object can take a formatter, add it to the list.
if([anObject respondsToSelector: @selector(setFormatter:)])
{
[types addObject: IBFormatterPboardType];
}
opened = NO;
openedSubeditor = nil;
@ -243,9 +237,7 @@ static NSImage *horizontalImage;
return nil;
selection = [[NSMutableArray alloc] initWithCapacity: 5];
[self registerForDraggedTypes: [NSArray arrayWithObjects:
IBViewPboardType, GormLinkPboardType, IBFormatterPboardType, nil]];
[self registerForDraggedTypes: types];
if (horizontalImage == nil)
{
@ -792,10 +784,6 @@ static NSImage *horizontalImage;
dragType = GormLinkPboardType;
return [parent prepareForDragOperation: sender];
}
else if ([types containsObject: IBFormatterPboardType] == YES)
{
dragType = IBFormatterPboardType;
}
else
{
dragType = nil;
@ -838,10 +826,6 @@ static NSImage *horizontalImage;
{
dragType = GormLinkPboardType;
}
else if ([types containsObject: IBFormatterPboardType] == YES)
{
dragType = IBFormatterPboardType;
}
else
{
dragType = nil;