Changeset 518
- Timestamp:
- Jul 4, 2006, 6:42:12 PM (17 years ago)
- Location:
- trunk/macosx
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/macosx/Controller.h
r498 r518 142 142 - (void) attemptToStartMultipleAuto: (NSArray *) torrents; 143 143 144 - (void) reloadInspector : (NSNotification *) notification;144 - (void) reloadInspectorSettings: (NSNotification *) notification; 145 145 146 146 - (void) sleepCallBack: (natural_t) messageType argument: -
trunk/macosx/Controller.m
r515 r518 232 232 233 233 //change that just impacts the inspector 234 [nc addObserver: self selector: @selector(reloadInspector :)234 [nc addObserver: self selector: @selector(reloadInspectorSettings:) 235 235 name: @"TorrentSettingChange" object: nil]; 236 236 … … 247 247 [fWindow makeKeyAndOrderFront: nil]; 248 248 249 [self reloadInspector: nil]; 249 //load info for no torrents 250 [fInfoController updateInfoForTorrents: [NSArray array]]; 250 251 if ([fDefaults boolForKey: @"InfoVisible"]) 251 252 [self showInfo: nil]; … … 1122 1123 } 1123 1124 1124 - (void) reloadInspector : (NSNotification *) notification1125 { 1126 [fInfoController updateInfo ForTorrents: [self torrentsAtIndexes: [fTableView selectedRowIndexes]]];1125 - (void) reloadInspectorSettings: (NSNotification *) notification 1126 { 1127 [fInfoController updateInfoSettings]; 1127 1128 } 1128 1129 … … 1239 1240 - (void) tableViewSelectionDidChange: (NSNotification *) notification 1240 1241 { 1241 [ self reloadInspector: nil];1242 [fInfoController updateInfoForTorrents: [self torrentsAtIndexes: [fTableView selectedRowIndexes]]]; 1242 1243 } 1243 1244
Note: See TracChangeset
for help on using the changeset viewer.