Commit 10daf9ee authored by Felix Paul Kühne's avatar Felix Paul Kühne
Browse files

macosx: don't show the 'hey, we found an update' dialog when playing a video

parent ce55da2e
......@@ -754,6 +754,8 @@ static VLCMain *_o_sharedMainInstance = nil;
[NSBundle loadNibNamed:@"MainWindow" owner: self];
[o_mainwindow makeKeyAndOrderFront:nil];
[[SUUpdater sharedUpdater] setDelegate:self];
- (void)applicationDidFinishLaunching:(NSNotification *)aNotification
......@@ -936,6 +938,15 @@ static VLCMain *_o_sharedMainInstance = nil;
[[VLCCoreInteraction sharedInstance] stop];
/* don't be enthusiastic about an update if we currently play a video */
- (BOOL)updaterMayCheckForUpdates:(SUUpdater *)bundle
if ([self activeVideoPlayback])
return NO;
return YES;
#pragma mark -
#pragma mark Media Key support
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