[totem] Bug 638567 — Totem shows 'videoplayback' instead of the video title



commit 3bbc968ce21b0af0f586169cec87e60493d4af7c
Author: Philip Withnall <philip tecnocode co uk>
Date:   Sat Jan 29 13:57:54 2011 +0000

    Bug 638567 â?? Totem shows 'videoplayback' instead of the video title
    
    Fix totem_object_add_to_playlist_and_play() to use totem_action_add_recent()
    so that adding recent items is handled uniformly. This ensures that YouTube
    videos never appear in the Movie menu's recently used items list, as they're
    now correctly recognised as streams. It also ensures that they're stored in
    the recently used files list with the correct display name.
    
    Closes: bgo#638567

 src/totem-object.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/src/totem-object.c b/src/totem-object.c
index 6dc10e5..0d4acc8 100644
--- a/src/totem-object.c
+++ b/src/totem-object.c
@@ -505,7 +505,7 @@ add_to_playlist_and_play_cb (TotemPlaylist *playlist, GAsyncResult *async_result
 	playlist_changed = totem_playlist_add_mrl_finish (playlist, async_result);
 
 	if (data->add_to_recent != FALSE)
-		gtk_recent_manager_add_item (data->totem->recent_manager, data->uri);
+		totem_action_add_recent (data->totem, data->uri, data->display_name);
 	end = totem_playlist_get_last (playlist);
 
 	totem_signal_unblock_by_data (playlist, data->totem);



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