Revision: 6591
          http://skim-app.svn.sourceforge.net/skim-app/?rev=6591&view=rev
Author:   hofman
Date:     2010-06-18 09:52:53 +0000 (Fri, 18 Jun 2010)

Log Message:
-----------
complete openBookmark method to handle folders

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

Modified: trunk/SKBookmarkController.m
===================================================================
--- trunk/SKBookmarkController.m        2010-06-18 09:48:22 UTC (rev 6590)
+++ trunk/SKBookmarkController.m        2010-06-18 09:52:53 UTC (rev 6591)
@@ -381,6 +381,10 @@
             [self openFileBookmark:[bookmark objectInChildrenAtIndex:i]];
     } else if ([bookmark bookmarkType] == SKBookmarkTypeBookmark) {
         [self openFileBookmark:bookmark];
+    } else if ([bookmark bookmarkType] == SKBookmarkTypeFolder) {
+        NSInteger i = [bookmark countOfChildren];
+        while (i--)
+            [self openBookmark:[bookmark objectInChildrenAtIndex:i]];
     }
 }
 


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

------------------------------------------------------------------------------
ThinkGeek and WIRED's GeekDad team up for the Ultimate 
GeekDad Father's Day Giveaway. ONE MASSIVE PRIZE to the 
lucky parental unit.  See the prize list and enter to win: 
http://p.sf.net/sfu/thinkgeek-promo
_______________________________________________
Skim-app-commit mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/skim-app-commit

Reply via email to