Skip to content

Commit

Permalink
display arrow next to tags in the results list so the user knows ther…
Browse files Browse the repository at this point in the history
…e are children
  • Loading branch information
skurfer committed May 1, 2011
1 parent 54695f1 commit c9c64c7
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions Yojimbo/QSYojimboPlugInSource.m
Expand Up @@ -39,6 +39,14 @@ - (NSImage *) iconForEntry:(NSDictionary *)dict{
return [QSResourceManager imageNamed:@"com.barebones.yojimbo"];
}

- (BOOL)objectHasChildren:(QSObject *)object {
// indicate that tags can be arrowed into
if ([object containsType:kQSYojimboTagType])
{
return YES;
}
}

- (BOOL)loadChildrenForObject:(QSObject *)object{
if ([object containsType:kQSYojimboTagType])
{
Expand Down

0 comments on commit c9c64c7

Please sign in to comment.