Changeset 23638
- Timestamp:
- 05/25/2008 03:59:36 PM (6 months ago)
- Files:
-
- trunk/Frameworks/Adium Framework/Source/ESContactAlertsViewController.m (modified) (5 diffs)
- trunk/Resources/AIEventsInspectorPane.nib/classes.nib (modified) (2 diffs)
- trunk/Resources/AIEventsInspectorPane.nib/keyedobjects.nib (modified) (previous)
- trunk/Resources/ContactInfoInspector.nib/keyedobjects.nib (modified) (previous)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
trunk/Frameworks/Adium Framework/Source/ESContactAlertsViewController.m
r23164 r23638 62 62 [self configureEventSummaryOutlineView]; 63 63 64 [[adium notificationCenter] addObserver:self 65 selector:@selector(outlineViewColumnDidResize:) 66 name:NSOutlineViewColumnDidResizeNotification 67 object:outlineView_summary]; 68 64 69 //Manually size and position our buttons 65 70 { … … 100 105 - (void)viewWillClose 101 106 { 107 [[adium notificationCenter] removeObserver:self]; 102 108 [[adium preferenceController] unregisterPreferenceObserver:self]; 103 109 } … … 107 113 //Ensure that we have unregistered as a preference observer 108 114 [[adium preferenceController] unregisterPreferenceObserver:self]; 115 [[adium notificationCenter] removeObserver:self]; 109 116 110 117 [outlineView_summary setDelegate:nil]; … … 134 141 { 135 142 return delegate; 143 } 144 145 - (void)outlineViewColumnDidResize:(NSNotification *)notification 146 { 147 [self calculateAllHeights]; 148 [outlineView_summary noteHeightOfRowsWithIndexesChanged:[NSIndexSet indexSetWithIndexesInRange:NSMakeRange(0, [outlineView_summary numberOfRows]-1)]]; 136 149 } 137 150 … … 339 352 return [(NSString *)[objectA objectForKey:KEY_ACTION_ID] compare:(NSString *)[objectB objectForKey:KEY_ACTION_ID]]; 340 353 } 341 342 354 343 355 - (void)calculateHeightForItem:(id)item trunk/Resources/AIEventsInspectorPane.nib/classes.nib
r23226 r23638 102 102 </dict> 103 103 <dict> 104 <key>CLASS</key>105 <string>NSButton</string>106 <key>LANGUAGE</key>107 <string>ObjC</string>108 <key>SUPERCLASS</key>109 <string>NSControl</string>110 </dict>111 <dict>112 104 <key>ACTIONS</key> 113 105 <dict> … … 140 132 <key>SUPERCLASS</key> 141 133 <string>AIObject</string> 134 </dict> 135 <dict> 136 <key>CLASS</key> 137 <string>NSButton</string> 138 <key>LANGUAGE</key> 139 <string>ObjC</string> 140 <key>SUPERCLASS</key> 141 <string>NSControl</string> 142 142 </dict> 143 143 <dict>