mirror of
https://github.com/transmission/transmission
synced 2025-02-02 12:32:54 +00:00
fix notification to update info
This commit is contained in:
parent
b464564992
commit
a76423ac1e
3 changed files with 3 additions and 6 deletions
|
@ -364,7 +364,7 @@
|
|||
4DFBC2DD09C0970D00D5C571 /* Torrent.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = Torrent.h; path = macosx/Torrent.h; sourceTree = "<group>"; };
|
||||
4DFBC2DE09C0970D00D5C571 /* Torrent.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; name = Torrent.m; path = macosx/Torrent.m; sourceTree = "<group>"; };
|
||||
8D1107310486CEB800E47090 /* Info.plist */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.plist; name = Info.plist; path = macosx/Info.plist; sourceTree = "<group>"; };
|
||||
8D1107320486CEB800E47090 /* Transmission.app */ = {isa = PBXFileReference; includeInIndex = 0; lastKnownFileType = wrapper.application; path = Transmission.app; sourceTree = BUILT_PRODUCTS_DIR; };
|
||||
8D1107320486CEB800E47090 /* Transmission.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = Transmission.app; sourceTree = BUILT_PRODUCTS_DIR; };
|
||||
A200B8390A2263BA007BBB1E /* InfoWindowController.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = InfoWindowController.h; path = macosx/InfoWindowController.h; sourceTree = "<group>"; };
|
||||
A200B83A0A2263BA007BBB1E /* InfoWindowController.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; name = InfoWindowController.m; path = macosx/InfoWindowController.m; sourceTree = "<group>"; };
|
||||
A2041D520C9AC523000ACFFB /* Lock.tiff */ = {isa = PBXFileReference; lastKnownFileType = image.tiff; name = Lock.tiff; path = macosx/Images/Lock.tiff; sourceTree = "<group>"; };
|
||||
|
|
|
@ -374,9 +374,6 @@ void sleepCallBack(void * controller, io_service_t y, natural_t messageType, voi
|
|||
[nc addObserver: self selector: @selector(updateUI)
|
||||
name: @"UpdateUI" object: nil];
|
||||
|
||||
[nc addObserver: fInfoController selector: @selector(updateInfoSettings)
|
||||
name: @"UpdateInfoSettings" object: nil];
|
||||
|
||||
[nc addObserver: self selector: @selector(torrentFinishedDownloading:)
|
||||
name: @"TorrentFinishedDownloading" object: nil];
|
||||
|
||||
|
|
|
@ -443,7 +443,7 @@ void completenessChangeCallback(tr_torrent * torrent, cp_status_t status, void *
|
|||
}
|
||||
[self changeDownloadFolder: folder];
|
||||
|
||||
[[NSNotificationCenter defaultCenter] postNotificationName: @"UpdateInfoSettings" object: nil];
|
||||
[[NSNotificationCenter defaultCenter] postNotificationName: @"UpdateStats" object: nil];
|
||||
|
||||
[self endQuickPause];
|
||||
}
|
||||
|
@ -556,7 +556,7 @@ void completenessChangeCallback(tr_torrent * torrent, cp_status_t status, void *
|
|||
[self startTransfer];
|
||||
[self update];
|
||||
|
||||
[[NSNotificationCenter defaultCenter] postNotificationName: @"UpdateInfoSettings" object: nil];
|
||||
[[NSNotificationCenter defaultCenter] postNotificationName: @"UpdateStats" object: nil];
|
||||
}
|
||||
|
||||
- (BOOL) alertForMoveFolderAvailable
|
||||
|
|
Loading…
Reference in a new issue