diff options
Diffstat (limited to 'cocoa/Tree.m')
-rw-r--r-- | cocoa/Tree.m | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/cocoa/Tree.m b/cocoa/Tree.m index b0f5c7c0a..005b1aefe 100644 --- a/cocoa/Tree.m +++ b/cocoa/Tree.m @@ -78,6 +78,14 @@ static const struct treeview_table cocoa_tree_callbacks = { tree_set_redraw( tree, newRedrawing ); } + ++ (void) initialize; +{ + if (self == [Tree class]) { + tree_set_icon_dir( strdup( [[[NSBundle mainBundle] pathForResource: @"Icons" ofType: @""] UTF8String] ) ); + } +} + //MARK: - //MARK: Callbacks |