| Line 127... |
Line 127... |
| 127 |
int port = [[RController sharedController] helpServerPort];
|
127 |
int port = [[RController sharedController] helpServerPort];
|
| 128 |
if (port == 0) {
|
128 |
if (port == 0) {
|
| 129 |
NSRunInformationalAlertPanel(NLS(@"Cannot start HTML help server."), NLS(@"Help"), NLS(@"Ok"), nil, nil);
|
129 |
NSRunInformationalAlertPanel(NLS(@"Cannot start HTML help server."), NLS(@"Help"), NLS(@"Ok"), nil, nil);
|
| 130 |
return;
|
130 |
return;
|
| 131 |
}
|
131 |
}
|
| 132 |
urlText = [NSString stringWithFormat:@"http://127.0.0.1:%d/library/%@/html/00Index.html", port, package[row].name];
|
132 |
urlText = [NSString stringWithFormat:@"http://localhost:%d/library/%@/html/00Index.html", port, package[row].name];
|
| 133 |
SLog(@"PackageManager.showInfo: URL=%@", urlText);
|
133 |
SLog(@"PackageManager.showInfo: URL=%@", urlText);
|
| 134 |
[[PackageInfoView mainFrame] loadRequest:[NSURLRequest requestWithURL:[NSURL URLWithString:urlText]]];
|
134 |
[[PackageInfoView mainFrame] loadRequest:[NSURLRequest requestWithURL:[NSURL URLWithString:urlText]]];
|
| 135 |
}
|
135 |
}
|
| 136 |
|
136 |
|
| 137 |
- (id) window
|
137 |
- (id) window
|