[totem] main: Set main page to player when playing
- From: Bastien Nocera <hadess src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [totem] main: Set main page to player when playing
- Date: Wed, 3 Jul 2013 14:35:24 +0000 (UTC)
commit d625344192ae72f9cacf600594625c0cb7f66b5b
Author: Alban Browaeys <prahal yahoo com>
Date: Wed Jun 26 10:59:11 2013 +0200
main: Set main page to player when playing
This to avoid the player displaying the video below
the grilo page if files are passed via command line
or added to the playlist.
https://bugzilla.gnome.org/show_bug.cgi?id=701911
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 ab8e351..3ce2fe4 100644
--- a/src/totem-object.c
+++ b/src/totem-object.c
@@ -655,7 +655,6 @@ add_to_playlist_and_play_cb (TotemPlaylist *playlist, GAsyncResult *async_result
subtitle = NULL;
totem_playlist_set_current (playlist, end);
mrl = totem_playlist_get_current_mrl (playlist, &subtitle);
- totem_object_set_main_page (data->totem, "player", TRUE);
totem_action_set_mrl_and_play (data->totem, mrl, subtitle);
g_free (mrl);
g_free (subtitle);
@@ -1312,6 +1311,7 @@ totem_object_action_play (TotemObject *totem)
if (bacon_video_widget_is_playing (totem->bvw) != FALSE)
return;
+ totem_object_set_main_page (totem, "player", TRUE);
retval = bacon_video_widget_play (totem->bvw, &err);
play_pause_set_label (totem, retval ? STATE_PLAYING : STATE_STOPPED);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]