summaryrefslogtreecommitdiff
path: root/browser-plugin
diff options
context:
space:
mode:
authorBastien Nocera <hadess@hadess.net>2009-09-03 14:11:16 +0100
committerBastien Nocera <hadess@hadess.net>2009-09-03 14:11:16 +0100
commit149a572a2b11517a7cde9a73f44af0bf947428f3 (patch)
tree1f0d3c1e7dd9ba64ef0e3606b789bfd9b8a70ec9 /browser-plugin
parent25a45ed4e16bac71eaed6455f8cf6f5f2f6ee19d (diff)
downloadtotem-149a572a2b11517a7cde9a73f44af0bf947428f3.tar.gz
BugĀ 593556 - Controls not shown in non-fullscreen mode
Show the controls when VLC mode wasn't explicitely asked.
Diffstat (limited to 'browser-plugin')
-rw-r--r--browser-plugin/totemPlugin.cpp7
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)