somehow the makefile was not being written...?!

git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/apps/projectcenter/trunk@8489 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
Robert Slover 2001-01-07 11:36:03 +00:00
parent cec4656e0f
commit f7b4c54b34

View file

@ -216,10 +216,27 @@
- (void)updateValuesFromProjectDict
{
NSRect frame = {{0,0}, {64, 64}};
NSImage *image;
NSString *path = nil;
NSString *_icon;
[super updateValuesFromProjectDict];
[appClassField setStringValue:[projectDict objectForKey:PCAppClass]];
[appImageField setStringValue:[projectDict objectForKey:PCAppIcon]];
if ((_icon = [projectDict objectForKey:PCAppIcon])) {
path = [projectPath stringByAppendingPathComponent:_icon];
}
if (path && (image = [[NSImage alloc] initWithContentsOfFile:path])) {
frame.size = [image size];
[appIconView setFrame:frame];
[appIconView setImage:image];
[appIconView display];
RELEASE(image);
}
}
- (void)clearAppIcon:(id)sender
@ -273,6 +290,8 @@
[appIconView display];
RELEASE(image);
[self writeMakefile];
return YES;
}