Commit aaf7998b authored by Pierre d'Herbemont's avatar Pierre d'Herbemont

macosx/vlc_app: Display an indicator when waiting for playlist content.

parent 35fd46d3
This source diff could not be displayed because it is too large. You can view the blob instead.
...@@ -58,7 +58,7 @@ ...@@ -58,7 +58,7 @@
IBOutlet VLCBrowsableVideoView * videoView; IBOutlet VLCBrowsableVideoView * videoView;
/* Controllers */ /* Controllers */
IBOutlet NSTreeController * categoriesTreeController; NSTreeController * categoriesTreeController;
IBOutlet VLCMediaArrayController * mediaArrayController; IBOutlet VLCMediaArrayController * mediaArrayController;
IBOutlet VLCMediaPlayer * mediaPlayer; IBOutlet VLCMediaPlayer * mediaPlayer;
IBOutlet VLCController * controller; /* This is a VLCController binded to the File's Owner of the nib */ IBOutlet VLCController * controller; /* This is a VLCController binded to the File's Owner of the nib */
...@@ -74,6 +74,7 @@ ...@@ -74,6 +74,7 @@
@property (readonly) VLCMediaPlayer * mediaPlayer; @property (readonly) VLCMediaPlayer * mediaPlayer;
@property (readonly) VLCBrowsableVideoView * videoView; @property (readonly) VLCBrowsableVideoView * videoView;
@property (readonly) VLCMediaArrayController * mediaArrayController; @property (readonly) VLCMediaArrayController * mediaArrayController;
@property (readonly) NSTreeController * categoriesTreeController;
- (IBAction)mediaListViewItemDoubleClicked:(id)sender; - (IBAction)mediaListViewItemDoubleClicked:(id)sender;
- (void)videoViewItemClicked:(id)sender; - (void)videoViewItemClicked:(id)sender;
......
...@@ -35,6 +35,7 @@ ...@@ -35,6 +35,7 @@
@synthesize mediaPlayer; @synthesize mediaPlayer;
@synthesize videoView; @synthesize videoView;
@synthesize mediaArrayController; @synthesize mediaArrayController;
@synthesize categoriesTreeController;
- (void)awakeFromNib - (void)awakeFromNib
{ {
...@@ -45,8 +46,9 @@ ...@@ -45,8 +46,9 @@
*/ */
NSAssert( mediaPlayer, @"No mediaPlayer" ); NSAssert( mediaPlayer, @"No mediaPlayer" );
[self willChangeValueForKey:@"categoriesTreeController"];
categoriesTreeController = [[NSTreeController alloc] init]; categoriesTreeController = [[NSTreeController alloc] init];
[self didChangeValueForKey:@"categoriesTreeController"];
/*********************************** /***********************************
* CategoriesList OutlineView content * CategoriesList OutlineView content
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment