1
0
Fork 0

Less comments

master
Matthieu Lalonde 14 years ago
parent 2e6814e6d2
commit 6cb30875f3

@ -522,13 +522,9 @@
wanStatus = [wanStatus substringToIndex:[wanStatus rangeOfString:@"&"].location]; wanStatus = [wanStatus substringToIndex:[wanStatus rangeOfString:@"&"].location];
[menuWanStatus setTitle:[NSString stringWithFormat:@"%@ %@", wanName, wanStatus]]; [menuWanStatus setTitle:[NSString stringWithFormat:@"%@ %@", wanName, wanStatus]];
//if ([_appMenu image] != nil) {
// [self showMenubarIcon:[wanStatus isEqualToString:@"Connected"]];
//}
NSString *wanUptime = [wrt_request_client getKey:_statusStringData key:@"wan_uptime"]; NSString *wanUptime = [wrt_request_client getKey:_statusStringData key:@"wan_uptime"];
if ([wanStatus isEqualToString:@"Connected"] == true) { if ([wanStatus isEqualToString:@"Connected"] == true) {
[menuWanUptime setTitle:wanUptime]; [menuWanUptime setTitle:[NSString stringWithFormat:@"Up %@", wanUptime]];
[menuWanUptime setHidden:false]; [menuWanUptime setHidden:false];
[menuWanSeparator setHidden:false]; [menuWanSeparator setHidden:false];
[menuWanBandwidthGraph setEnabled:true]; [menuWanBandwidthGraph setEnabled:true];

Loading…
Cancel
Save