better implementation of r10310

This commit is contained in:
Mitchell Livingston 2010-03-06 23:31:40 +00:00
parent 5279b0f9da
commit 933dbc0ad4
1 changed files with 6 additions and 6 deletions

View File

@ -105,12 +105,12 @@ typedef enum
[[fTabMatrix cellWithTag: TAB_OPTIONS_TAG] setIcon: [NSImage imageNamed: @"InfoOptions.png"]]; [[fTabMatrix cellWithTag: TAB_OPTIONS_TAG] setIcon: [NSImage imageNamed: @"InfoOptions.png"]];
//set tab tooltips //set tab tooltips
[[fTabMatrix cellWithTag: TAB_GENERAL_TAG] setToolTip: NSLocalizedString(@"General Info", "Inspector -> tab")]; [fTabMatrix setToolTip: NSLocalizedString(@"General Info", "Inspector -> tab") forCell: [fTabMatrix cellWithTag: TAB_GENERAL_TAG]];
[[fTabMatrix cellWithTag: TAB_ACTIVITY_TAG] setToolTip: NSLocalizedString(@"Activity", "Inspector -> tab")]; [fTabMatrix setToolTip: NSLocalizedString(@"Activity", "Inspector -> tab") forCell: [fTabMatrix cellWithTag: TAB_ACTIVITY_TAG]];
[[fTabMatrix cellWithTag: TAB_TRACKERS_TAG] setToolTip: NSLocalizedString(@"Trackers", "Inspector -> tab")]; [fTabMatrix setToolTip: NSLocalizedString(@"Trackers", "Inspector -> tab") forCell: [fTabMatrix cellWithTag: TAB_TRACKERS_TAG]];
[[fTabMatrix cellWithTag: TAB_PEERS_TAG] setToolTip: NSLocalizedString(@"Peers", "Inspector -> tab")]; [fTabMatrix setToolTip: NSLocalizedString(@"Peers", "Inspector -> tab") forCell: [fTabMatrix cellWithTag: TAB_PEERS_TAG]];
[[fTabMatrix cellWithTag: TAB_FILE_TAG] setToolTip: NSLocalizedString(@"Files", "Inspector -> tab")]; [fTabMatrix setToolTip: NSLocalizedString(@"Files", "Inspector -> tab") forCell: [fTabMatrix cellWithTag: TAB_FILE_TAG]];
[[fTabMatrix cellWithTag: TAB_OPTIONS_TAG] setToolTip: NSLocalizedString(@"Options", "Inspector -> tab")]; [fTabMatrix setToolTip: NSLocalizedString(@"Options", "Inspector -> tab") forCell: [fTabMatrix cellWithTag: TAB_OPTIONS_TAG]];
//set selected tab //set selected tab
fCurrentTabTag = INVALID; fCurrentTabTag = INVALID;