mirror of
https://github.com/gnustep/apps-projectcenter.git
synced 2025-03-13 06:02:46 +00:00
Fixed bug #11779
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/apps/projectcenter/trunk@21293 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
ab6698ec55
commit
cf1b68f0e7
6 changed files with 33 additions and 3 deletions
9
.cvsignore
Normal file
9
.cvsignore
Normal file
|
@ -0,0 +1,9 @@
|
|||
.gwdir
|
||||
*.swp
|
||||
*~
|
||||
*.app
|
||||
*.bundle
|
||||
*.framework
|
||||
*obj
|
||||
derived_src
|
||||
ProjectCenter
|
|
@ -1,3 +1,9 @@
|
|||
2005-06-07 Serg Stoyan <stoyan255@ukr.net>
|
||||
|
||||
* Library/PCProjectEditor.m:
|
||||
(orderFrontEditorForFile:): Always show editor subview
|
||||
(Fixed bug#11779).
|
||||
|
||||
2005-02-12 Pascal Hoftsee <caelian@gmail.com>
|
||||
Committed by Gregory Jonh Casamento <greg_casamento@yahoo.com>
|
||||
|
||||
|
|
|
@ -255,8 +255,8 @@ NSString *PCEditorDidResignActiveNotification =
|
|||
editor = [[PCEditor alloc] initWithPath:path
|
||||
categoryPath:categoryPath
|
||||
projectEditor:self];
|
||||
[componentView setContentView:[editor componentView]];
|
||||
[[project projectWindow] makeFirstResponder:[editor editorView]];
|
||||
// [componentView setContentView:[editor componentView]];
|
||||
// [[project projectWindow] makeFirstResponder:[editor editorView]];
|
||||
|
||||
[editorsDict setObject:editor forKey:path];
|
||||
RELEASE(editor);
|
||||
|
@ -280,6 +280,7 @@ NSString *PCEditorDidResignActiveNotification =
|
|||
else
|
||||
{
|
||||
[componentView setContentView:[editor componentView]];
|
||||
[[project projectWindow] setCustomContentView:componentView];
|
||||
[[project projectWindow] makeFirstResponder:[editor editorView]];
|
||||
}
|
||||
}
|
||||
|
|
|
@ -42,6 +42,7 @@
|
|||
NSBox *toolbarView;
|
||||
PCButton *buildButton;
|
||||
PCButton *launchButton;
|
||||
PCButton *editorButton;
|
||||
PCButton *loadedFilesButton;
|
||||
PCButton *findButton;
|
||||
PCButton *inspectorButton;
|
||||
|
|
|
@ -131,6 +131,18 @@
|
|||
{
|
||||
[launchButton setEnabled:NO];
|
||||
}
|
||||
|
||||
/* editorButton = [[PCButton alloc] initWithFrame:NSMakeRect(88,5,43,43)];
|
||||
[editorButton setRefusesFirstResponder:YES];
|
||||
[editorButton setToolTip:@"Editor"];
|
||||
[editorButton setTitle:@"Editor"];
|
||||
[editorButton setImage:IMAGE(@"Stop")];
|
||||
[editorButton setTarget:self];
|
||||
[editorButton setAction:@selector(showProjectEditor:)];
|
||||
[editorButton setAutoresizingMask:(NSViewMaxXMargin | NSViewMinYMargin)];
|
||||
[editorButton setButtonType:NSMomentaryPushButton];
|
||||
[toolbarView addSubview:editorButton];
|
||||
RELEASE (editorButton);*/
|
||||
|
||||
loadedFilesButton = [[PCButton alloc] initWithFrame:NSMakeRect(88,5,43,43)];
|
||||
[loadedFilesButton setRefusesFirstResponder:YES];
|
||||
|
@ -901,6 +913,7 @@
|
|||
- (BOOL)makeFirstResponder:(NSResponder *)aResponder
|
||||
{
|
||||
firstResponder = aResponder;
|
||||
|
||||
[projectWindow makeFirstResponder:firstResponder];
|
||||
|
||||
return YES;
|
||||
|
|
|
@ -3,7 +3,7 @@
|
|||
ApplicationName = "ProjectCenter";
|
||||
ApplicationDescription = "GNUstep Integrated Development Environment";
|
||||
ApplicationIcon = "ProjectCenter.tiff";
|
||||
ApplicationRelease = "0.4.1";
|
||||
ApplicationRelease = "0.4.3";
|
||||
FullVersionID = "HEAD";
|
||||
Authors = (
|
||||
"Philippe C.D. Robert",
|
||||
|
|
Loading…
Reference in a new issue