Adium

Changeset 23374

Show
Ignore:
Timestamp:
05/09/2008 07:32:30 AM (7 months ago)
Author:
evands
Message:

Warnings--;

Files:

Legend:

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

    r23325 r23374  
    301301        //Auto-Resizing 
    302302        if ([group isEqualToString:PREF_GROUP_APPEARANCE]) { 
    303                 int                           windowStyle = [[prefDict objectForKey:KEY_LIST_LAYOUT_WINDOW_STYLE] intValue]; 
    304                 BOOL                   autoResizeHorizontally = [[prefDict objectForKey:KEY_LIST_LAYOUT_HORIZONTAL_AUTOSIZE] boolValue]; 
    305                 BOOL                   autoResizeVertically
    306                 int                            forcedWindowWidth, maxWindowWidth; 
     303                AIContactListWindowStyle      windowStyle = [[prefDict objectForKey:KEY_LIST_LAYOUT_WINDOW_STYLE] intValue]; 
     304                BOOL    autoResizeHorizontally = [[prefDict objectForKey:KEY_LIST_LAYOUT_HORIZONTAL_AUTOSIZE] boolValue]; 
     305                BOOL    autoResizeVertically = YES
     306                int             forcedWindowWidth, maxWindowWidth; 
    307307                 
    308308                //Determine how to handle vertical autosizing. AIAppearancePreferences must match this behavior for this to make sense. 
     
    316316                        case AIContactListWindowStyleContactBubbles: 
    317317                        case AIContactListWindowStyleContactBubbles_Fitted: 
    318                                 //The bubbles styles don't show a window; force them to autosize 
    319                                 autoResizeVertically = YES
     318                                //The bubbles styles don't show a window; force them to autosize by leaving autoResizeVertically == YES 
     319                                break
    320320                }                        
    321321