0
@@ -119,13 +119,11 @@ class CommitsController < OSX::NSObject
0
def imageLoadForURL_didFinishLoading(url, image)
0
email = @icon_url_map[url]
0
- # indices = NSMutableIndexSet.indexSet
0
- # @commits.each_with_index do |commit, idx|
0
- # if commit.author.email == email
0
- # indices.addIndex(idx)
0
- @commits_table.setNeedsDisplay(true)
0
+ @commits_table.rowsInRect(@commits_table.enclosingScrollView.documentVisibleRect).to_range.each do |i|
0
+ if @commits[i].author.email == email
0
+ @commits_table.setNeedsDisplayInRect(@commits_table.rectOfRow(i))
0
def imageLoadForURL_didFailWithError(url, error)
Comments
No one has commented yet.