[longomatch] Disable detaching the video player for playlists



commit 3323ce2b09c09c1e92a511f85f46ddd8817def65
Author: Andoni Morales Alastruey <ylatuya gmail com>
Date:   Thu Nov 8 22:47:45 2012 +0100

    Disable detaching the video player for playlists

 LongoMatch.GUI.Multimedia/Gui/PlayerBin.cs |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)
---
diff --git a/LongoMatch.GUI.Multimedia/Gui/PlayerBin.cs b/LongoMatch.GUI.Multimedia/Gui/PlayerBin.cs
index c2668e4..7cb63a9 100644
--- a/LongoMatch.GUI.Multimedia/Gui/PlayerBin.cs
+++ b/LongoMatch.GUI.Multimedia/Gui/PlayerBin.cs
@@ -210,6 +210,7 @@ namespace LongoMatch.Gui
 			catch {
 				//We handle this error async
 			}
+			detachbutton.Sensitive = true;
 		}
 
 		public void Play() {
@@ -261,6 +262,7 @@ namespace LongoMatch.Gui
 			segmentStopTime = stop;
 			player.LogoMode = false;
 			Rate = rate;
+			detachbutton.Sensitive = false;
 		}
 
 		public void Close() {



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