- Timestamp:
- Aug 19, 2006, 10:18:39 PM (16 years ago)
- Location:
- trunk
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Transmission.xcodeproj/project.pbxproj
r784 r794 258 258 4DCCBB3C09C3D71100D3CABF /* TorrentCell.m */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.c.objc; name = TorrentCell.m; path = macosx/TorrentCell.m; sourceTree = "<group>"; }; 259 259 4DCCBB3D09C3D71100D3CABF /* TorrentCell.h */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.c.h; name = TorrentCell.h; path = macosx/TorrentCell.h; sourceTree = "<group>"; }; 260 4DDBB71909E16BAE00284745 /* transmissioncli */ = {isa = PBXFileReference; includeInIndex = 0; lastKnownFileType = "compiled.mach-o.executable"; path = transmissioncli; sourceTree = BUILT_PRODUCTS_DIR; };260 4DDBB71909E16BAE00284745 /* transmissioncli */ = {isa = PBXFileReference; explicitFileType = "compiled.mach-o.executable"; includeInIndex = 0; path = transmissioncli; sourceTree = BUILT_PRODUCTS_DIR; }; 261 261 4DDBB71B09E16BF100284745 /* transmissioncli.c */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.c.c; name = transmissioncli.c; path = cli/transmissioncli.c; sourceTree = "<group>"; }; 262 262 4DDFDD20099A5D8E00189D81 /* DownloadBadge.png */ = {isa = PBXFileReference; lastKnownFileType = image.png; name = DownloadBadge.png; path = macosx/Images/DownloadBadge.png; sourceTree = "<group>"; }; -
trunk/macosx/Badger.h
r711 r794 35 35 NSDictionary * fAttributes; 36 36 37 NSLock * fLock; 38 37 39 int fCompleted; 38 40 BOOL fSpeedShown; -
trunk/macosx/Badger.m
r711 r794 57 57 [stringShadow release]; 58 58 59 fLock = [[NSLock alloc] init]; 60 59 61 fCompleted = 0; 60 62 fSpeedShown = NO; … … 69 71 [fBadgedDockIcon release]; 70 72 [fAttributes release]; 73 [fLock release]; 71 74 72 75 [super dealloc]; … … 77 80 NSImage * dockIcon = nil; 78 81 NSSize iconSize = [fDockIcon size]; 82 83 [fLock lock]; //acquire lock to ensure completed badge is accurate 79 84 80 85 //set completed badge … … 112 117 fCompleted = completed; 113 118 } 119 120 [fLock unlock]; 114 121 115 122 //set upload and download rate badges
Note: See TracChangeset
for help on using the changeset viewer.