Revision: 7341
          http://skim-app.svn.sourceforge.net/skim-app/?rev=7341&view=rev
Author:   hofman
Date:     2011-07-09 23:46:16 +0000 (Sat, 09 Jul 2011)

Log Message:
-----------
open downloads window when prefs say we should

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

Modified: trunk/SKApplicationController.m
===================================================================
--- trunk/SKApplicationController.m     2011-07-09 23:44:51 UTC (rev 7340)
+++ trunk/SKApplicationController.m     2011-07-09 23:46:16 UTC (rev 7341)
@@ -471,6 +471,8 @@
 
 - (void)insertObject:(SKDownload *)download 
inDownloadsAtIndex:(NSUInteger)anIndex {
     [[SKDownloadController sharedDownloadController] insertObject:download 
inDownloadsAtIndex:anIndex];
+    if ([[NSUserDefaults standardUserDefaults] 
boolForKey:SKAutoOpenDownloadsWindowKey])
+        [[SKDownloadController sharedDownloadController] showWindow:nil];
 }
 
 - (void)removeObjectFromDownloadsAtIndex:(NSUInteger)anIndex {


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

------------------------------------------------------------------------------
All of the data generated in your IT infrastructure is seriously valuable.
Why? It contains a definitive record of application performance, security 
threats, fraudulent activity, and more. Splunk takes this data and makes 
sense of it. IT sense. And common sense.
http://p.sf.net/sfu/splunk-d2d-c2
_______________________________________________
Skim-app-commit mailing list
Skim-app-commit@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/skim-app-commit

Reply via email to