Changeset 23374
- Timestamp:
- 05/09/2008 07:32:30 AM (7 months ago)
- Files:
-
- trunk/Source/AIListWindowController.m (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
trunk/Source/AIListWindowController.m
r23325 r23374 301 301 //Auto-Resizing 302 302 if ([group isEqualToString:PREF_GROUP_APPEARANCE]) { 303 intwindowStyle = [[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; 307 307 308 308 //Determine how to handle vertical autosizing. AIAppearancePreferences must match this behavior for this to make sense. … … 316 316 case AIContactListWindowStyleContactBubbles: 317 317 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; 320 320 } 321 321