[vlc-commits] macosx: make sure we can't access the split view while showing a video
Felix Paul Kühne
git at videolan.org
Fri Aug 19 17:56:49 CEST 2011
vlc | branch: master | Felix Paul Kühne <fkuehne at videolan.org> | Fri Aug 19 17:56:46 2011 +0200| [d8937ba2829fbf755ef81d44818e72bfbb6c3059] | committer: Felix Paul Kühne
macosx: make sure we can't access the split view while showing a video
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=d8937ba2829fbf755ef81d44818e72bfbb6c3059
---
modules/gui/macosx/MainWindow.m | 5 +++--
1 files changed, 3 insertions(+), 2 deletions(-)
diff --git a/modules/gui/macosx/MainWindow.m b/modules/gui/macosx/MainWindow.m
index b449b2e..95a84cd4 100644
--- a/modules/gui/macosx/MainWindow.m
+++ b/modules/gui/macosx/MainWindow.m
@@ -463,17 +463,18 @@ static VLCMainWindow *_o_sharedInstance = nil;
if (!b_nonembedded)
{
if ([o_video_view isHidden] && [o_playlist_btn isEnabled]) {
- [o_playlist_table setHidden: YES];
+ [o_split_view setHidden: YES];
[o_video_view setHidden: NO];
}
else
{
[o_video_view setHidden: YES];
- [o_playlist_table setHidden: NO];
+ [o_split_view setHidden: NO];
}
}
else
{
+ [o_split_view setHidden: NO];
[o_playlist_table setHidden: NO];
[o_video_view setHidden: ![[VLCMain sharedInstance] activeVideoPlayback]];
}
More information about the vlc-commits
mailing list