mirror of
https://github.com/gnustep/apps-projectcenter.git
synced 2025-02-20 18:32:17 +00:00
Remove commented out code.
This commit is contained in:
parent
9bd699c875
commit
130cc3c84c
1 changed files with 2 additions and 17 deletions
|
@ -58,28 +58,13 @@
|
||||||
{
|
{
|
||||||
if ([NSBundle loadNibNamed:@"Info" owner:self] == NO)
|
if ([NSBundle loadNibNamed:@"Info" owner:self] == NO)
|
||||||
{
|
{
|
||||||
// PCLogError(self, @"error loading Menu NIB file!");
|
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
[infoWindow center];
|
[infoWindow center];
|
||||||
[infoWindow makeKeyAndOrderFront:self];
|
[infoWindow makeKeyAndOrderFront:self];
|
||||||
[versionField setStringValue:[NSString stringWithFormat:@"Version %@", [infoDict objectForKey:@"ApplicationRelease"]]];
|
[versionField setStringValue:[NSString stringWithFormat:@"Version %@",
|
||||||
|
[infoDict objectForKey:@"ApplicationRelease"]]];
|
||||||
/*#if defined(GNUSTEP)
|
|
||||||
if (!infoWindow)
|
|
||||||
{
|
|
||||||
infoWindow = [[GSInfoPanel alloc] initWithDictionary:infoDict];
|
|
||||||
}
|
|
||||||
|
|
||||||
[infoWindow setTitle:@"Info"];
|
|
||||||
[infoWindow center];
|
|
||||||
[infoWindow makeKeyAndOrderFront:self];
|
|
||||||
#else
|
|
||||||
NSRunAlertPanel(@"Info",
|
|
||||||
@"OPENSTEP has no support for GSInfoPanel",
|
|
||||||
@"OK",nil,nil,nil);
|
|
||||||
#endif*/
|
|
||||||
}
|
}
|
||||||
|
|
||||||
@end
|
@end
|
||||||
|
|
Loading…
Reference in a new issue