[totem] main: Notify when we unset an MRL



commit f72705b3fa7d92d1ad2b058e7ad720939d89a9da
Author: Bastien Nocera <hadess hadess net>
Date:   Thu Mar 10 14:49:16 2011 +0000

    main: Notify when we unset an MRL
    
    And not just when we're setting the status bar status, otherwise
    we might miss the fact that it's playing or not.

 src/totem-object.c |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)
---
diff --git a/src/totem-object.c b/src/totem-object.c
index 922a1cb..159fb05 100644
--- a/src/totem-object.c
+++ b/src/totem-object.c
@@ -1739,6 +1739,8 @@ totem_action_set_mrl_with_warning (TotemObject *totem,
 
 		/* Unset the drag */
 		gtk_drag_source_unset (GTK_WIDGET (totem->bvw));
+
+		g_object_notify (G_OBJECT (totem), "playing");
 	} else {
 		gboolean caps;
 		gdouble volume;



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