[totem] playlist: Send "current-removed" when clearing playlist
- From: Bastien Nocera <hadess src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [totem] playlist: Send "current-removed" when clearing playlist
- Date: Sun, 26 Jan 2014 13:56:14 +0000 (UTC)
commit 4eefb7ec5dadb8386238a3594473790857f424fd
Author: Bastien Nocera <hadess hadess net>
Date: Sun Jan 26 14:45:23 2014 +0100
playlist: Send "current-removed" when clearing playlist
Otherwise the video widget isn't cleared, the playing property
notify signal isn't sent, etc.
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 ca1496e..0b0efd0 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;
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]