mirror of
https://github.com/gnustep/apps-projectcenter.git
synced 2025-02-19 01:51:09 +00:00
Little GUI modifications, done by Pierre-Yves Rivaille
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/apps/projectcenter/trunk@10315 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
24e18e6d01
commit
a465400cff
2 changed files with 6 additions and 3 deletions
|
@ -222,7 +222,8 @@
|
|||
*
|
||||
*/
|
||||
|
||||
if ([currentProject isKindOfClass:NSClassFromString(@"PCAppProject")]) {
|
||||
if ([currentProject isKindOfClass:NSClassFromString(@"PCAppProject")] ||
|
||||
[currentProject isKindOfClass:NSClassFromString(@"PCGormProject")]) {
|
||||
NSString *tname;
|
||||
|
||||
openPath = [NSString stringWithString:@"openapp"];
|
||||
|
|
|
@ -78,9 +78,11 @@
|
|||
NSUserDefaults *udef = [NSUserDefaults standardUserDefaults];
|
||||
NSString *editor = [udef objectForKey:Editor];
|
||||
|
||||
editorTask = [[[NSTask alloc] init] autorelease];
|
||||
[editorTask setLaunchPath:editor];
|
||||
args = [editor componentsSeparatedByString: @" "];
|
||||
|
||||
editorTask = [[[NSTask alloc] init] autorelease];
|
||||
[editorTask setLaunchPath:[args objectAtIndex: 0]];
|
||||
[args removeObjectAtIndex: 0];
|
||||
[args addObject:file];
|
||||
[editorTask setArguments:args];
|
||||
|
||||
|
|
Loading…
Reference in a new issue