[totem] Never use the browser for the NarrowSpace plugin



commit ce11ce47ead3b058f6c405d9916019ecc5c63b1d
Author: Bastien Nocera <hadess hadess net>
Date:   Sat Apr 10 16:45:59 2010 +0100

    Never use the browser for the NarrowSpace plugin
    
    By default, the QuickTime plugin *might* use the browser to load movies,
    usually respecting the QTSRCDONTUSEBROWSER parameter.
    
    But then again, QTSRCDONTUSEBROWSER is only for QtSrc, not SRC itself.

 browser-plugin/totemPlugin.cpp |    3 +++
 1 files changed, 3 insertions(+), 0 deletions(-)
---
diff --git a/browser-plugin/totemPlugin.cpp b/browser-plugin/totemPlugin.cpp
index e328f33..a30ffcc 100644
--- a/browser-plugin/totemPlugin.cpp
+++ b/browser-plugin/totemPlugin.cpp
@@ -1058,6 +1058,9 @@ totemPlugin::RequestStream (bool aForceViewer)
 		requestURL = href;
 	}
 #endif
+
+       /* We should be following QTSRCDONTUSEBROWSER instead */
+	aForceViewer = true;
 #endif /* TOTEM_NARROWSPACE_PLUGIN */
 
 #if defined (TOTEM_MULLY_PLUGIN) || defined (TOTEM_CONE_PLUGIN)



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]