Revision: 5066
          http://skim-app.svn.sourceforge.net/skim-app/?rev=5066&view=rev
Author:   hofman
Date:     2008-12-16 12:20:16 +0000 (Tue, 16 Dec 2008)

Log Message:
-----------
directly add navigation separator subview

Modified Paths:
--------------
    trunk/SKNavigationWindow.m

Modified: trunk/SKNavigationWindow.m
===================================================================
--- trunk/SKNavigationWindow.m  2008-12-16 12:13:07 UTC (rev 5065)
+++ trunk/SKNavigationWindow.m  2008-12-16 12:20:16 UTC (rev 5066)
@@ -95,8 +95,7 @@
         
         rect.origin.x = NSMaxX(rect);
         rect.size.width = SEP_WIDTH;
-        button = [[[SKNavigationSeparator alloc] initWithFrame:rect] 
autorelease];
-        [[self contentView] addSubview:button];
+        [[self contentView] addSubview:[[[SKNavigationSeparator alloc] 
initWithFrame:rect] autorelease]];
         
         rect.origin.x = NSMaxX(rect);
         rect.size.width = BUTTON_WIDTH;
@@ -116,8 +115,7 @@
         
         rect.origin.x = NSMaxX(rect);
         rect.size.width = SEP_WIDTH;
-        button = [[[SKNavigationSeparator alloc] initWithFrame:rect] 
autorelease];
-        [[self contentView] addSubview:button];
+        [[self contentView] addSubview:[[[SKNavigationSeparator alloc] 
initWithFrame:rect] autorelease]];
         
         rect.origin.x = NSMaxX(rect);
         rect.size.width = BUTTON_WIDTH;


This was sent by the SourceForge.net collaborative development platform, the 
world's largest Open Source development site.

------------------------------------------------------------------------------
SF.Net email is Sponsored by MIX09, March 18-20, 2009 in Las Vegas, Nevada.
The future of the web can't happen without you.  Join us at MIX09 to help
pave the way to the Next Web now. Learn more and register at
http://ad.doubleclick.net/clk;208669438;13503038;i?http://2009.visitmix.com/
_______________________________________________
Skim-app-commit mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/skim-app-commit

Reply via email to