diff options
author | Philip Withnall <philip@tecnocode.co.uk> | 2011-01-29 13:57:54 +0000 |
---|---|---|
committer | Philip Withnall <philip@tecnocode.co.uk> | 2011-01-29 13:57:54 +0000 |
commit | 3bbc968ce21b0af0f586169cec87e60493d4af7c (patch) | |
tree | 3b5ab81136d8f359112e28a231fc87cf291b5f94 | |
parent | 8cd55a6f9d12dbd939af87b52d699983cb1060db (diff) | |
download | totem-3bbc968ce21b0af0f586169cec87e60493d4af7c.tar.gz |
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
-rw-r--r-- | 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 6dc10e521..0d4acc84b 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); |