Changeset 222 for trunk/Cocoa/F-Script Anywhere/Source/FSAAppList.m
- Timestamp:
- 05/16/06 18:44:19 (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Cocoa/F-Script Anywhere/Source/FSAAppList.m
r221 r222 132 132 { 133 133 [tableView reloadData]; 134 [self tableView: tableView shouldSelectRow: [tableView selectedRow]];134 // [self tableView: tableView shouldSelectRow: [tableView selectedRow]]; 135 135 } 136 136 … … 143 143 { 144 144 DeVercruesseProcess *app = [self _applicationForPID: pid]; 145 [patchingApps removeObject: app]; 146 [patchedApps addObject: app]; 145 if(app){ 146 [patchingApps removeObject: app]; 147 [patchedApps addObject: app]; 148 } 147 149 [self _processStatusChanged]; 148 150 } … … 170 172 return NO; 171 173 172 if (read(fd, &pefHeader, sizeof(pefHeader)) != sizeof(pefHeader)) 174 if (read(fd, &pefHeader, sizeof(pefHeader)) != sizeof(pefHeader)){ 175 close(fd); 173 176 return NO; 177 } else 178 close(fd); 174 179 175 180 if (pefHeader.tag1 != kPEFTag1 || pefHeader.tag2 != kPEFTag2) … … 229 234 } 230 235 */ 231 232 236 if ( ![app isBackgroundOnly] && 233 237 ( ( [app isCocoa] && ![self appIsPEF: app]) || … … 461 465 id e = [cocoaApps objectEnumerator]; 462 466 while(anApp = [e nextObject]){ 463 if([alwaysApps containsObject:[anApp name]] && ![patchedApps containsObject:anApp]){467 if([alwaysApps containsObject:[anApp name]]){ 464 468 [NSApp installBundleInAppWithPID:[anApp pid]]; 465 469 }
Note:
See TracChangeset
for help on using the changeset viewer.