Revision: 7078
          http://skim-app.svn.sourceforge.net/skim-app/?rev=7078&view=rev
Author:   hofman
Date:     2011-01-21 18:23:02 +0000 (Fri, 21 Jan 2011)

Log Message:
-----------
explicitly change enabled state of downloads Clear button when a download did 
end, because the binding mechanism does not notice the changes

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

Modified: trunk/SKDownloadController.m
===================================================================
--- trunk/SKDownloadController.m        2011-01-21 18:08:03 UTC (rev 7077)
+++ trunk/SKDownloadController.m        2011-01-21 18:23:02 UTC (rev 7078)
@@ -319,6 +319,8 @@
                 [[self window] close];
         }
     }
+    // binding does not notice the change to canRemove
+    [clearButton setEnabled:[[downloads valueForKeyPath:@"@max.canRemove"] 
boolValue]];
 }
 
 #pragma mark NSTableViewDataSource


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

------------------------------------------------------------------------------
Special Offer-- Download ArcSight Logger for FREE (a $49 USD value)!
Finally, a world-class log management solution at an even better price-free!
Download using promo code Free_Logger_4_Dev2Dev. Offer expires 
February 28th, so secure your free ArcSight Logger TODAY! 
http://p.sf.net/sfu/arcsight-sfd2d
_______________________________________________
Skim-app-commit mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/skim-app-commit

Reply via email to