Adium

Changeset 24392

Show
Ignore:
Timestamp:
07/17/2008 09:53:39 AM (6 months ago)
Author:
evands
Message:

Added some debug logging for when the contact list's alpha value changes through dock-like hiding. Refs #10498

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/Source/AIListWindowController.m

    r23805 r24392  
    209209                //Hide the window while it's still off-screen 
    210210                [[self window] setAlphaValue:0.0]; 
     211                AILogWithSignature(@"Setting to alpha 0 while the window is offscreen"); 
    211212                 
    212213                //Then move it back on screen so that we'll save the proper position in -[AIWindowController windowWillClose:] 
     
    246247- (void)setWindowLevel:(int)level 
    247248{ 
     249        AILogWithSignature(@"Setting to %i", level); 
    248250        [[self window] setLevel:level]; 
    249251        if (![NSApp isOnLeopardOrBetter]) { 
     
    949951        if (windowSlidOffScreenEdgeMask == AINoEdges) { 
    950952                [[self window] setAlphaValue:previousAlpha]; 
     953                AILogWithSignature(@"Set window to previous alpha of %f", previousAlpha); 
    951954        } 
    952955 
     
    973976                previousAlpha = [[self window] alphaValue]; 
    974977                [[self window] setAlphaValue:0.0]; 
     978                AILogWithSignature(@"Previous alpha is now %f; window set to alpha 0.0 ", previousAlpha); 
    975979        } 
    976980         
     
    10561060                [contactListController contactListDesiredSizeChanged]; 
    10571061                [[self window] setAlphaValue:previousAlpha]; 
     1062                AILogWithSignature(@"Set window to previous alpha of %f", previousAlpha); 
    10581063        } 
    10591064}