summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorBastien Nocera <hadess@hadess.net>2014-01-26 14:45:23 +0100
committerBastien Nocera <hadess@hadess.net>2014-01-26 14:55:43 +0100
commit4eefb7ec5dadb8386238a3594473790857f424fd (patch)
tree301b022013bc74190a71f756422e00944ad25eca /src
parentad5fe3518c47af9367ee76a2b4b129ef8ab7505d (diff)
downloadtotem-4eefb7ec5dadb8386238a3594473790857f424fd.tar.gz
playlist: Send "current-removed" when clearing playlist
Otherwise the video widget isn't cleared, the playing property notify signal isn't sent, etc.
Diffstat (limited to 'src')
-rw-r--r--src/totem-playlist.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/totem-playlist.c b/src/totem-playlist.c
index ca1496e30..0b0efd0c7 100644
--- a/src/totem-playlist.c
+++ b/src/totem-playlist.c
@@ -1747,6 +1747,10 @@ totem_playlist_clear (TotemPlaylist *playlist)
g_clear_pointer (&playlist->priv->current, gtk_tree_path_free);
+ g_signal_emit (G_OBJECT (playlist),
+ totem_playlist_table_signals[CURRENT_REMOVED],
+ 0, NULL);
+
return TRUE;
}