[totem] backend: Hide popup only once playback has started



commit 044655d5081b248578a035981047939a8e1ae886
Author: Bastien Nocera <hadess hadess net>
Date:   Tue Feb 4 17:35:24 2014 +0100

    backend: Hide popup only once playback has started

 src/backend/bacon-video-widget.c |    4 ++++
 1 files changed, 4 insertions(+), 0 deletions(-)
---
diff --git a/src/backend/bacon-video-widget.c b/src/backend/bacon-video-widget.c
index e980f0e..0e266ca 100644
--- a/src/backend/bacon-video-widget.c
+++ b/src/backend/bacon-video-widget.c
@@ -3828,6 +3828,8 @@ bacon_video_widget_open (BaconVideoWidget *bvw,
   bvw->priv->target_state = GST_STATE_PAUSED;
   bvw_clear_missing_plugins_messages (bvw);
 
+  bacon_video_widget_mark_popup_busy (bvw, "opening file");
+
   gst_element_set_state (bvw->priv->play, GST_STATE_PAUSED);
 
   g_signal_emit (bvw, bvw_signals[SIGNAL_CHANNELS_CHANGE], 0);
@@ -3892,6 +3894,8 @@ bacon_video_widget_play (BaconVideoWidget * bvw, GError ** error)
     return FALSE;
   }
 
+  bacon_video_widget_unmark_popup_busy (bvw, "opening file");
+
   GST_DEBUG ("play");
   gst_element_set_state (bvw->priv->play, GST_STATE_PLAYING);
 


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]