totem r6034 - in trunk: . browser-plugin



Author: hadess
Date: Tue Mar  3 11:43:08 2009
New Revision: 6034
URL: http://svn.gnome.org/viewvc/totem?rev=6034&view=rev

Log:
2009-03-03  Bastien Nocera  <hadess hadess net>

	* browser-plugin/totem-plugin-viewer.c (totem_embedded_open_uri):
	Fix repeat not working when we open a single file ourselves,
	patch from Kazuhiro Yamato <kyamato miraclelinux com>
	(Closes: #572942)



Modified:
   trunk/ChangeLog
   trunk/browser-plugin/totem-plugin-viewer.c

Modified: trunk/browser-plugin/totem-plugin-viewer.c
==============================================================================
--- trunk/browser-plugin/totem-plugin-viewer.c	(original)
+++ trunk/browser-plugin/totem-plugin-viewer.c	Tue Mar  3 11:43:08 2009
@@ -906,6 +906,9 @@
 	totem_embedded_clear_playlist (emb, NULL);
 
 	totem_embedded_set_uri (emb, uri, base_uri, FALSE);
+	/* We can only have one item in the "playlist" when
+	 * we open a particular URI like this */
+	emb->num_items = 1;
 
 	return totem_embedded_open_internal (emb, TRUE, error);
 }



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