Revision: 5562
          http://skim-app.svn.sourceforge.net/skim-app/?rev=5562&view=rev
Author:   hofman
Date:     2009-08-16 11:37:34 +0000 (Sun, 16 Aug 2009)

Log Message:
-----------
rename an enum value

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

Modified: trunk/SKSideWindow.m
===================================================================
--- trunk/SKSideWindow.m        2009-08-16 11:33:55 UTC (rev 5561)
+++ trunk/SKSideWindow.m        2009-08-16 11:37:34 UTC (rev 5562)
@@ -54,11 +54,11 @@
 
 #define SKHideClosedFullScreenSidePanelsKey @"SKHideClosedFullScreenSidePanels"
 
-enum { SKClosedSidePanelDefault, SKClosedSidePanelAutoHide, 
SKClosedSidePanelHide };
+enum { SKClosedSidePanelCollapse, SKClosedSidePanelAutoHide, 
SKClosedSidePanelHide };
 
 @implementation SKSideWindow
 
-static NSUInteger hideWhenClosed = SKClosedSidePanelDefault;
+static NSUInteger hideWhenClosed = SKClosedSidePanelCollapse;
 
 + (void)initialize {
     SKINITIALIZE;
@@ -112,7 +112,7 @@
     frame = NSInsetRect(frame, 0.0, WINDOW_INSET);
     [self setFrame:frame display:NO];
     state = NSDrawerClosedState;
-    if (hideWhenClosed != SKClosedSidePanelDefault)
+    if (hideWhenClosed != SKClosedSidePanelCollapse)
         [self setAlphaValue:0.0];
     [[self contentView] setAcceptsMouseOver:YES];
 }
@@ -146,7 +146,7 @@
         if ([self isKeyWindow])
             [[controller window] makeKeyAndOrderFront:self];
         state = NSDrawerClosedState;
-        if (hideWhenClosed != SKClosedSidePanelDefault) {
+        if (hideWhenClosed != SKClosedSidePanelCollapse) {
             if ([self respondsToSelector:@selector(animator)])
                 [self performSelector:@selector(makeTransparent) 
withObject:nil afterDelay:[[NSAnimationContext currentContext] duration]];
             else


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

------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with 
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
_______________________________________________
Skim-app-commit mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/skim-app-commit

Reply via email to