1
0
Fork 0
mirror of https://github.com/transmission/transmission synced 2024-12-25 01:03:01 +00:00

commit some changes that have been sitting in by checkout

This commit is contained in:
Mitchell Livingston 2007-11-04 16:12:49 +00:00
parent d3100ffbd3
commit 25a4d11db4
6 changed files with 13 additions and 9 deletions

1
NEWS
View file

@ -3,6 +3,7 @@ NEWS file for Transmission <http://transmission.m0k.org/>
1.00 (zzzz/xx/yy)
- OS X:
+ Leopard: Time Machine will ignore incomplete downloads
+ Pieces Bar (return of Advanced Bar)
0.92 (2007/xx/yy)
- All Platforms:

View file

@ -31,8 +31,4 @@
NSMutableDictionary * fTitleAttributes, * fStatusAttributes;
}
- (NSRect) imageRectForBounds: (NSRect) bounds;
- (NSRect) titleRectForBounds: (NSRect) bounds;
- (NSRect) statusRectForBounds: (NSRect) bounds;
@end

View file

@ -87,9 +87,9 @@
- (void) drawWithFrame: (NSRect) cellFrame inView: (NSView *) controlView
{
//icon
[[self image] drawInRect: [self imageRectForBounds: cellFrame] fromRect: NSZeroRect operation: NSCompositeSourceOver
fraction: 1.0];
[[self image] drawInRect: [self imageRectForBounds: cellFrame] fromRect: NSZeroRect operation: NSCompositeSourceOver fraction: 1.0];
#warning factor in selected folder
//title
NSColor * specialColor = nil;
if ([self isHighlighted]

View file

@ -25,6 +25,7 @@
#import "FileOutlineView.h"
#import "FileNameCell.h"
#import "FilePriorityCell.h"
#import "NSApplicationAdditions.h"
#import "Torrent.h"
@implementation FileOutlineView
@ -114,11 +115,12 @@
return fHoverRow;
}
#warning remove unneeded code
- (void) drawRow: (int) row clipRect: (NSRect) clipRect
{
if (![self isRowSelected: row])
NSDictionary * item = [self itemAtRow: row];
if (![self isRowSelected: row] && (![NSApp isOnLeopardOrBetter] || ![[item objectForKey: @"IsFolder"] boolValue]))
{
NSDictionary * item = [self itemAtRow: row];
NSIndexSet * indexes = [item objectForKey: @"Indexes"];
if ([fTorrent checkForFiles: indexes] != NSOffState)

View file

@ -955,6 +955,12 @@ typedef enum
return nil;
}
#warning should keep?
- (BOOL) outlineView: (NSOutlineView *) outlineView isGroupItem: (id) item
{
return /*[[item objectForKey: @"IsFolder"] boolValue]*/NO;
}
- (float) outlineView: (NSOutlineView *) outlineView heightOfRowByItem: (id) item
{
if ([[item objectForKey: @"IsFolder"] boolValue])

View file

@ -477,7 +477,6 @@ static uint32_t kBlue = OSSwapBigToHostConstInt32(0x50A0FFFF), //80, 160, 255
{
if (fPieces[i] != 0)
{
#warning make nicer color
color = kGray;
fPieces[i] = 0;
change = YES;