1
0
mirror of https://github.com/arsenetar/dupeguru.git synced 2026-01-22 14:41:39 +00:00

Made marking changes much faster and also made data fetching lazy in dupe nodes.

This commit is contained in:
Virgil Dupras
2010-02-12 11:21:39 +01:00
parent 9b82e1478f
commit a4bf1c8be6
6 changed files with 44 additions and 14 deletions

View File

@@ -29,13 +29,6 @@ http://www.hardcoded.net/licenses/hs_license
return (PyResultTree *)py;
}
/* Override */
- (void)refresh
{
[super refresh];
[outlineView expandItem:nil expandChildren:YES];
}
/* Public */
- (BOOL)powerMarkerMode
{
@@ -128,4 +121,19 @@ http://www.hardcoded.net/licenses/hs_license
}
}
}
/* Python --> Cocoa */
- (void)refresh /* Override */
{
[super refresh];
[outlineView expandItem:nil expandChildren:YES];
}
- (void)invalidateMarkings
{
for (NSMutableDictionary *props in [itemData objectEnumerator]) {
[props removeObjectForKey:@"marked"];
}
[outlineView setNeedsDisplay:YES];
}
@end