mirror of
https://github.com/gnustep/apps-gorm.git
synced 2025-02-23 11:41:05 +00:00
* Palettes/0Menus/GormMenuEditor.m (-mouseDown:): Call
startConnecting. * GormCore/GormViewEditor.m (-startConnectingObject:withEvent:): Ditto. * GormCore/GormObjectEditor.m (-mouseDown:): Ditto. * GormCore/GormDocument.m (changeToViewWithTag:): Don't change the selection if connecting. * GormCore/GormResourceManager.m: Revert previous commit. * Gorm.m (-startConnecting:): Remove checks for a nil connectDestination. git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/apps/gorm/trunk@24178 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
6826102d00
commit
4a03adccea
7 changed files with 21 additions and 10 deletions
12
ChangeLog
12
ChangeLog
|
@ -1,3 +1,15 @@
|
|||
2006-12-02 Matt Rice <ratmice@gmail.com>
|
||||
|
||||
* Palettes/0Menus/GormMenuEditor.m (-mouseDown:): Call
|
||||
startConnecting.
|
||||
* GormCore/GormViewEditor.m (-startConnectingObject:withEvent:): Ditto.
|
||||
* GormCore/GormObjectEditor.m (-mouseDown:): Ditto.
|
||||
* GormCore/GormDocument.m (changeToViewWithTag:): Don't change the
|
||||
selection if connecting.
|
||||
* GormCore/GormResourceManager.m: Revert previous commit.
|
||||
* Gorm.m (-startConnecting:): Remove checks for a nil
|
||||
connectDestination.
|
||||
|
||||
2006-11-27 Matt Rice <ratmice@gmail.com>
|
||||
|
||||
* GormCore/GormResourceManager.m: Temporarily comment out some code.
|
||||
|
|
5
Gorm.m
5
Gorm.m
|
@ -993,11 +993,12 @@
|
|||
{
|
||||
return;
|
||||
}
|
||||
if (connectDestination == nil || connectSource == nil)
|
||||
if (connectSource == nil)
|
||||
{
|
||||
return;
|
||||
}
|
||||
if ([[self activeDocument] containsObject: connectDestination] == NO)
|
||||
if (connectDestination
|
||||
&& [[self activeDocument] containsObject: connectDestination] == NO)
|
||||
{
|
||||
NSLog(@"Oops - connectDestination not in active document");
|
||||
return;
|
||||
|
|
|
@ -885,7 +885,8 @@ static NSImage *fileImage = nil;
|
|||
{
|
||||
[selectionBox setContentView: scrollView];
|
||||
[toolbar setSelectedItemIdentifier: @"ObjectsItem"];
|
||||
[self setSelectionFromEditor: objectsView];
|
||||
if (![NSApp isConnecting])
|
||||
[self setSelectionFromEditor: objectsView];
|
||||
}
|
||||
break;
|
||||
case 1: // images
|
||||
|
|
|
@ -418,6 +418,7 @@ static NSMapTable *docMap = 0;
|
|||
owner: self];
|
||||
[pb setString: name forType: GormLinkPboardType];
|
||||
[NSApp displayConnectionBetween: obj and: nil];
|
||||
[NSApp startConnecting];
|
||||
|
||||
[self dragImage: [NSApp linkImage]
|
||||
at: loc
|
||||
|
|
|
@ -81,13 +81,7 @@
|
|||
}
|
||||
else if ([type isEqual:GormLinkPboardType])
|
||||
{
|
||||
/* FIXME
|
||||
* temporarily comment this out
|
||||
* changeToViewWithTag: calls
|
||||
* setSelectionFromEditor: calls
|
||||
* -stopConnecting which gets rid of the connect source
|
||||
*/
|
||||
//[(GormDocument *)document changeToViewWithTag:0];
|
||||
[(GormDocument *)document changeToViewWithTag:0];
|
||||
return NO;
|
||||
}
|
||||
}
|
||||
|
|
|
@ -1185,6 +1185,7 @@ static BOOL currently_displaying = NO;
|
|||
owner: self];
|
||||
[pb setString: name forType: GormLinkPboardType];
|
||||
[NSApp displayConnectionBetween: anObject and: nil];
|
||||
[NSApp startConnecting];
|
||||
|
||||
[self dragImage: [NSApp linkImage]
|
||||
at: dragPoint
|
||||
|
|
|
@ -200,6 +200,7 @@
|
|||
owner: self];
|
||||
[pb setString: name forType: GormLinkPboardType];
|
||||
[NSApp displayConnectionBetween: item and: nil];
|
||||
[NSApp startConnecting];
|
||||
|
||||
isLinkSource = YES;
|
||||
[self dragImage: [NSApp linkImage]
|
||||
|
|
Loading…
Reference in a new issue