1
0
Fork 0
mirror of https://github.com/transmission/transmission synced 2024-12-26 09:37:56 +00:00

code to place all icons in the inspector's tabs...still needs the images

This commit is contained in:
Mitchell Livingston 2007-10-08 03:59:08 +00:00
parent bd8d47c2f7
commit a960174fdf

View file

@ -98,9 +98,9 @@ typedef enum
//set tab images and tooltips
[fTabBackBar setBackgroundImage: [NSImage imageNamed: @"InfoTabBorder.tif"]];
[[fTabMatrix cellWithTag: TAB_INFO_TAG] setIcon: [NSImage imageNamed: @"InfoGeneral.png"]];
[[fTabMatrix cellWithTag: TAB_ACTIVITY_TAG] setIcon: nil];
[[fTabMatrix cellWithTag: TAB_PEERS_TAG] setIcon: nil];
[[fTabMatrix cellWithTag: TAB_FILES_TAG] setIcon: nil];
[[fTabMatrix cellWithTag: TAB_ACTIVITY_TAG] setIcon: [NSImage imageNamed: @"InfoActivity.png"]];
[[fTabMatrix cellWithTag: TAB_PEERS_TAG] setIcon: [NSImage imageNamed: @"InfoPeers.png"]];
[[fTabMatrix cellWithTag: TAB_FILES_TAG] setIcon: [NSImage imageNamed: @"InfoFiles.png"]];
[[fTabMatrix cellWithTag: TAB_OPTIONS_TAG] setIcon: [NSImage imageNamed: @"InfoOptions.png"]];
[fTabMatrix setToolTip: NSLocalizedString(@"General Info", "Inspector -> tab tooltip")