teh application class can now be set - althoug still ignored by the makefile

git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/apps/projectcenter/trunk@8593 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
Robert Slover 2001-01-14 15:07:55 +00:00
parent 240173b8d4
commit 5249caa6a2
2 changed files with 10 additions and 0 deletions

View file

@ -76,6 +76,8 @@
- (BOOL)setAppIconWithImageAtPath:(NSString *)path;
- (void)setAppClass:(id)sender;
@end

View file

@ -66,6 +66,8 @@
[appClassField setBezeled: YES];
[appClassField setDrawsBackground: YES];
[appClassField setStringValue:@""];
[appClassField setTarget:self];
[appClassField setAction:@selector(setAppClass:)];
[projectProjectInspectorView addSubview:appClassField];
textField =[[NSTextField alloc] initWithFrame:NSMakeRect(16,204,64,21)];
@ -298,4 +300,10 @@
return YES;
}
- (void)setAppClass:(id)sender
{
[projectDict setObject:[appClassField stringValue] forKey:PCAppClass];
[self writeMakefile];
}
@end