Revision: 5378
          http://skim-app.svn.sourceforge.net/skim-app/?rev=5378&view=rev
Author:   hofman
Date:     2009-05-12 15:18:24 +0000 (Tue, 12 May 2009)

Log Message:
-----------
somehow appkit does not follow my selection changes lately, very annoying

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

Modified: trunk/NSScrollView_SKExtensions.m
===================================================================
--- trunk/NSScrollView_SKExtensions.m   2009-05-12 15:14:46 UTC (rev 5377)
+++ trunk/NSScrollView_SKExtensions.m   2009-05-12 15:18:24 UTC (rev 5378)
@@ -62,13 +62,13 @@
 
 - (void)replacement_setHasHorizontalScroller:(BOOL)flag;
 {
-    CFDictionaryRemoveValue(scrollViewPlacardViews, self);
+    if (CFDictionaryContainsKey(scrollViewPlacardViews, self) == FALSE)
         original_setHasHorizontalScroller(self, _cmd, flag);
 }
 
 - (void)replacement_setAutohidesScrollers:(BOOL)flag;
 {
-    CFDictionaryRemoveValue(scrollViewPlacardViews, self);
+    if (CFDictionaryContainsKey(scrollViewPlacardViews, self) == FALSE)
         original_setAutohidesScrollers(self, _cmd, flag);
 }
 


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

------------------------------------------------------------------------------
The NEW KODAK i700 Series Scanners deliver under ANY circumstances! Your
production scanning environment may not be a perfect world - but thanks to
Kodak, there's a perfect scanner to get the job done! With the NEW KODAK i700
Series Scanner you'll get full speed at 300 dpi even with all image 
processing features enabled. http://p.sf.net/sfu/kodak-com
_______________________________________________
Skim-app-commit mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/skim-app-commit

Reply via email to