Changeset 3866


Ignore:
Timestamp:
Nov 18, 2007, 2:20:28 AM (15 years ago)
Author:
livings124
Message:

streamline setting inspector tabs' tooltips

Location:
trunk/macosx
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/macosx/InfoTabButtonCell.m

    r3611 r3866  
    2929- (void) awakeFromNib
    3030{
     31    [(NSMatrix *)[self controlView] setToolTip: [self title] forCell: self];
     32   
    3133    NSNotificationCenter * nc = [NSNotificationCenter defaultCenter];
    3234    [nc addObserver: self selector: @selector(updateControlTint:)
  • trunk/macosx/InfoWindowController.m

    r3865 r3866  
    100100    [[fTabMatrix cellWithTag: TAB_FILES_TAG] setIcon: [NSImage imageNamed: @"InfoFiles.png"]];
    101101    [[fTabMatrix cellWithTag: TAB_OPTIONS_TAG] setIcon: [NSImage imageNamed: @"InfoOptions.png"]];
    102    
    103     [fTabMatrix setToolTip: NSLocalizedString(@"General Info", "Inspector -> tab tooltip")
    104                     forCell: [fTabMatrix cellWithTag: TAB_INFO_TAG]];
    105     [fTabMatrix setToolTip: NSLocalizedString(@"Activity", "Inspector -> tab tooltip")
    106                     forCell: [fTabMatrix cellWithTag: TAB_ACTIVITY_TAG]];
    107     [fTabMatrix setToolTip: NSLocalizedString(@"Peers", "Inspector -> tab tooltip")
    108                     forCell: [fTabMatrix cellWithTag:  TAB_PEERS_TAG]];
    109     [fTabMatrix setToolTip: NSLocalizedString(@"Files", "Inspector -> tab tooltip")
    110                     forCell: [fTabMatrix cellWithTag: TAB_FILES_TAG]];
    111     [fTabMatrix setToolTip: NSLocalizedString(@"Options", "Inspector -> tab tooltip")
    112                     forCell: [fTabMatrix cellWithTag: TAB_OPTIONS_TAG]];
    113102   
    114103    //set selected tab
Note: See TracChangeset for help on using the changeset viewer.