Revision: 4767
          http://skim-app.svn.sourceforge.net/skim-app/?rev=4767&view=rev
Author:   hofman
Date:     2008-10-08 20:16:48 +0000 (Wed, 08 Oct 2008)

Log Message:
-----------
invert condition

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

Modified: trunk/SKNotesDocument.m
===================================================================
--- trunk/SKNotesDocument.m     2008-10-08 20:15:32 UTC (rev 4766)
+++ trunk/SKNotesDocument.m     2008-10-08 20:16:48 UTC (rev 4767)
@@ -685,7 +685,7 @@
 }
 
 - (BOOL)validateToolbarItem:(NSToolbarItem *)toolbarItem {
-    if (NO == [[[[[self windowControllers] objectAtIndex:0] window] toolbar] 
customizationPaletteIsRunning])
+    if ([[[[[self windowControllers] objectAtIndex:0] window] toolbar] 
customizationPaletteIsRunning])
         return NO;
     else if ([[toolbarItem itemIdentifier] 
isEqualToString:SKNotesDocumentOpenPDFToolbarItemIdentifier])
         return [[NSFileManager defaultManager] fileExistsAtPath:[[self 
fileName] stringByReplacingPathExtension:@"pdf"]];


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

-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Skim-app-commit mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/skim-app-commit

Reply via email to