Changeset 4357
- Timestamp:
- Dec 27, 2007, 10:26:23 PM (14 years ago)
- Location:
- trunk/macosx
- Files:
-
- 6 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/macosx/Controller.m
r4315 r4357 2066 2066 - (void) showGroups: (id) sender 2067 2067 { 2068 [[GroupsWindowController groups Controller] showWindow: self];2068 [[GroupsWindowController groups] showWindow: self]; 2069 2069 } 2070 2070 … … 2077 2077 [menu removeItemAtIndex: i]; 2078 2078 2079 NSMenu * groupMenu = [[GroupsWindowController groupsController] groupMenuWithTarget: self action: @selector(setGroup:) 2080 isSmall: NO]; 2079 NSMenu * groupMenu = [[GroupsWindowController groups] groupMenuWithTarget: self action: @selector(setGroup:) isSmall: NO]; 2081 2080 [menu appendItemsFromMenu: groupMenu atIndexes: [NSIndexSet indexSetWithIndexesInRange: 2082 2081 NSMakeRange(0, [groupMenu numberOfItems])] atBottom: NO]; … … 2088 2087 [menu removeItemAtIndex: i]; 2089 2088 2090 NSMenu * groupMenu = [[GroupsWindowController groups Controller] groupMenuWithTarget: self action: @selector(setGroupFilter:)2089 NSMenu * groupMenu = [[GroupsWindowController groups] groupMenuWithTarget: self action: @selector(setGroupFilter:) 2091 2090 isSmall: YES]; 2092 2091 [menu appendItemsFromMenu: groupMenu atIndexes: [NSIndexSet indexSetWithIndexesInRange: … … 2133 2132 break; 2134 2133 default: 2135 icon = [[GroupsWindowController groups Controller] imageForIndex: index isSmall: YES];2134 icon = [[GroupsWindowController groups] imageForIndex: index isSmall: YES]; 2136 2135 toolTip = [NSLocalizedString(@"Group: ", "Groups -> Button") stringByAppendingString: 2137 [[GroupsWindowController groups Controller] nameForIndex: index]];2136 [[GroupsWindowController groups] nameForIndex: index]]; 2138 2137 } 2139 2138 -
trunk/macosx/GroupsWindowController.h
r4225 r4357 37 37 } 38 38 39 + (GroupsWindowController *) groups Controller;39 + (GroupsWindowController *) groups; 40 40 41 41 - (int) orderValueForIndex: (int) index; -
trunk/macosx/GroupsWindowController.m
r4303 r4357 53 53 54 54 GroupsWindowController * fGroupsWindowInstance = nil; 55 + (GroupsWindowController *) groups Controller55 + (GroupsWindowController *) groups 56 56 { 57 57 if (!fGroupsWindowInstance) -
trunk/macosx/PortChecker.m
r4331 r4357 125 125 status = PORT_STATUS_ERROR; 126 126 127 [probeString release]; 127 128 [self callBackWithStatus: status]; 128 [probeString release];129 129 } 130 130 -
trunk/macosx/Torrent.m
r4345 r4357 1202 1202 - (int) groupOrderValue 1203 1203 { 1204 return [[GroupsWindowController groups Controller] orderValueForIndex: fGroupValue];1204 return [[GroupsWindowController groups] orderValueForIndex: fGroupValue]; 1205 1205 } 1206 1206 -
trunk/macosx/TorrentCell.m
r4289 r4357 221 221 } 222 222 223 [[[GroupsWindowController groups Controller] gradientForIndex: groupValue] fillBezierPath:223 [[[GroupsWindowController groups] gradientForIndex: groupValue] fillBezierPath: 224 224 [NSBezierPath bezierPathWithRoundedRect: groupRect radius: 6.0] angle: 90.0]; 225 225 }
Note: See TracChangeset
for help on using the changeset viewer.