From: Mitchell Livingston Date: Fri, 2 Apr 2010 18:05:39 +0000 (+0000) Subject: when the ratio is set to unlimited when resuming, reload the inspector X-Git-Tag: 2.00~277 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=05cf5fccef3b6b333cad3d4a358ae4bbc53e6444;p=transmission when the ratio is set to unlimited when resuming, reload the inspector --- diff --git a/libtransmission/transmission.h b/libtransmission/transmission.h index 7f59651cf..47481d7ed 100644 --- a/libtransmission/transmission.h +++ b/libtransmission/transmission.h @@ -1823,7 +1823,7 @@ typedef struct tr_stat time_t activityDate; /** A torrent is considered finished if it has met its seed ratio. - As a result, only paused torrent can be finished. */ + As a result, only paused torrents can be finished. */ tr_bool finished; } tr_stat; diff --git a/macosx/Torrent.m b/macosx/Torrent.m index ea07425e9..bcfeb6ff1 100644 --- a/macosx/Torrent.m +++ b/macosx/Torrent.m @@ -288,6 +288,9 @@ int trashDataFile(const char * filename) { tr_torrentStart(fHandle); [self update]; + + //capture, specifically, ratio setting changing to unlimited + [[NSNotificationCenter defaultCenter] postNotificationName: @"UpdateOptions" object: nil]; } } diff --git a/macosx/TorrentCell.m b/macosx/TorrentCell.m index 5f152134a..dd0d71856 100644 --- a/macosx/TorrentCell.m +++ b/macosx/TorrentCell.m @@ -651,7 +651,7 @@ //actually draw image if ([NSApp isOnSnowLeopardOrBetter]) [bitmap drawInRect: barRect fromRect: NSZeroRect operation: NSCompositeSourceOver - fraction: ([fDefaults boolForKey: @"SmallView"] ? 0.2 : 1.0) respectFlipped: YES hints: nil]; + fraction: ([fDefaults boolForKey: @"SmallView"] ? 0.25 : 1.0) respectFlipped: YES hints: nil]; else [bitmap drawInRect: barRect];