- NSLog( @"%@ received", [o_notification name] );
- if( [[o_notification name] isEqualToString: @"VLCCoreDialogProgressBarUpdateNotification"] )
- {
- NSNumber *o_number = [[o_notification userInfo] objectForKey:@"IntValue"];
- NSString *o_text = [[o_notification userInfo] objectForKey:@"Text"];
- [o_prog_description_txt setStringValue: o_text];
- [o_prog_bar setDoubleValue: [o_number doubleValue]];
- }
- if( [[o_notification name] isEqualToString: @"VLCCoreDialogProgressBarDestroyNotification"] )
- {
- [NSApp stopModalWithCode: 0];
- [o_prog_win close];
- }