[totem] backend: Hide the buffering spinner on close()



commit dcd1b671b4f5fd2baa3bfa01af8a93819caf4b7f
Author: Bastien Nocera <hadess hadess net>
Date:   Mon Feb 17 17:15:54 2014 +0100

    backend: Hide the buffering spinner on close()

 src/backend/bacon-video-widget.c |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)
---
diff --git a/src/backend/bacon-video-widget.c b/src/backend/bacon-video-widget.c
index 1c77696..22046d2 100644
--- a/src/backend/bacon-video-widget.c
+++ b/src/backend/bacon-video-widget.c
@@ -4211,6 +4211,8 @@ bvw_stop_play_pipeline (BaconVideoWidget * bvw)
   bvw_reconfigure_fill_timeout (bvw, 0);
   bvw->priv->movie_par_n = bvw->priv->movie_par_d = 1;
   g_clear_object (&bvw->priv->cover_pixbuf);
+  clutter_actor_hide (bvw->priv->spinner);
+  g_object_set (G_OBJECT (bvw->priv->spinner), "percent", 0.0, NULL);
   GST_DEBUG ("stopped");
 }
 


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