summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBastien Nocera <hadess@hadess.net>2008-06-09 14:16:10 +0000
committerBastien Nocera <hadess@src.gnome.org>2008-06-09 14:16:10 +0000
commit7e19960787f7824f12cdeb1392b99cb1f9b855ed (patch)
treef516f2d00218248deff1973c31358f994da2ab86
parentd755df4b4c42ed91555df4cad81c59e29f6044df (diff)
downloadtotem-7e19960787f7824f12cdeb1392b99cb1f9b855ed.tar.gz
Hide the controls by default in the VLC plugin (Closes: #526738)
2008-06-09 Bastien Nocera <hadess@hadess.net> * browser-plugin/totemPlugin.cpp: Hide the controls by default in the VLC plugin (Closes: #526738) svn path=/trunk/; revision=5454
-rw-r--r--ChangeLog5
-rw-r--r--browser-plugin/totemPlugin.cpp5
2 files changed, 10 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog
index e25a51253..26dd048cd 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,10 @@
2008-06-09 Bastien Nocera <hadess@hadess.net>
+ * browser-plugin/totemPlugin.cpp: Hide the controls by
+ default in the VLC plugin (Closes: #526738)
+
+2008-06-09 Bastien Nocera <hadess@hadess.net>
+
* browser-plugin/Makefile.am:
* browser-plugin/totemComplexPlayer.cpp:
* browser-plugin/totemComplexPlayer.h:
diff --git a/browser-plugin/totemPlugin.cpp b/browser-plugin/totemPlugin.cpp
index ddd20e270..510fddc5b 100644
--- a/browser-plugin/totemPlugin.cpp
+++ b/browser-plugin/totemPlugin.cpp
@@ -2039,6 +2039,11 @@ totemPlugin::Init (NPMIMEType mimetype,
#endif /* TOTEM_NARROWSPACE_PLUGIN || TOTEM_BASIC_PLUGIN */
+/* VLC plugin defaults to have its controller hidden */
+#ifdef TOTEM_CONE_PLUGIN
+ mControllerHidden = true;
+#endif
+
#if defined(TOTEM_COMPLEX_PLUGIN) && defined(HAVE_NSTARRAY_H)
value = (const char *) g_hash_table_lookup (args, "console");
if (value) {