File tree Expand file tree Collapse file tree 2 files changed +7
-1
lines changed Expand file tree Collapse file tree 2 files changed +7
-1
lines changed Original file line number Diff line number Diff line change @@ -342,6 +342,11 @@ - (void)outlineView:(NSOutlineView *)outlineView willDisplayCell:(PBSourceViewCe
342
342
[cell setImage: [item icon ]];
343
343
}
344
344
345
+ - (NSString *)outlineView : (NSOutlineView *)outlineView toolTipForCell : (NSCell *)cell rect : (NSRectPointer )rect tableColumn : (NSTableColumn *)tc item : (id )item mouseLocation : (NSPoint )mouseLocation
346
+ {
347
+ return [item helpText ];
348
+ }
349
+
345
350
- (BOOL )outlineView : (NSOutlineView *)outlineView shouldSelectItem : (id )item
346
351
{
347
352
return ![item isGroupItem ];
Original file line number Diff line number Diff line change 14
14
@interface PBSourceViewItem : NSObject {
15
15
NSMutableArray *children;
16
16
17
- NSString *title;
17
+ NSString *title, *helpText ;
18
18
PBGitRevSpecifier *revSpecifier;
19
19
PBSourceViewItem *parent;
20
20
43
43
- (PBGitRef *) ref ;
44
44
45
45
@property (retain ) NSString *title;
46
+ @property (retain ) NSString *helpText;
46
47
@property (readonly ) NSMutableArray *children;
47
48
@property (assign ) BOOL isGroupItem, isUncollapsible;
48
49
@property (retain ) PBGitRevSpecifier *revSpecifier;
You can’t perform that action at this time.
0 commit comments