[longomatch] Fix windows alignments and VideoWindow enabled message



commit 936f0438b1526ce892df6bae1f17a9e3e78dab9e
Author: Andoni Morales Alastruey <ylatuya gmail com>
Date:   Fri Mar 27 18:05:20 2015 +0100

    Fix windows alignments and VideoWindow enabled message

 LongoMatch.GUI.Multimedia/Gui/VideoWindow.cs       |    5 +-
 .../gtk-gui/LongoMatch.Gui.PlayerView.cs           |  179 +++++++++-----------
 .../gtk-gui/LongoMatch.Gui.VideoWindow.cs          |   84 +++++-----
 LongoMatch.GUI.Multimedia/gtk-gui/gui.stetic       |   57 ++----
 LongoMatch.GUI/gtk-gui/gui.stetic                  |    6 +-
 5 files changed, 148 insertions(+), 183 deletions(-)
---
diff --git a/LongoMatch.GUI.Multimedia/Gui/VideoWindow.cs b/LongoMatch.GUI.Multimedia/Gui/VideoWindow.cs
index fe910aa..bbe481c 100644
--- a/LongoMatch.GUI.Multimedia/Gui/VideoWindow.cs
+++ b/LongoMatch.GUI.Multimedia/Gui/VideoWindow.cs
@@ -36,6 +36,7 @@ namespace LongoMatch.Gui
                        frame = new AspectFrame (null, 0.5f, 0.5f, 1f, false);
                        frame.Shadow = ShadowType.None;
 
+                       disabledtext.NoShowAll = true;
                        Window = new DrawingArea ();
                        Window.DoubleBuffered = false;
                        Window.ExposeEvent += HandleExposeEvent;
@@ -46,10 +47,10 @@ namespace LongoMatch.Gui
                                // Workaround for GTK bugs on Windows not showing the video window
                                videoeventbox.VisibilityNotifyEvent += HandleVisibilityNotifyEvent;
                        }
-
                        frame.Add (Window);
                        videoeventbox.Add (frame);
-                       ShowAll ();
+                       videoeventbox.ShowAll ();
+                       Enabled = true;
                }
 
                void HandleVisibilityNotifyEvent (object o, VisibilityNotifyEventArgs args)
diff --git a/LongoMatch.GUI.Multimedia/gtk-gui/LongoMatch.Gui.PlayerView.cs 
b/LongoMatch.GUI.Multimedia/gtk-gui/LongoMatch.Gui.PlayerView.cs
index d19bbf4..f8c448e 100644
--- a/LongoMatch.GUI.Multimedia/gtk-gui/LongoMatch.Gui.PlayerView.cs
+++ b/LongoMatch.GUI.Multimedia/gtk-gui/LongoMatch.Gui.PlayerView.cs
@@ -8,11 +8,7 @@ namespace LongoMatch.Gui
                
                private global::Gtk.HBox mainbox;
                
-               private global::Gtk.VBox vbox2;
-               
-               private global::Gtk.HBox videobox;
-               
-               private global::Gtk.HBox hbox2;
+               private global::Gtk.HBox hbox3;
                
                private global::LongoMatch.Gui.VideoWindow videowindow;
                
@@ -87,39 +83,26 @@ namespace LongoMatch.Gui
                        this.mainbox.Name = "mainbox";
                        this.mainbox.Spacing = 6;
                        // Container child mainbox.Gtk.Box+BoxChild
-                       this.vbox2 = new global::Gtk.VBox ();
-                       this.vbox2.Name = "vbox2";
-                       this.vbox2.Spacing = 6;
-                       // Container child vbox2.Gtk.Box+BoxChild
-                       this.videobox = new global::Gtk.HBox ();
-                       this.videobox.Name = "videobox";
-                       this.videobox.Spacing = 6;
-                       // Container child videobox.Gtk.Box+BoxChild
-                       this.hbox2 = new global::Gtk.HBox ();
-                       this.hbox2.Name = "hbox2";
-                       // Container child hbox2.Gtk.Box+BoxChild
+                       this.hbox3 = new global::Gtk.HBox ();
+                       this.hbox3.Name = "hbox3";
+                       this.hbox3.Spacing = 6;
+                       // Container child hbox3.Gtk.Box+BoxChild
                        this.videowindow = new global::LongoMatch.Gui.VideoWindow ();
                        this.videowindow.Events = ((global::Gdk.EventMask)(256));
                        this.videowindow.Name = "videowindow";
                        this.videowindow.Ready = false;
-                       this.hbox2.Add (this.videowindow);
-                       global::Gtk.Box.BoxChild w1 = ((global::Gtk.Box.BoxChild)(this.hbox2 
[this.videowindow]));
+                       this.hbox3.Add (this.videowindow);
+                       global::Gtk.Box.BoxChild w1 = ((global::Gtk.Box.BoxChild)(this.hbox3 
[this.videowindow]));
                        w1.Position = 0;
-                       // Container child hbox2.Gtk.Box+BoxChild
+                       // Container child hbox3.Gtk.Box+BoxChild
                        this.blackboarddrawingarea = new global::Gtk.DrawingArea ();
                        this.blackboarddrawingarea.Name = "blackboarddrawingarea";
-                       this.hbox2.Add (this.blackboarddrawingarea);
-                       global::Gtk.Box.BoxChild w2 = ((global::Gtk.Box.BoxChild)(this.hbox2 
[this.blackboarddrawingarea]));
+                       this.hbox3.Add (this.blackboarddrawingarea);
+                       global::Gtk.Box.BoxChild w2 = ((global::Gtk.Box.BoxChild)(this.hbox3 
[this.blackboarddrawingarea]));
                        w2.Position = 1;
-                       this.videobox.Add (this.hbox2);
-                       global::Gtk.Box.BoxChild w3 = ((global::Gtk.Box.BoxChild)(this.videobox 
[this.hbox2]));
+                       this.mainbox.Add (this.hbox3);
+                       global::Gtk.Box.BoxChild w3 = ((global::Gtk.Box.BoxChild)(this.mainbox [this.hbox3]));
                        w3.Position = 0;
-                       this.vbox2.Add (this.videobox);
-                       global::Gtk.Box.BoxChild w4 = ((global::Gtk.Box.BoxChild)(this.vbox2 
[this.videobox]));
-                       w4.Position = 0;
-                       this.mainbox.Add (this.vbox2);
-                       global::Gtk.Box.BoxChild w5 = ((global::Gtk.Box.BoxChild)(this.mainbox [this.vbox2]));
-                       w5.Position = 0;
                        // Container child mainbox.Gtk.Box+BoxChild
                        this.vbox5 = new global::Gtk.VBox ();
                        this.vbox5.Name = "vbox5";
@@ -142,16 +125,16 @@ namespace LongoMatch.Gui
                        this.ratescale.Digits = 0;
                        this.ratescale.ValuePos = ((global::Gtk.PositionType)(3));
                        this.vbox5.Add (this.ratescale);
-                       global::Gtk.Box.BoxChild w6 = ((global::Gtk.Box.BoxChild)(this.vbox5 
[this.ratescale]));
-                       w6.Position = 0;
+                       global::Gtk.Box.BoxChild w4 = ((global::Gtk.Box.BoxChild)(this.vbox5 
[this.ratescale]));
+                       w4.Position = 0;
                        this.mainbox.Add (this.vbox5);
-                       global::Gtk.Box.BoxChild w7 = ((global::Gtk.Box.BoxChild)(this.mainbox [this.vbox5]));
-                       w7.Position = 1;
-                       w7.Expand = false;
-                       w7.Fill = false;
+                       global::Gtk.Box.BoxChild w5 = ((global::Gtk.Box.BoxChild)(this.mainbox [this.vbox5]));
+                       w5.Position = 1;
+                       w5.Expand = false;
+                       w5.Fill = false;
                        this.vbox3.Add (this.mainbox);
-                       global::Gtk.Box.BoxChild w8 = ((global::Gtk.Box.BoxChild)(this.vbox3 [this.mainbox]));
-                       w8.Position = 0;
+                       global::Gtk.Box.BoxChild w6 = ((global::Gtk.Box.BoxChild)(this.vbox3 [this.mainbox]));
+                       w6.Position = 0;
                        // Container child vbox3.Gtk.Box+BoxChild
                        this.lightbackgroundeventbox = new global::Gtk.EventBox ();
                        this.lightbackgroundeventbox.Name = "lightbackgroundeventbox";
@@ -173,10 +156,10 @@ namespace LongoMatch.Gui
                        this.closebuttonimage.Name = "closebuttonimage";
                        this.closebutton.Add (this.closebuttonimage);
                        this.buttonsbox.Add (this.closebutton);
-                       global::Gtk.Box.BoxChild w10 = ((global::Gtk.Box.BoxChild)(this.buttonsbox 
[this.closebutton]));
-                       w10.Position = 0;
-                       w10.Expand = false;
-                       w10.Fill = false;
+                       global::Gtk.Box.BoxChild w8 = ((global::Gtk.Box.BoxChild)(this.buttonsbox 
[this.closebutton]));
+                       w8.Position = 0;
+                       w8.Expand = false;
+                       w8.Fill = false;
                        // Container child buttonsbox.Gtk.Box+BoxChild
                        this.drawbutton = new global::Gtk.Button ();
                        this.drawbutton.TooltipMarkup = "Draw frame";
@@ -187,10 +170,10 @@ namespace LongoMatch.Gui
                        this.drawbuttonimage.Name = "drawbuttonimage";
                        this.drawbutton.Add (this.drawbuttonimage);
                        this.buttonsbox.Add (this.drawbutton);
-                       global::Gtk.Box.BoxChild w12 = ((global::Gtk.Box.BoxChild)(this.buttonsbox 
[this.drawbutton]));
-                       w12.Position = 1;
-                       w12.Expand = false;
-                       w12.Fill = false;
+                       global::Gtk.Box.BoxChild w10 = ((global::Gtk.Box.BoxChild)(this.buttonsbox 
[this.drawbutton]));
+                       w10.Position = 1;
+                       w10.Expand = false;
+                       w10.Fill = false;
                        // Container child buttonsbox.Gtk.Box+BoxChild
                        this.playbutton = new global::Gtk.Button ();
                        this.playbutton.TooltipMarkup = "Play";
@@ -201,10 +184,10 @@ namespace LongoMatch.Gui
                        this.playbuttonimage.Name = "playbuttonimage";
                        this.playbutton.Add (this.playbuttonimage);
                        this.buttonsbox.Add (this.playbutton);
-                       global::Gtk.Box.BoxChild w14 = ((global::Gtk.Box.BoxChild)(this.buttonsbox 
[this.playbutton]));
-                       w14.Position = 2;
-                       w14.Expand = false;
-                       w14.Fill = false;
+                       global::Gtk.Box.BoxChild w12 = ((global::Gtk.Box.BoxChild)(this.buttonsbox 
[this.playbutton]));
+                       w12.Position = 2;
+                       w12.Expand = false;
+                       w12.Fill = false;
                        // Container child buttonsbox.Gtk.Box+BoxChild
                        this.pausebutton = new global::Gtk.Button ();
                        this.pausebutton.TooltipMarkup = "Pause";
@@ -215,10 +198,10 @@ namespace LongoMatch.Gui
                        this.pausebuttonimage.Name = "pausebuttonimage";
                        this.pausebutton.Add (this.pausebuttonimage);
                        this.buttonsbox.Add (this.pausebutton);
-                       global::Gtk.Box.BoxChild w16 = ((global::Gtk.Box.BoxChild)(this.buttonsbox 
[this.pausebutton]));
-                       w16.Position = 3;
-                       w16.Expand = false;
-                       w16.Fill = false;
+                       global::Gtk.Box.BoxChild w14 = ((global::Gtk.Box.BoxChild)(this.buttonsbox 
[this.pausebutton]));
+                       w14.Position = 3;
+                       w14.Expand = false;
+                       w14.Fill = false;
                        // Container child buttonsbox.Gtk.Box+BoxChild
                        this.prevbutton = new global::Gtk.Button ();
                        this.prevbutton.TooltipMarkup = "Previous";
@@ -229,10 +212,10 @@ namespace LongoMatch.Gui
                        this.prevbuttonimage.Name = "prevbuttonimage";
                        this.prevbutton.Add (this.prevbuttonimage);
                        this.buttonsbox.Add (this.prevbutton);
-                       global::Gtk.Box.BoxChild w18 = ((global::Gtk.Box.BoxChild)(this.buttonsbox 
[this.prevbutton]));
-                       w18.Position = 4;
-                       w18.Expand = false;
-                       w18.Fill = false;
+                       global::Gtk.Box.BoxChild w16 = ((global::Gtk.Box.BoxChild)(this.buttonsbox 
[this.prevbutton]));
+                       w16.Position = 4;
+                       w16.Expand = false;
+                       w16.Fill = false;
                        // Container child buttonsbox.Gtk.Box+BoxChild
                        this.nextbutton = new global::Gtk.Button ();
                        this.nextbutton.TooltipMarkup = "Next";
@@ -244,15 +227,15 @@ namespace LongoMatch.Gui
                        this.nextbuttonimage.Name = "nextbuttonimage";
                        this.nextbutton.Add (this.nextbuttonimage);
                        this.buttonsbox.Add (this.nextbutton);
-                       global::Gtk.Box.BoxChild w20 = ((global::Gtk.Box.BoxChild)(this.buttonsbox 
[this.nextbutton]));
-                       w20.Position = 5;
-                       w20.Expand = false;
-                       w20.Fill = false;
+                       global::Gtk.Box.BoxChild w18 = ((global::Gtk.Box.BoxChild)(this.buttonsbox 
[this.nextbutton]));
+                       w18.Position = 5;
+                       w18.Expand = false;
+                       w18.Fill = false;
                        this.controlsbox.Add (this.buttonsbox);
-                       global::Gtk.Box.BoxChild w21 = ((global::Gtk.Box.BoxChild)(this.controlsbox 
[this.buttonsbox]));
-                       w21.Position = 0;
-                       w21.Expand = false;
-                       w21.Fill = false;
+                       global::Gtk.Box.BoxChild w19 = ((global::Gtk.Box.BoxChild)(this.controlsbox 
[this.buttonsbox]));
+                       w19.Position = 0;
+                       w19.Expand = false;
+                       w19.Fill = false;
                        // Container child controlsbox.Gtk.Box+BoxChild
                        this.hbox1 = new global::Gtk.HBox ();
                        this.hbox1.Name = "hbox1";
@@ -262,10 +245,10 @@ namespace LongoMatch.Gui
                        this.jumplabel.Name = "jumplabel";
                        this.jumplabel.LabelProp = global::Mono.Unix.Catalog.GetString ("Jump (s):");
                        this.hbox1.Add (this.jumplabel);
-                       global::Gtk.Box.BoxChild w22 = ((global::Gtk.Box.BoxChild)(this.hbox1 
[this.jumplabel]));
-                       w22.Position = 0;
-                       w22.Expand = false;
-                       w22.Fill = false;
+                       global::Gtk.Box.BoxChild w20 = ((global::Gtk.Box.BoxChild)(this.hbox1 
[this.jumplabel]));
+                       w20.Position = 0;
+                       w20.Expand = false;
+                       w20.Fill = false;
                        // Container child hbox1.Gtk.Box+BoxChild
                        this.jumpspinbutton = new global::Gtk.SpinButton (1, 100, 1);
                        this.jumpspinbutton.TooltipMarkup = "Jump in seconds. Hold the Shift key with the 
direction keys to activate it.";
@@ -275,24 +258,24 @@ namespace LongoMatch.Gui
                        this.jumpspinbutton.Numeric = true;
                        this.jumpspinbutton.Value = 10;
                        this.hbox1.Add (this.jumpspinbutton);
-                       global::Gtk.Box.BoxChild w23 = ((global::Gtk.Box.BoxChild)(this.hbox1 
[this.jumpspinbutton]));
-                       w23.Position = 1;
-                       w23.Expand = false;
-                       w23.Fill = false;
+                       global::Gtk.Box.BoxChild w21 = ((global::Gtk.Box.BoxChild)(this.hbox1 
[this.jumpspinbutton]));
+                       w21.Position = 1;
+                       w21.Expand = false;
+                       w21.Fill = false;
                        this.controlsbox.Add (this.hbox1);
-                       global::Gtk.Box.BoxChild w24 = ((global::Gtk.Box.BoxChild)(this.controlsbox 
[this.hbox1]));
-                       w24.Position = 1;
-                       w24.Expand = false;
-                       w24.Fill = false;
+                       global::Gtk.Box.BoxChild w22 = ((global::Gtk.Box.BoxChild)(this.controlsbox 
[this.hbox1]));
+                       w22.Position = 1;
+                       w22.Expand = false;
+                       w22.Fill = false;
                        // Container child controlsbox.Gtk.Box+BoxChild
                        this.tlabel = new global::Gtk.Label ();
                        this.tlabel.Name = "tlabel";
                        this.tlabel.LabelProp = global::Mono.Unix.Catalog.GetString ("Time:");
                        this.controlsbox.Add (this.tlabel);
-                       global::Gtk.Box.BoxChild w25 = ((global::Gtk.Box.BoxChild)(this.controlsbox 
[this.tlabel]));
-                       w25.Position = 2;
-                       w25.Expand = false;
-                       w25.Fill = false;
+                       global::Gtk.Box.BoxChild w23 = ((global::Gtk.Box.BoxChild)(this.controlsbox 
[this.tlabel]));
+                       w23.Position = 2;
+                       w23.Expand = false;
+                       w23.Fill = false;
                        // Container child controlsbox.Gtk.Box+BoxChild
                        this.timescale = new global::Gtk.HScale (null);
                        this.timescale.Name = "timescale";
@@ -303,15 +286,15 @@ namespace LongoMatch.Gui
                        this.timescale.Digits = 0;
                        this.timescale.ValuePos = ((global::Gtk.PositionType)(2));
                        this.controlsbox.Add (this.timescale);
-                       global::Gtk.Box.BoxChild w26 = ((global::Gtk.Box.BoxChild)(this.controlsbox 
[this.timescale]));
-                       w26.Position = 3;
+                       global::Gtk.Box.BoxChild w24 = ((global::Gtk.Box.BoxChild)(this.controlsbox 
[this.timescale]));
+                       w24.Position = 3;
                        // Container child controlsbox.Gtk.Box+BoxChild
                        this.timelabel = new global::Gtk.Label ();
                        this.timelabel.Name = "timelabel";
                        this.controlsbox.Add (this.timelabel);
-                       global::Gtk.Box.BoxChild w27 = ((global::Gtk.Box.BoxChild)(this.controlsbox 
[this.timelabel]));
-                       w27.Position = 4;
-                       w27.Expand = false;
+                       global::Gtk.Box.BoxChild w25 = ((global::Gtk.Box.BoxChild)(this.controlsbox 
[this.timelabel]));
+                       w25.Position = 4;
+                       w25.Expand = false;
                        // Container child controlsbox.Gtk.Box+BoxChild
                        this.volumebutton = new global::Gtk.Button ();
                        this.volumebutton.TooltipMarkup = "Volume";
@@ -322,10 +305,10 @@ namespace LongoMatch.Gui
                        this.volumebuttonimage.Name = "volumebuttonimage";
                        this.volumebutton.Add (this.volumebuttonimage);
                        this.controlsbox.Add (this.volumebutton);
-                       global::Gtk.Box.BoxChild w29 = ((global::Gtk.Box.BoxChild)(this.controlsbox 
[this.volumebutton]));
-                       w29.Position = 5;
-                       w29.Expand = false;
-                       w29.Fill = false;
+                       global::Gtk.Box.BoxChild w27 = ((global::Gtk.Box.BoxChild)(this.controlsbox 
[this.volumebutton]));
+                       w27.Position = 5;
+                       w27.Expand = false;
+                       w27.Fill = false;
                        // Container child controlsbox.Gtk.Box+BoxChild
                        this.detachbutton = new global::Gtk.Button ();
                        this.detachbutton.TooltipMarkup = "Detach window";
@@ -336,16 +319,16 @@ namespace LongoMatch.Gui
                        this.detachbuttonimage.Name = "detachbuttonimage";
                        this.detachbutton.Add (this.detachbuttonimage);
                        this.controlsbox.Add (this.detachbutton);
-                       global::Gtk.Box.BoxChild w31 = ((global::Gtk.Box.BoxChild)(this.controlsbox 
[this.detachbutton]));
-                       w31.Position = 6;
-                       w31.Expand = false;
-                       w31.Fill = false;
+                       global::Gtk.Box.BoxChild w29 = ((global::Gtk.Box.BoxChild)(this.controlsbox 
[this.detachbutton]));
+                       w29.Position = 6;
+                       w29.Expand = false;
+                       w29.Fill = false;
                        this.lightbackgroundeventbox.Add (this.controlsbox);
                        this.vbox3.Add (this.lightbackgroundeventbox);
-                       global::Gtk.Box.BoxChild w33 = ((global::Gtk.Box.BoxChild)(this.vbox3 
[this.lightbackgroundeventbox]));
-                       w33.Position = 1;
-                       w33.Expand = false;
-                       w33.Fill = false;
+                       global::Gtk.Box.BoxChild w31 = ((global::Gtk.Box.BoxChild)(this.vbox3 
[this.lightbackgroundeventbox]));
+                       w31.Position = 1;
+                       w31.Expand = false;
+                       w31.Fill = false;
                        this.Add (this.vbox3);
                        if ((this.Child != null)) {
                                this.Child.ShowAll ();
diff --git a/LongoMatch.GUI.Multimedia/gtk-gui/LongoMatch.Gui.VideoWindow.cs 
b/LongoMatch.GUI.Multimedia/gtk-gui/LongoMatch.Gui.VideoWindow.cs
index a17a5dc..5b13d1f 100644
--- a/LongoMatch.GUI.Multimedia/gtk-gui/LongoMatch.Gui.VideoWindow.cs
+++ b/LongoMatch.GUI.Multimedia/gtk-gui/LongoMatch.Gui.VideoWindow.cs
@@ -1,42 +1,42 @@
-
-// This file has been generated by the GUI designer. Do not modify.
-namespace LongoMatch.Gui
-{
-       public partial class VideoWindow
-       {
-               private global::Gtk.HBox totalbox;
-               
-               private global::Gtk.EventBox videoeventbox;
-               
-               private global::Gtk.Label disabledtext;
-
-               protected virtual void Build ()
-               {
-                       global::Stetic.Gui.Initialize (this);
-                       // Widget LongoMatch.Gui.VideoWindow
-                       global::Stetic.BinContainer.Attach (this);
-                       this.Name = "LongoMatch.Gui.VideoWindow";
-                       // Container child LongoMatch.Gui.VideoWindow.Gtk.Container+ContainerChild
-                       this.totalbox = new global::Gtk.HBox ();
-                       this.totalbox.Name = "totalbox";
-                       // Container child totalbox.Gtk.Box+BoxChild
-                       this.videoeventbox = new global::Gtk.EventBox ();
-                       this.videoeventbox.Name = "videoeventbox";
-                       this.totalbox.Add (this.videoeventbox);
-                       global::Gtk.Box.BoxChild w1 = ((global::Gtk.Box.BoxChild)(this.totalbox 
[this.videoeventbox]));
-                       w1.Position = 0;
-                       // Container child totalbox.Gtk.Box+BoxChild
-                       this.disabledtext = new global::Gtk.Label ();
-                       this.disabledtext.Name = "disabledtext";
-                       this.disabledtext.LabelProp = global::Mono.Unix.Catalog.GetString ("Unavailable");
-                       this.totalbox.Add (this.disabledtext);
-                       global::Gtk.Box.BoxChild w2 = ((global::Gtk.Box.BoxChild)(this.totalbox 
[this.disabledtext]));
-                       w2.Position = 1;
-                       this.Add (this.totalbox);
-                       if ((this.Child != null)) {
-                               this.Child.ShowAll ();
-                       }
-                       this.Hide ();
-               }
-       }
-}
+
+// This file has been generated by the GUI designer. Do not modify.
+namespace LongoMatch.Gui
+{
+       public partial class VideoWindow
+       {
+               private global::Gtk.HBox totalbox;
+               
+               private global::Gtk.EventBox videoeventbox;
+               
+               private global::Gtk.Label disabledtext;
+
+               protected virtual void Build ()
+               {
+                       global::Stetic.Gui.Initialize (this);
+                       // Widget LongoMatch.Gui.VideoWindow
+                       global::Stetic.BinContainer.Attach (this);
+                       this.Name = "LongoMatch.Gui.VideoWindow";
+                       // Container child LongoMatch.Gui.VideoWindow.Gtk.Container+ContainerChild
+                       this.totalbox = new global::Gtk.HBox ();
+                       this.totalbox.Name = "totalbox";
+                       // Container child totalbox.Gtk.Box+BoxChild
+                       this.videoeventbox = new global::Gtk.EventBox ();
+                       this.videoeventbox.Name = "videoeventbox";
+                       this.totalbox.Add (this.videoeventbox);
+                       global::Gtk.Box.BoxChild w1 = ((global::Gtk.Box.BoxChild)(this.totalbox 
[this.videoeventbox]));
+                       w1.Position = 0;
+                       // Container child totalbox.Gtk.Box+BoxChild
+                       this.disabledtext = new global::Gtk.Label ();
+                       this.disabledtext.Name = "disabledtext";
+                       this.disabledtext.LabelProp = global::Mono.Unix.Catalog.GetString ("Unavailable");
+                       this.totalbox.Add (this.disabledtext);
+                       global::Gtk.Box.BoxChild w2 = ((global::Gtk.Box.BoxChild)(this.totalbox 
[this.disabledtext]));
+                       w2.Position = 1;
+                       this.Add (this.totalbox);
+                       if ((this.Child != null)) {
+                               this.Child.ShowAll ();
+                       }
+                       this.Hide ();
+               }
+       }
+}
diff --git a/LongoMatch.GUI.Multimedia/gtk-gui/gui.stetic b/LongoMatch.GUI.Multimedia/gtk-gui/gui.stetic
index d304922..2fc8d1f 100644
--- a/LongoMatch.GUI.Multimedia/gtk-gui/gui.stetic
+++ b/LongoMatch.GUI.Multimedia/gtk-gui/gui.stetic
@@ -85,54 +85,35 @@
             <property name="MemberName" />
             <property name="Spacing">6</property>
             <child>
-              <widget class="Gtk.VBox" id="vbox2">
+              <widget class="Gtk.HBox" id="hbox3">
                 <property name="MemberName" />
                 <property name="Spacing">6</property>
                 <child>
-                  <widget class="Gtk.HBox" id="videobox">
+                  <widget class="LongoMatch.Gui.VideoWindow" id="videowindow">
                     <property name="MemberName" />
-                    <property name="Spacing">6</property>
-                    <child>
-                      <widget class="Gtk.HBox" id="hbox2">
-                        <property name="MemberName" />
-                        <child>
-                          <widget class="LongoMatch.Gui.VideoWindow" id="videowindow">
-                            <property name="MemberName" />
-                            <property name="Visible">False</property>
-                            <property name="Events">ButtonPressMask</property>
-                            <property name="Ready">False</property>
-                          </widget>
-                          <packing>
-                            <property name="Position">0</property>
-                            <property name="AutoSize">True</property>
-                          </packing>
-                        </child>
-                        <child>
-                          <widget class="Gtk.DrawingArea" id="blackboarddrawingarea">
-                            <property name="MemberName" />
-                            <property name="Visible">False</property>
-                          </widget>
-                          <packing>
-                            <property name="Position">1</property>
-                            <property name="AutoSize">True</property>
-                          </packing>
-                        </child>
-                      </widget>
-                      <packing>
-                        <property name="Position">0</property>
-                        <property name="AutoSize">True</property>
-                      </packing>
-                    </child>
+                    <property name="Visible">False</property>
+                    <property name="Events">ButtonPressMask</property>
+                    <property name="Ready">False</property>
                   </widget>
                   <packing>
                     <property name="Position">0</property>
                     <property name="AutoSize">True</property>
                   </packing>
                 </child>
+                <child>
+                  <widget class="Gtk.DrawingArea" id="blackboarddrawingarea">
+                    <property name="MemberName" />
+                    <property name="Visible">False</property>
+                  </widget>
+                  <packing>
+                    <property name="Position">1</property>
+                    <property name="AutoSize">True</property>
+                  </packing>
+                </child>
               </widget>
               <packing>
                 <property name="Position">0</property>
-                <property name="AutoSize">False</property>
+                <property name="AutoSize">True</property>
               </packing>
             </child>
             <child>
@@ -173,7 +154,7 @@
           </widget>
           <packing>
             <property name="Position">0</property>
-            <property name="AutoSize">True</property>
+            <property name="AutoSize">False</property>
           </packing>
         </child>
         <child>
@@ -916,7 +897,7 @@
       </widget>
     </child>
   </widget>
-  <widget class="Gtk.Bin" id="LongoMatch.Gui.VideoWindow" design-size="742 342">
+  <widget class="Gtk.Bin" id="LongoMatch.Gui.VideoWindow" design-size="742 423">
     <property name="MemberName" />
     <property name="Visible">False</property>
     <child>
@@ -944,4 +925,4 @@
       </widget>
     </child>
   </widget>
-</stetic-interface>
+</stetic-interface>
\ No newline at end of file
diff --git a/LongoMatch.GUI/gtk-gui/gui.stetic b/LongoMatch.GUI/gtk-gui/gui.stetic
index cd71ab0..e968c2f 100644
--- a/LongoMatch.GUI/gtk-gui/gui.stetic
+++ b/LongoMatch.GUI/gtk-gui/gui.stetic
@@ -9699,7 +9699,7 @@ You can continue with the current capture, cancel it or save your project.
                       </widget>
                       <packing>
                         <property name="Position">0</property>
-                        <property name="AutoSize">True</property>
+                        <property name="AutoSize">False</property>
                       </packing>
                     </child>
                     <child>
@@ -9767,7 +9767,7 @@ You can continue with the current capture, cancel it or save your project.
                       </widget>
                       <packing>
                         <property name="Position">0</property>
-                        <property name="AutoSize">True</property>
+                        <property name="AutoSize">False</property>
                       </packing>
                     </child>
                     <child>
@@ -11749,4 +11749,4 @@ To avoid this, and to enjoy many additional functional benefits, we encourage yo
       </widget>
     </child>
   </widget>
-</stetic-interface>
+</stetic-interface>
\ No newline at end of file


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