From cdbbadba94d42a82c8c5773fd3fdef746e7ad8e4 Mon Sep 17 00:00:00 2001 From: stuconnolly Date: Tue, 9 Nov 2010 20:04:44 +0000 Subject: Comments. --- Source/SPConnectionController.m | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'Source/SPConnectionController.m') diff --git a/Source/SPConnectionController.m b/Source/SPConnectionController.m index ce2acd3f..f8e9db18 100644 --- a/Source/SPConnectionController.m +++ b/Source/SPConnectionController.m @@ -1153,7 +1153,7 @@ } /** - * + * Builds a tree structure from the user's connection favorties by wrapping them in SPFavoriteNode instances. */ - (void)_buildFavoritesTree { @@ -1161,12 +1161,12 @@ favoritesRoot = [[SPFavoriteNode alloc] init]; + // Add a dummy item to represent the favorites heading SPFavoriteNode *favoritesNode = [[SPFavoriteNode alloc] init]; [favoritesNode setIsGroup:YES]; [favoritesNode setFavorite:[NSDictionary dictionaryWithObject:NSLocalizedString(@"FAVORITES", @"Favorites title at the top of the sidebar") forKey:@"name"]]; - for (NSDictionary *favorite in favorites) { SPFavoriteNode *node2 = [[SPFavoriteNode alloc] init]; -- cgit v1.2.3