aboutsummaryrefslogtreecommitdiffstats
path: root/Source/SPConnectionController.m
diff options
context:
space:
mode:
authorstuconnolly <stuart02@gmail.com>2010-11-09 20:04:44 +0000
committerstuconnolly <stuart02@gmail.com>2010-11-09 20:04:44 +0000
commitcdbbadba94d42a82c8c5773fd3fdef746e7ad8e4 (patch)
tree3c1c0033c8f008f08af55d9d00963cd5eec420a8 /Source/SPConnectionController.m
parent0a5acd7a34f5e759171a82b0e4995b25d815d5cf (diff)
downloadsequelpro-cdbbadba94d42a82c8c5773fd3fdef746e7ad8e4.tar.gz
sequelpro-cdbbadba94d42a82c8c5773fd3fdef746e7ad8e4.tar.bz2
sequelpro-cdbbadba94d42a82c8c5773fd3fdef746e7ad8e4.zip
Comments.
Diffstat (limited to 'Source/SPConnectionController.m')
-rw-r--r--Source/SPConnectionController.m4
1 files changed, 2 insertions, 2 deletions
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];