Changeset 379


Ignore:
Timestamp:
Jun 16, 2006, 3:03:28 AM (16 years ago)
Author:
livings124
Message:

Let's get the images stored before showing the table

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/macosx/TorrentTableView.m

    r378 r379  
    4848                * fRevealOnIcon, * fRevealOffIcon;
    4949
     50- (id) initWithCoder: (NSCoder *) decoder
     51{
     52    if ((self = [super initWithCoder: decoder]))
     53    {
     54        fResumeOnIcon = [NSImage imageNamed: @"ResumeOn.png"];
     55        fResumeOffIcon = [NSImage imageNamed: @"ResumeOff.png"];
     56        fPauseOnIcon = [NSImage imageNamed: @"PauseOn.png"];
     57        fPauseOffIcon = [NSImage imageNamed: @"PauseOff.png"];
     58        fRevealOnIcon = [NSImage imageNamed: @"RevealOn.png"];
     59        fRevealOffIcon = [NSImage imageNamed: @"RevealOff.png"];
     60    }
     61   
     62    return self;
     63}
     64   
    5065- (void) awakeFromNib
    5166{
    52     fResumeOnIcon = [NSImage imageNamed: @"ResumeOn.png"];
    53     fResumeOffIcon = [NSImage imageNamed: @"ResumeOff.png"];
    54     fPauseOnIcon = [NSImage imageNamed: @"PauseOn.png"];
    55     fPauseOffIcon = [NSImage imageNamed: @"PauseOff.png"];
    56     fRevealOnIcon = [NSImage imageNamed: @"RevealOn.png"];
    57     fRevealOffIcon = [NSImage imageNamed: @"RevealOff.png"];
    58 
    5967    [fContextRow setTitle: @"Context"];
    6068    [fContextNoRow setTitle: @"Context"];
Note: See TracChangeset for help on using the changeset viewer.