diff options
author | Bastien Nocera <hadess@hadess.net> | 2014-01-26 14:45:23 +0100 |
---|---|---|
committer | Bastien Nocera <hadess@hadess.net> | 2014-01-26 14:55:43 +0100 |
commit | 4eefb7ec5dadb8386238a3594473790857f424fd (patch) | |
tree | 301b022013bc74190a71f756422e00944ad25eca /src | |
parent | ad5fe3518c47af9367ee76a2b4b129ef8ab7505d (diff) | |
download | totem-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.c | 4 |
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; } |