[vlc-commits] windowed mac plugin: don't show toolbar, if web page author doesn' t want us to
Felix Paul Kühne
git at videolan.org
Wed Jan 16 15:48:23 CET 2013
npapi-vlc | branch: master | Felix Paul Kühne <fkuehne at videolan.org> | Wed Jan 16 15:48:06 2013 +0100| [3e6d24b7f31bd51e01319556022d41f3d42f78c5] | committer: Felix Paul Kühne
windowed mac plugin: don't show toolbar, if web page author doesn't want us to
> http://git.videolan.org/gitweb.cgi/npapi-vlc.git/?a=commit;h=3e6d24b7f31bd51e01319556022d41f3d42f78c5
---
npapi/vlcplugin_mac.mm | 2 ++
1 file changed, 2 insertions(+)
diff --git a/npapi/vlcplugin_mac.mm b/npapi/vlcplugin_mac.mm
index d27eda6..79a71a6 100644
--- a/npapi/vlcplugin_mac.mm
+++ b/npapi/vlcplugin_mac.mm
@@ -263,6 +263,8 @@ int VlcPluginMac::get_fullscreen()
void VlcPluginMac::set_toolbar_visible(bool b_value)
{
+ if (!get_options().get_show_toolbar())
+ return;
[controllerLayer setHidden: !b_value];
}
More information about the vlc-commits
mailing list