[longomatch] Detach player with the same window size as the widget



commit f764a8f5a02f179c8e20afd3eb60658c9e27f3c9
Author: Andoni Morales Alastruey <ylatuya gmail com>
Date:   Thu Oct 23 14:42:16 2014 +0200

    Detach player with the same window size as the widget

 LongoMatch.GUI/Gui/Component/AnalysisComponent.cs |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)
---
diff --git a/LongoMatch.GUI/Gui/Component/AnalysisComponent.cs 
b/LongoMatch.GUI/Gui/Component/AnalysisComponent.cs
index 2a7d889..6bf1a28 100644
--- a/LongoMatch.GUI/Gui/Component/AnalysisComponent.cs
+++ b/LongoMatch.GUI/Gui/Component/AnalysisComponent.cs
@@ -112,6 +112,7 @@ namespace LongoMatch.Gui.Component
                                Log.Debug ("Detaching player");
                                
                                playerWindow = new Gtk.Window (Constants.SOFTWARE_NAME);
+                               playerWindow.SetDefaultSize (playercapturer.Allocation.Width, 
playercapturer.Allocation.Height);
                                playerWindow.Icon = Stetic.IconLoader.LoadIcon (this, "longomatch", 
IconSize.Button);
                                playerWindow.DeleteEvent += (o, args) => DetachPlayer ();
                                box = new EventBox ();


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