mirror of
https://github.com/gnustep/apps-projectcenter.git
synced 2025-02-19 01:51:09 +00:00
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:
parent
240173b8d4
commit
5249caa6a2
2 changed files with 10 additions and 0 deletions
|
@ -76,6 +76,8 @@
|
|||
|
||||
- (BOOL)setAppIconWithImageAtPath:(NSString *)path;
|
||||
|
||||
- (void)setAppClass:(id)sender;
|
||||
|
||||
@end
|
||||
|
||||
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue