adium 2219:b42f96c67f79: Bounce the Downloads stack when a downl...
commits at adium.im
commits at adium.im
Sun May 17 02:34:01 UTC 2009
details: http://hg.adium.im/adium/rev/b42f96c67f79
revision: 2219:b42f96c67f79
author: Zachary West <zacw at adium.im>
date: Sat May 16 22:33:37 2009 -0400
Bounce the Downloads stack when a download completes. Yoinked from Transmission.
diffstat:
ChangeLogs/Changes.txt | 1 +
Source/ESFileTransferController.m | 3 +++
2 files changed, 4 insertions(+), 0 deletions(-)
diffs (24 lines):
diff -r f4a91164dae3 -r b42f96c67f79 ChangeLogs/Changes.txt
--- a/ChangeLogs/Changes.txt Sat May 16 19:05:09 2009 -0700
+++ b/ChangeLogs/Changes.txt Sat May 16 22:33:37 2009 -0400
@@ -168,6 +168,7 @@
* Fixed AppleScript erroring when creating a new status object. (#8863)
* Greatly reduced memory usage when receiving lots of messages while Adium is not being interacted with
* Idle contacts now resort immediately
+ * The Downloads stack now bounces when a file transfer completes.
* Updated to Sparkle 1.5
Version 1.3.3 (2/19/2009)
diff -r f4a91164dae3 -r b42f96c67f79 Source/ESFileTransferController.m
--- a/Source/ESFileTransferController.m Sat May 16 19:05:09 2009 -0700
+++ b/Source/ESFileTransferController.m Sat May 16 22:33:37 2009 -0400
@@ -498,6 +498,9 @@
[fileTransfer openFile];
}
+ [[NSDistributedNotificationCenter defaultCenter] postNotificationName:@"com.apple.DownloadFileFinished"
+ object:fileTransfer.localFilename];
+
break;
case Cancelled_Remote_FileTransfer:
[adium.contactAlertsController generateEvent:FILE_TRANSFER_CANCELLED
More information about the commits
mailing list