From: <ho...@us...> - 2010-06-18 09:52:59
|
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. |