mirror of
https://github.com/transmission/transmission
synced 2024-12-24 08:43:27 +00:00
reorganize files in xcodde and avoid a redundant method call
This commit is contained in:
parent
43bff5b4a0
commit
620b189969
3 changed files with 92 additions and 61 deletions
|
@ -557,75 +557,45 @@
|
|||
080E96DDFE201D6D7F000001 /* Sources */ = {
|
||||
isa = PBXGroup;
|
||||
children = (
|
||||
32CA4F630368D1EE00C91783 /* Transmission_Prefix.pch */,
|
||||
29B97316FDCFA39411CA2CEA /* main.m */,
|
||||
4DF0C5AA0899190500DD8943 /* Controller.h */,
|
||||
4DF0C5A90899190500DD8943 /* Controller.m */,
|
||||
A24D2A610C0A624600A0ED9F /* IPCController.h */,
|
||||
A24D2A620C0A624600A0ED9F /* IPCController.m */,
|
||||
A21576090C0D449A0057A26A /* BezierPathAdditions.m */,
|
||||
A215760A0C0D449A0057A26A /* BezierPathAdditions.h */,
|
||||
A2FB057C0BFEB6800095564D /* DragOverlayView.h */,
|
||||
A2FB057D0BFEB6800095564D /* DragOverlayView.m */,
|
||||
A2385DD20BFE06C800B24EF6 /* DragOverlayWindow.m */,
|
||||
A2385DD30BFE06C800B24EF6 /* DragOverlayWindow.h */,
|
||||
A2265F3F0B5EF5F40093DDA5 /* FileBrowserCell.h */,
|
||||
A2265F400B5EF5F40093DDA5 /* FileBrowserCell.m */,
|
||||
A2BF078F0B066E0800757C92 /* SpeedLimitToTurtleIconTransformer.m */,
|
||||
A2BF078E0B066E0800757C92 /* SpeedLimitToTurtleIconTransformer.h */,
|
||||
A25E74440AF5089E006F11AE /* ExpandedPathToPathTransformer.m */,
|
||||
A25E74450AF5089E006F11AE /* ExpandedPathToPathTransformer.h */,
|
||||
A25E74460AF5089E006F11AE /* ExpandedPathToIconTransformer.m */,
|
||||
A25E74470AF5089E006F11AE /* ExpandedPathToIconTransformer.h */,
|
||||
A21F5C010AF26DD5008CE5CE /* ActionMenuSpeedToDisplayLimitTransformer.h */,
|
||||
A21F5C020AF26DD5008CE5CE /* ActionMenuSpeedToDisplayLimitTransformer.m */,
|
||||
A21F5B860AF25FB6008CE5CE /* ActionMenuRatioToDisplayRatioTransformer.h */,
|
||||
A21F5B870AF25FB6008CE5CE /* ActionMenuRatioToDisplayRatioTransformer.m */,
|
||||
A2A306530AAD24A80049E2AC /* UKFileWatcher.h */,
|
||||
A2A306540AAD24A80049E2AC /* UKFileWatcher.m */,
|
||||
A2A306550AAD24A80049E2AC /* UKFNSubscribeFileWatcher.h */,
|
||||
A2A306560AAD24A80049E2AC /* UKFNSubscribeFileWatcher.m */,
|
||||
A2A306570AAD24A80049E2AC /* UKKQueue.h */,
|
||||
A2A306580AAD24A80049E2AC /* UKKQueue.m */,
|
||||
A2A306590AAD24A80049E2AC /* UKMainThreadProxy.h */,
|
||||
A2A3065A0AAD24A80049E2AC /* UKMainThreadProxy.m */,
|
||||
A29C8B340ACC6EB3000ED9F9 /* PortChecker.h */,
|
||||
A29C8B350ACC6EB3000ED9F9 /* PortChecker.m */,
|
||||
A291DAAC0AC8BEB6003385E9 /* PiecesView.h */,
|
||||
A291DAAD0AC8BEB6003385E9 /* PiecesView.m */,
|
||||
A256588A0A9A695400E8A03B /* MessageWindowController.h */,
|
||||
A256588B0A9A695400E8A03B /* MessageWindowController.m */,
|
||||
A200B8390A2263BA007BBB1E /* InfoWindowController.h */,
|
||||
A200B83A0A2263BA007BBB1E /* InfoWindowController.m */,
|
||||
4DF0C5A90899190500DD8943 /* Controller.m */,
|
||||
4DF0C5AA0899190500DD8943 /* Controller.h */,
|
||||
4D118E1808CB46B20033958F /* PrefsController.h */,
|
||||
4D118E1908CB46B20033958F /* PrefsController.m */,
|
||||
4D364D9E091FBB2C00377D12 /* TorrentTableView.h */,
|
||||
4D364D9F091FBB2C00377D12 /* TorrentTableView.m */,
|
||||
4DE5CC9B0980656F00BE280E /* StringAdditions.h */,
|
||||
4DE5CC9C0980656F00BE280E /* StringAdditions.m */,
|
||||
4DE5CCA50980735700BE280E /* Badger.h */,
|
||||
4DE5CCA60980735700BE280E /* Badger.m */,
|
||||
4DFBC2DD09C0970D00D5C571 /* Torrent.h */,
|
||||
4DFBC2DE09C0970D00D5C571 /* Torrent.m */,
|
||||
4D364D9E091FBB2C00377D12 /* TorrentTableView.h */,
|
||||
4D364D9F091FBB2C00377D12 /* TorrentTableView.m */,
|
||||
4DCCBB3D09C3D71100D3CABF /* TorrentCell.h */,
|
||||
4DCCBB3C09C3D71100D3CABF /* TorrentCell.m */,
|
||||
29B97316FDCFA39411CA2CEA /* main.m */,
|
||||
32CA4F630368D1EE00C91783 /* Transmission_Prefix.pch */,
|
||||
A2AF1C360A3D0F6200F1575D /* FileOutlineView.h */,
|
||||
A2AF1C370A3D0F6200F1575D /* FileOutlineView.m */,
|
||||
A248387F0C0BA608005CC3FE /* FilterBarView.h */,
|
||||
A24838800C0BA608005CC3FE /* FilterBarView.m */,
|
||||
A27431D80A68538400FA780A /* FilterBarButton.h */,
|
||||
A27431D90A68538400FA780A /* FilterBarButton.m */,
|
||||
A27ABC210A6ADE410020EC71 /* ImageBackgroundView.h */,
|
||||
A27ABC220A6ADE410020EC71 /* ImageBackgroundView.m */,
|
||||
A2710E740A86796000CE4F7D /* PrefsWindow.h */,
|
||||
A2710E750A86796000CE4F7D /* PrefsWindow.m */,
|
||||
A2AA579A0ADFCAB400CA59F6 /* PiecesImageView.h */,
|
||||
A2AA579B0ADFCAB400CA59F6 /* PiecesImageView.m */,
|
||||
A24999200B49F1B5001EADA3 /* ActionPopUpButton.h */,
|
||||
A24999210B49F1B5001EADA3 /* ActionPopUpButton.m */,
|
||||
A2A1CB770BF29D5500AE959F /* PeerProgressIndicatorCell.h */,
|
||||
A2A1CB780BF29D5500AE959F /* PeerProgressIndicatorCell.m */,
|
||||
A2BF078E0B066E0800757C92 /* SpeedLimitToTurtleIconTransformer.h */,
|
||||
A2BF078F0B066E0800757C92 /* SpeedLimitToTurtleIconTransformer.m */,
|
||||
A21F5C010AF26DD5008CE5CE /* ActionMenuSpeedToDisplayLimitTransformer.h */,
|
||||
A21F5C020AF26DD5008CE5CE /* ActionMenuSpeedToDisplayLimitTransformer.m */,
|
||||
A21F5B860AF25FB6008CE5CE /* ActionMenuRatioToDisplayRatioTransformer.h */,
|
||||
A21F5B870AF25FB6008CE5CE /* ActionMenuRatioToDisplayRatioTransformer.m */,
|
||||
4DE5CCA50980735700BE280E /* Badger.h */,
|
||||
4DE5CCA60980735700BE280E /* Badger.m */,
|
||||
4DE5CC9B0980656F00BE280E /* StringAdditions.h */,
|
||||
4DE5CC9C0980656F00BE280E /* StringAdditions.m */,
|
||||
A215760A0C0D449A0057A26A /* BezierPathAdditions.h */,
|
||||
A21576090C0D449A0057A26A /* BezierPathAdditions.m */,
|
||||
A256588A0A9A695400E8A03B /* MessageWindowController.h */,
|
||||
A256588B0A9A695400E8A03B /* MessageWindowController.m */,
|
||||
E1B6FBF80C0D719B0015FE4D /* Info Window */,
|
||||
E1B6FBFD0C0D72430015FE4D /* Prefs Window */,
|
||||
E1B6FC000C0D72A00015FE4D /* Overlay Window */,
|
||||
E138A9720C04D88F00C5426C /* CTGradient */,
|
||||
A248387F0C0BA608005CC3FE /* FilterBarView.h */,
|
||||
A24838800C0BA608005CC3FE /* FilterBarView.m */,
|
||||
E1B6FBEB0C0D70AC0015FE4D /* UKKQueue */,
|
||||
);
|
||||
name = Sources;
|
||||
sourceTree = "<group>";
|
||||
|
@ -866,6 +836,68 @@
|
|||
path = macosx/CTGradient;
|
||||
sourceTree = "<group>";
|
||||
};
|
||||
E1B6FBEB0C0D70AC0015FE4D /* UKKQueue */ = {
|
||||
isa = PBXGroup;
|
||||
children = (
|
||||
A2A306570AAD24A80049E2AC /* UKKQueue.h */,
|
||||
A2A306580AAD24A80049E2AC /* UKKQueue.m */,
|
||||
A2A306530AAD24A80049E2AC /* UKFileWatcher.h */,
|
||||
A2A306540AAD24A80049E2AC /* UKFileWatcher.m */,
|
||||
A2A306550AAD24A80049E2AC /* UKFNSubscribeFileWatcher.h */,
|
||||
A2A306560AAD24A80049E2AC /* UKFNSubscribeFileWatcher.m */,
|
||||
A2A306590AAD24A80049E2AC /* UKMainThreadProxy.h */,
|
||||
A2A3065A0AAD24A80049E2AC /* UKMainThreadProxy.m */,
|
||||
);
|
||||
name = UKKQueue;
|
||||
sourceTree = "<group>";
|
||||
};
|
||||
E1B6FBF80C0D719B0015FE4D /* Info Window */ = {
|
||||
isa = PBXGroup;
|
||||
children = (
|
||||
A200B8390A2263BA007BBB1E /* InfoWindowController.h */,
|
||||
A200B83A0A2263BA007BBB1E /* InfoWindowController.m */,
|
||||
A2AF1C360A3D0F6200F1575D /* FileOutlineView.h */,
|
||||
A2AF1C370A3D0F6200F1575D /* FileOutlineView.m */,
|
||||
A2265F3F0B5EF5F40093DDA5 /* FileBrowserCell.h */,
|
||||
A2265F400B5EF5F40093DDA5 /* FileBrowserCell.m */,
|
||||
A2A1CB770BF29D5500AE959F /* PeerProgressIndicatorCell.h */,
|
||||
A2A1CB780BF29D5500AE959F /* PeerProgressIndicatorCell.m */,
|
||||
A291DAAC0AC8BEB6003385E9 /* PiecesView.h */,
|
||||
A291DAAD0AC8BEB6003385E9 /* PiecesView.m */,
|
||||
A2AA579A0ADFCAB400CA59F6 /* PiecesImageView.h */,
|
||||
A2AA579B0ADFCAB400CA59F6 /* PiecesImageView.m */,
|
||||
);
|
||||
name = "Info Window";
|
||||
sourceTree = "<group>";
|
||||
};
|
||||
E1B6FBFD0C0D72430015FE4D /* Prefs Window */ = {
|
||||
isa = PBXGroup;
|
||||
children = (
|
||||
4D118E1808CB46B20033958F /* PrefsController.h */,
|
||||
4D118E1908CB46B20033958F /* PrefsController.m */,
|
||||
A2710E740A86796000CE4F7D /* PrefsWindow.h */,
|
||||
A2710E750A86796000CE4F7D /* PrefsWindow.m */,
|
||||
A29C8B340ACC6EB3000ED9F9 /* PortChecker.h */,
|
||||
A29C8B350ACC6EB3000ED9F9 /* PortChecker.m */,
|
||||
);
|
||||
name = "Prefs Window";
|
||||
sourceTree = "<group>";
|
||||
};
|
||||
E1B6FC000C0D72A00015FE4D /* Overlay Window */ = {
|
||||
isa = PBXGroup;
|
||||
children = (
|
||||
A2385DD30BFE06C800B24EF6 /* DragOverlayWindow.h */,
|
||||
A2385DD20BFE06C800B24EF6 /* DragOverlayWindow.m */,
|
||||
A2FB057C0BFEB6800095564D /* DragOverlayView.h */,
|
||||
A2FB057D0BFEB6800095564D /* DragOverlayView.m */,
|
||||
A25E74450AF5089E006F11AE /* ExpandedPathToPathTransformer.h */,
|
||||
A25E74440AF5089E006F11AE /* ExpandedPathToPathTransformer.m */,
|
||||
A25E74470AF5089E006F11AE /* ExpandedPathToIconTransformer.h */,
|
||||
A25E74460AF5089E006F11AE /* ExpandedPathToIconTransformer.m */,
|
||||
);
|
||||
name = "Overlay Window";
|
||||
sourceTree = "<group>";
|
||||
};
|
||||
/* End PBXGroup section */
|
||||
|
||||
/* Begin PBXHeadersBuildPhase section */
|
||||
|
|
|
@ -40,12 +40,12 @@
|
|||
fTrackingTag = 0;
|
||||
|
||||
[self createButtons];
|
||||
fCount = -1;
|
||||
[self setCount: 0];
|
||||
|
||||
[self setAlternateImage: fButtonPressed];
|
||||
[self setImage: fButtonNormal];
|
||||
|
||||
fCount = -1;
|
||||
[self setCount: 0];
|
||||
|
||||
NSNotificationCenter * nc = [NSNotificationCenter defaultCenter];
|
||||
|
||||
[nc addObserver: self selector: @selector(setForActive:)
|
||||
|
|
|
@ -289,7 +289,6 @@
|
|||
}
|
||||
|
||||
//update stats and settings
|
||||
[self updateInfoStats];
|
||||
[self updateInfoSettings];
|
||||
|
||||
[fPeerTable reloadData];
|
||||
|
@ -880,7 +879,7 @@
|
|||
if ((useSecond = ![[descriptor key] isEqualToString: @"IP"]))
|
||||
{
|
||||
#warning different for different sorts
|
||||
//NSLog(@"%@", [fPeerTable highlightedTableColumn]);
|
||||
//NSLog(@"%d", [[[[fPeerTable tableColumns] objectAtIndex: 2] headerCell] isHighlighted]);
|
||||
|
||||
asc = [descriptor ascending];
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue