mirror of
https://github.com/gnustep/apps-projectcenter.git
synced 2025-02-19 01:51:09 +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)
|
||||
{
|
||||
// PCLogError(self, @"error loading Menu NIB file!");
|
||||
return;
|
||||
}
|
||||
|
||||
[infoWindow center];
|
||||
[infoWindow makeKeyAndOrderFront:self];
|
||||
[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*/
|
||||
[versionField setStringValue:[NSString stringWithFormat:@"Version %@",
|
||||
[infoDict objectForKey:@"ApplicationRelease"]]];
|
||||
}
|
||||
|
||||
@end
|
||||
|
|
Loading…
Reference in a new issue