Ignore:
Timestamp:
Mar 20, 2007, 7:46:40 PM (15 years ago)
Author:
livings124
Message:

get the app icon in the proper way, to avoid potential badging

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/macosx/InfoWindowController.m

    r1533 r1574  
    7272    if ((self = [super initWithWindowNibName: name]))
    7373    {
    74         fAppIcon = [[NSApp applicationIconImage] copy];
     74        fAppIcon = [NSImage imageNamed: @"NSApplicationIcon"];
    7575        fDotGreen = [NSImage imageNamed: @"GreenDot.tiff"];
    7676        fDotRed = [NSImage imageNamed: @"RedDot.tiff"];
     
    119119    if (fFiles)
    120120        [fFiles release];
    121 
    122     [fAppIcon release];
     121   
    123122    [fFolderIcon release];
    124123    [super dealloc];
Note: See TracChangeset for help on using the changeset viewer.