From 958f2447da476349a33a171246361c653e431ebd Mon Sep 17 00:00:00 2001 From: Mitchell Livingston Date: Wed, 21 May 2008 15:49:37 +0000 Subject: [PATCH] only allow QuickLook of folders or finished downloads; update NEWS --- NEWS | 1 + macosx/Controller.m | 5 ++++- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/NEWS b/NEWS index 2d8cf5729..ad5466d8c 100644 --- a/NEWS +++ b/NEWS @@ -3,6 +3,7 @@ NEWS file for Transmission 1.30 (2008/mm/dd) http://trac.transmissionbt.com/query?group=component&milestone=1.30 - Mac + + QuickLook integration in the main window and inspector's file tab + Transfers can be dragged to different groups + Status strings are toggled from the action button (they are no longer clickable) diff --git a/macosx/Controller.m b/macosx/Controller.m index 390f8fb99..a16e05b0c 100644 --- a/macosx/Controller.m +++ b/macosx/Controller.m @@ -4026,7 +4026,10 @@ static void sleepCallback(void * controller, io_service_t y, natural_t messageTy Torrent * torrent; while ((torrent = [enumerator nextObject])) - [urlArray addObject: [NSURL fileURLWithPath: [torrent dataLocation]]]; + { + if ([torrent folder] || [torrent isComplete]) + [urlArray addObject: [NSURL fileURLWithPath: [torrent dataLocation]]]; + } return urlArray; }