set the gear of the action menu in code, since it's 10.5-only

This commit is contained in:
Mitchell Livingston
2008-01-06 19:48:48 +00:00
parent b3e8a9f5e8
commit bb7c659713
2 changed files with 2524 additions and 2510 deletions

View File

@@ -258,6 +258,8 @@ void sleepCallBack(void * controller, io_service_t y, natural_t messageType, voi
{
[fWindow setContentBorderThickness: [[fTableView enclosingScrollView] frame].origin.y forEdge: NSMinYEdge];
[[fTotalTorrentsField cell] setBackgroundStyle: NSBackgroundStyleRaised];
[[[fActionButton menu] itemAtIndex: 0] setImage: [NSImage imageNamed: NSImageNameActionTemplate]]; //set in nib if Leopard-only
}
else
{