From 92f5bec9a4585599a97fcfa8cb01d7b53aef9d38 Mon Sep 17 00:00:00 2001 From: Mitchell Livingston Date: Tue, 8 Apr 2008 15:45:01 +0000 Subject: [PATCH] animate the blocklist download bar when first shown; update strings file --- macosx/BlocklistDownloader.m | 1 + macosx/English.lproj/Localizable.strings | Bin 55900 -> 55660 bytes macosx/Torrent.m | 1 - macosx/TorrentTableView.m | 6 ++++-- 4 files changed, 5 insertions(+), 3 deletions(-) diff --git a/macosx/BlocklistDownloader.m b/macosx/BlocklistDownloader.m index d93abe472..e390ef8f0 100644 --- a/macosx/BlocklistDownloader.m +++ b/macosx/BlocklistDownloader.m @@ -53,6 +53,7 @@ [fTextField setStringValue: [NSLocalizedString(@"Connecting to site", "Blocklist -> message") stringByAppendingEllipsis]]; [fProgressBar setUsesThreadedAnimation: YES]; + [fProgressBar startAnimation: self]; } - (void) dealloc diff --git a/macosx/English.lproj/Localizable.strings b/macosx/English.lproj/Localizable.strings index 587ee18f53975d6f33f363e57e04bb809ac2d397..87b011c71c3e21920d44ad79e339ae1c615a46bf 100644 GIT binary patch delta 64 zcmcb!h55}U<_+6ICKqIIO)gO9+uRmC$L3`z|9B>Mxk*fxDVCaiz<_IVUy eta string"); case TR_ETA_UNKNOWN: return NSLocalizedString(@"remaining time unknown", "Torrent -> eta string"); default: diff --git a/macosx/TorrentTableView.m b/macosx/TorrentTableView.m index 73896debd..28fe7d993 100644 --- a/macosx/TorrentTableView.m +++ b/macosx/TorrentTableView.m @@ -411,10 +411,12 @@ } else if (!pushed && [event clickCount] == 2) //double click { + id item = nil; int row = [self rowAtPoint: point]; - id item = [self itemAtRow: row]; + if (row != -1) + item = [self itemAtRow: row]; - if (row == -1 || [item isKindOfClass: [Torrent class]]) + if (!item || [item isKindOfClass: [Torrent class]]) [fController showInfo: nil]; else { -- 2.40.0