diff options
author | Bastien Nocera <hadess@hadess.net> | 2009-09-03 14:11:16 +0100 |
---|---|---|
committer | Bastien Nocera <hadess@hadess.net> | 2009-09-03 14:11:16 +0100 |
commit | 149a572a2b11517a7cde9a73f44af0bf947428f3 (patch) | |
tree | 1f0d3c1e7dd9ba64ef0e3606b789bfd9b8a70ec9 | |
parent | 25a45ed4e16bac71eaed6455f8cf6f5f2f6ee19d (diff) | |
download | totem-149a572a2b11517a7cde9a73f44af0bf947428f3.tar.gz |
BugĀ 593556 - Controls not shown in non-fullscreen mode
Show the controls when VLC mode wasn't explicitely asked.
-rw-r--r-- | browser-plugin/totemPlugin.cpp | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/browser-plugin/totemPlugin.cpp b/browser-plugin/totemPlugin.cpp index 7745e7531..ecefa056d 100644 --- a/browser-plugin/totemPlugin.cpp +++ b/browser-plugin/totemPlugin.cpp @@ -2110,9 +2110,12 @@ totemPlugin::Init (NPMIMEType mimetype, #endif /* TOTEM_NARROWSPACE_PLUGIN */ -/* VLC plugin defaults to have its controller hidden */ +/* VLC plugin defaults to have its controller hidden + * But we don't want to hide it if VLC wasn't explicitely + * requested */ #ifdef TOTEM_CONE_PLUGIN - mControllerHidden = true; + if (strstr ((const char *) mimetype, "vlc") != NULL) + mControllerHidden = true; #endif #if defined(TOTEM_COMPLEX_PLUGIN) && defined(HAVE_NSTARRAY_H) |