adium 5160:0656a0a43aba: - Fix a 1px difference in view size and...

commits at adium.im commits at adium.im
Sun Oct 21 22:22:52 UTC 2012


details:	http://hg.adium.im/adium/rev/0656a0a43aba
revision:	5160:0656a0a43aba
branch:		adium-1.6
author:		Thijs Alkemade <thijsalkemade at gmail.com>
date:		Mon Oct 22 00:21:38 2012 +0200

- Fix a 1px difference in view size and window size in the message view.
- Made the line dividing the account selection view and the rest a little thicker, and gray instead of black.

diffs (240 lines):

diff -r d4fff8e3bf39 -r 0656a0a43aba Plugins/Dual Window Interface/AIAccountSelectionView.m
--- a/Plugins/Dual Window Interface/AIAccountSelectionView.m	Mon Oct 22 00:02:16 2012 +0200
+++ b/Plugins/Dual Window Interface/AIAccountSelectionView.m	Mon Oct 22 00:21:38 2012 +0200
@@ -24,10 +24,15 @@
     NSBezierPath *path = [NSBezierPath bezierPathWithRect:self.bounds];
     [path linearGradientFillWithStartColor:[NSColor colorWithCalibratedWhite:0.80f alpha:1.0f]
                                   endColor:[NSColor colorWithCalibratedWhite:0.95f alpha:1.0f]];
+    
     path = [NSBezierPath bezierPath];
+    
+    [path setLineWidth:2.0f];
+    
     [path moveToPoint:NSMakePoint(NSMinX(self.bounds), NSMinY(self.bounds))];
     [path lineToPoint:NSMakePoint(NSMaxX(self.bounds), NSMinY(self.bounds))];
-    [[NSColor blackColor] setStroke];
+    
+    [[NSColor colorWithCalibratedWhite:0.65f alpha:1.0f] setStroke];
     [path stroke];
 }
 
diff -r d4fff8e3bf39 -r 0656a0a43aba Plugins/Dual Window Interface/MessageView.xib
--- a/Plugins/Dual Window Interface/MessageView.xib	Mon Oct 22 00:02:16 2012 +0200
+++ b/Plugins/Dual Window Interface/MessageView.xib	Mon Oct 22 00:21:38 2012 +0200
@@ -90,13 +90,13 @@
 																					<object class="NSView" id="819870531">
 																						<reference key="NSNextResponder" ref="916213062"/>
 																						<int key="NSvFlags">274</int>
-																						<string key="NSFrameSize">{345, 264}</string>
+																						<string key="NSFrameSize">{344, 264}</string>
 																						<reference key="NSSuperview" ref="916213062"/>
 																						<reference key="NSWindow"/>
 																						<reference key="NSNextKeyView" ref="944644976"/>
 																					</object>
 																				</array>
-																				<string key="NSFrameSize">{345, 264}</string>
+																				<string key="NSFrameSize">{344, 264}</string>
 																				<reference key="NSSuperview" ref="60130733"/>
 																				<reference key="NSWindow"/>
 																				<reference key="NSNextKeyView" ref="819870531"/>
@@ -137,7 +137,7 @@
 																				<double key="NSPercent">0.50602412223815918</double>
 																			</object>
 																		</array>
-																		<string key="NSFrameSize">{345, 264}</string>
+																		<string key="NSFrameSize">{344, 264}</string>
 																		<reference key="NSSuperview" ref="1034558317"/>
 																		<reference key="NSWindow"/>
 																		<reference key="NSNextKeyView" ref="881321079"/>
@@ -147,7 +147,7 @@
 																		<reference key="NSContentView" ref="916213062"/>
 																	</object>
 																</array>
-																<string key="NSFrameSize">{345, 264}</string>
+																<string key="NSFrameSize">{344, 264}</string>
 																<reference key="NSSuperview" ref="469967666"/>
 																<reference key="NSWindow"/>
 																<reference key="NSNextKeyView" ref="60130733"/>
@@ -176,7 +176,7 @@
 																						<string key="NSExtension">NSTextView</string>
 																					</object>
 																				</array>
-																				<string key="NSFrameSize">{345, 38}</string>
+																				<string key="NSFrameSize">{344, 38}</string>
 																				<reference key="NSSuperview" ref="1006380680"/>
 																				<reference key="NSWindow"/>
 																				<reference key="NSNextKeyView" ref="662114219"/>
@@ -212,7 +212,7 @@
 																				<double key="NSPercent">0.90740740740740744</double>
 																			</object>
 																		</array>
-																		<string key="NSFrameSize">{345, 38}</string>
+																		<string key="NSFrameSize">{344, 38}</string>
 																		<reference key="NSSuperview" ref="944644976"/>
 																		<reference key="NSWindow"/>
 																		<reference key="NSNextKeyView" ref="559917187"/>
@@ -222,14 +222,14 @@
 																		<reference key="NSContentView" ref="382054263"/>
 																	</object>
 																</array>
-																<string key="NSFrame">{{0, 265}, {345, 38}}</string>
+																<string key="NSFrame">{{0, 265}, {344, 38}}</string>
 																<reference key="NSSuperview" ref="469967666"/>
 																<reference key="NSWindow"/>
 																<reference key="NSNextKeyView" ref="1006380680"/>
 																<string key="NSClassName">NSView</string>
 															</object>
 														</array>
-														<string key="NSFrameSize">{345, 303}</string>
+														<string key="NSFrameSize">{344, 303}</string>
 														<reference key="NSSuperview" ref="988585566"/>
 														<reference key="NSWindow"/>
 														<reference key="NSNextKeyView" ref="1034558317"/>
@@ -237,7 +237,7 @@
 														<string key="NSAutosaveName">AdiumMessageView</string>
 													</object>
 												</array>
-												<string key="NSFrameSize">{345, 303}</string>
+												<string key="NSFrameSize">{344, 303}</string>
 												<reference key="NSSuperview" ref="351509238"/>
 												<reference key="NSWindow"/>
 												<reference key="NSNextKeyView" ref="469967666"/>
@@ -502,14 +502,14 @@
 														<bytes key="NSScrollAmts">QSAAAEEgAABBmAAAQZgAAA</bytes>
 													</object>
 												</array>
-												<string key="NSFrame">{{346, 0}, {136, 303}}</string>
+												<string key="NSFrame">{{345, 0}, {136, 303}}</string>
 												<reference key="NSSuperview" ref="351509238"/>
 												<reference key="NSWindow"/>
 												<reference key="NSNextKeyView" ref="652921259"/>
 												<string key="NSClassName">NSView</string>
 											</object>
 										</array>
-										<string key="NSFrameSize">{482, 303}</string>
+										<string key="NSFrameSize">{481, 303}</string>
 										<reference key="NSSuperview" ref="465253647"/>
 										<reference key="NSWindow"/>
 										<reference key="NSNextKeyView" ref="988585566"/>
@@ -1023,6 +1023,14 @@
 		<object class="IBClassDescriber" key="IBDocument.Classes">
 			<array class="NSMutableArray" key="referencedPartialClassDescriptions">
 				<object class="IBPartialClassDescription">
+					<string key="className">AIAlternatingRowOutlineView</string>
+					<string key="superclassName">AIOutlineView</string>
+					<object class="IBClassDescriptionSource" key="sourceIdentifier">
+						<string key="majorKey">IBProjectSource</string>
+						<string key="minorKey">./Classes/AIAlternatingRowOutlineView.h</string>
+					</object>
+				</object>
+				<object class="IBPartialClassDescription">
 					<string key="className">AIAutoScrollView</string>
 					<string key="superclassName">NSScrollView</string>
 					<object class="IBClassDescriptionSource" key="sourceIdentifier">
@@ -1039,6 +1047,14 @@
 					</object>
 				</object>
 				<object class="IBPartialClassDescription">
+					<string key="className">AIListOutlineView</string>
+					<string key="superclassName">AIMultiCellOutlineView</string>
+					<object class="IBClassDescriptionSource" key="sourceIdentifier">
+						<string key="majorKey">IBProjectSource</string>
+						<string key="minorKey">./Classes/AIListOutlineView.h</string>
+					</object>
+				</object>
+				<object class="IBPartialClassDescription">
 					<string key="className">AIMessageEntryTextView</string>
 					<string key="superclassName">AISendingTextView</string>
 					<object class="IBClassDescriptionSource" key="sourceIdentifier">
@@ -1152,6 +1168,91 @@
 						<string key="minorKey">./Classes/AIMessageViewController.h</string>
 					</object>
 				</object>
+				<object class="IBPartialClassDescription">
+					<string key="className">AIMessageWindowOutgoingScrollView</string>
+					<string key="superclassName">NSScrollView</string>
+					<object class="IBClassDescriptionSource" key="sourceIdentifier">
+						<string key="majorKey">IBProjectSource</string>
+						<string key="minorKey">./Classes/AIMessageWindowOutgoingScrollView.h</string>
+					</object>
+				</object>
+				<object class="IBPartialClassDescription">
+					<string key="className">AIMultiCellOutlineView</string>
+					<string key="superclassName">AIVariableHeightOutlineView</string>
+					<object class="IBClassDescriptionSource" key="sourceIdentifier">
+						<string key="majorKey">IBProjectSource</string>
+						<string key="minorKey">./Classes/AIMultiCellOutlineView.h</string>
+					</object>
+				</object>
+				<object class="IBPartialClassDescription">
+					<string key="className">AIOutlineView</string>
+					<string key="superclassName">NSOutlineView</string>
+					<object class="IBClassDescriptionSource" key="sourceIdentifier">
+						<string key="majorKey">IBProjectSource</string>
+						<string key="minorKey">./Classes/AIOutlineView.h</string>
+					</object>
+				</object>
+				<object class="IBPartialClassDescription">
+					<string key="className">AISendingTextView</string>
+					<string key="superclassName">AITextViewWithPlaceholder</string>
+					<object class="NSMutableDictionary" key="actions">
+						<string key="NS.key.0">sendContent:</string>
+						<string key="NS.object.0">id</string>
+					</object>
+					<object class="NSMutableDictionary" key="actionInfosByName">
+						<string key="NS.key.0">sendContent:</string>
+						<object class="IBActionInfo" key="NS.object.0">
+							<string key="name">sendContent:</string>
+							<string key="candidateClassName">id</string>
+						</object>
+					</object>
+					<object class="IBClassDescriptionSource" key="sourceIdentifier">
+						<string key="majorKey">IBProjectSource</string>
+						<string key="minorKey">./Classes/AISendingTextView.h</string>
+					</object>
+				</object>
+				<object class="IBPartialClassDescription">
+					<string key="className">AITextViewWithPlaceholder</string>
+					<string key="superclassName">NSTextView</string>
+					<object class="IBClassDescriptionSource" key="sourceIdentifier">
+						<string key="majorKey">IBProjectSource</string>
+						<string key="minorKey">./Classes/AITextViewWithPlaceholder.h</string>
+					</object>
+				</object>
+				<object class="IBPartialClassDescription">
+					<string key="className">AIUserListOutlineView</string>
+					<string key="superclassName">AIListOutlineView</string>
+					<object class="IBClassDescriptionSource" key="sourceIdentifier">
+						<string key="majorKey">IBProjectSource</string>
+						<string key="minorKey">./Classes/AIUserListOutlineView.h</string>
+					</object>
+				</object>
+				<object class="IBPartialClassDescription">
+					<string key="className">AIVariableHeightOutlineView</string>
+					<string key="superclassName">AIAlternatingRowOutlineView</string>
+					<object class="IBClassDescriptionSource" key="sourceIdentifier">
+						<string key="majorKey">IBProjectSource</string>
+						<string key="minorKey">./Classes/AIVariableHeightOutlineView.h</string>
+					</object>
+				</object>
+				<object class="IBPartialClassDescription">
+					<string key="className">NSObject</string>
+					<object class="NSMutableDictionary" key="actions">
+						<string key="NS.key.0">selectServiceType:</string>
+						<string key="NS.object.0">id</string>
+					</object>
+					<object class="NSMutableDictionary" key="actionInfosByName">
+						<string key="NS.key.0">selectServiceType:</string>
+						<object class="IBActionInfo" key="NS.object.0">
+							<string key="name">selectServiceType:</string>
+							<string key="candidateClassName">id</string>
+						</object>
+					</object>
+					<object class="IBClassDescriptionSource" key="sourceIdentifier">
+						<string key="majorKey">IBProjectSource</string>
+						<string key="minorKey">./Classes/NSObject.h</string>
+					</object>
+				</object>
 			</array>
 		</object>
 		<int key="IBDocument.localizationMode">0</int>




More information about the commits mailing list