[totem] main: Clear the playlist when going back from player
- From: Bastien Nocera <hadess src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [totem] main: Clear the playlist when going back from player
- Date: Sun, 26 Jan 2014 13:56:19 +0000 (UTC)
commit 7512ca418e9375274513ffede6b2f7669d025117
Author: Bastien Nocera <hadess hadess net>
Date: Sun Jan 26 00:51:26 2014 +0100
main: Clear the playlist when going back from player
So has to avoid network transfers in an unreachable portion
of the UI.
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 df0249c..71f04c3 100644
--- a/src/totem-object.c
+++ b/src/totem-object.c
@@ -2226,7 +2226,7 @@ static void
back_button_clicked_cb (GtkButton *button,
TotemObject *totem)
{
- totem_object_pause (totem);
+ totem_playlist_clear (totem->playlist);
totem_object_set_main_page (totem, "grilo", TRUE);
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]