[longomatch] Add new button to detach the video player
- From: Andoni Morales Alastruey <amorales src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [longomatch] Add new button to detach the video player
- Date: Fri, 27 Jan 2012 22:08:15 +0000 (UTC)
commit 22184c8be012d6b8635dccfd65ad19f14183fa4e
Author: Andoni Morales Alastruey <ylatuya gmail com>
Date: Fri Jan 27 20:23:44 2012 +0100
Add new button to detach the video player
LongoMatch.GUI.Multimedia/Gui/PlayerBin.cs | 3 +
.../gtk-gui/LongoMatch.Gui.PlayerBin.cs | 361 ++++++++++--------
LongoMatch.GUI.Multimedia/gtk-gui/gui.stetic | 408 +++++++++++---------
.../gtk-gui/LongoMatch.Gui.MainWindow.cs | 2 +-
4 files changed, 418 insertions(+), 356 deletions(-)
---
diff --git a/LongoMatch.GUI.Multimedia/Gui/PlayerBin.cs b/LongoMatch.GUI.Multimedia/Gui/PlayerBin.cs
index 281881a..14dd1be 100644
--- a/LongoMatch.GUI.Multimedia/Gui/PlayerBin.cs
+++ b/LongoMatch.GUI.Multimedia/Gui/PlayerBin.cs
@@ -83,6 +83,8 @@ namespace LongoMatch.Gui
playbutton.CanFocus = false;
prevbutton.CanFocus = false;
nextbutton.CanFocus = false;
+ jumpspinbutton.CanFocus = false;
+ detachbutton.CanFocus = false;
volumebutton.CanFocus = false;
timescale.CanFocus = false;
vscale1.CanFocus = false;
@@ -90,6 +92,7 @@ namespace LongoMatch.Gui
seeksQueue = new double[2];
seeksQueue [0] = -1;
seeksQueue [1] = -1;
+ detachbutton.Clicked += (sender, e) => EmitDetach();
}
#endregion
diff --git a/LongoMatch.GUI.Multimedia/gtk-gui/LongoMatch.Gui.PlayerBin.cs b/LongoMatch.GUI.Multimedia/gtk-gui/LongoMatch.Gui.PlayerBin.cs
index 590e4e9..b5640ad 100644
--- a/LongoMatch.GUI.Multimedia/gtk-gui/LongoMatch.Gui.PlayerBin.cs
+++ b/LongoMatch.GUI.Multimedia/gtk-gui/LongoMatch.Gui.PlayerBin.cs
@@ -4,9 +4,12 @@ namespace LongoMatch.Gui
{
public partial class PlayerBin
{
+ private global::Gtk.VBox vbox3;
private global::Gtk.HBox mainbox;
private global::Gtk.VBox vbox2;
private global::Gtk.HBox videobox;
+ private global::Gtk.VBox vbox5;
+ private global::Gtk.VScale vscale1;
private global::Gtk.HBox controlsbox;
private global::Gtk.HBox buttonsbox;
private global::Gtk.Button closebutton;
@@ -22,8 +25,7 @@ namespace LongoMatch.Gui
private global::Gtk.HScale timescale;
private global::Gtk.Label timelabel;
private global::Gtk.Button volumebutton;
- private global::Gtk.VBox vbox3;
- private global::Gtk.VScale vscale1;
+ private global::Gtk.Button detachbutton;
protected virtual void Build ()
{
@@ -32,6 +34,10 @@ namespace LongoMatch.Gui
global::Stetic.BinContainer.Attach (this);
this.Name = "LongoMatch.Gui.PlayerBin";
// Container child LongoMatch.Gui.PlayerBin.Gtk.Container+ContainerChild
+ this.vbox3 = new global::Gtk.VBox ();
+ this.vbox3.Name = "vbox3";
+ this.vbox3.Spacing = 6;
+ // Container child vbox3.Gtk.Box+BoxChild
this.mainbox = new global::Gtk.HBox ();
this.mainbox.Name = "mainbox";
this.mainbox.Spacing = 6;
@@ -46,7 +52,41 @@ namespace LongoMatch.Gui
this.vbox2.Add (this.videobox);
global::Gtk.Box.BoxChild w1 = ((global::Gtk.Box.BoxChild)(this.vbox2 [this.videobox]));
w1.Position = 0;
- // Container child vbox2.Gtk.Box+BoxChild
+ this.mainbox.Add (this.vbox2);
+ global::Gtk.Box.BoxChild w2 = ((global::Gtk.Box.BoxChild)(this.mainbox [this.vbox2]));
+ w2.Position = 0;
+ // Container child mainbox.Gtk.Box+BoxChild
+ this.vbox5 = new global::Gtk.VBox ();
+ this.vbox5.Name = "vbox5";
+ this.vbox5.Spacing = 6;
+ // Container child vbox5.Gtk.Box+BoxChild
+ this.vscale1 = new global::Gtk.VScale (null);
+ this.vscale1.WidthRequest = 30;
+ this.vscale1.Sensitive = false;
+ this.vscale1.Name = "vscale1";
+ this.vscale1.UpdatePolicy = ((global::Gtk.UpdateType)(1));
+ this.vscale1.Inverted = true;
+ this.vscale1.Adjustment.Lower = 1;
+ this.vscale1.Adjustment.Upper = 28;
+ this.vscale1.Adjustment.PageIncrement = 3;
+ this.vscale1.Adjustment.PageSize = 1;
+ this.vscale1.Adjustment.StepIncrement = 1;
+ this.vscale1.Adjustment.Value = 25;
+ this.vscale1.DrawValue = true;
+ this.vscale1.Digits = 0;
+ this.vscale1.ValuePos = ((global::Gtk.PositionType)(3));
+ this.vbox5.Add (this.vscale1);
+ global::Gtk.Box.BoxChild w3 = ((global::Gtk.Box.BoxChild)(this.vbox5 [this.vscale1]));
+ w3.Position = 0;
+ this.mainbox.Add (this.vbox5);
+ global::Gtk.Box.BoxChild w4 = ((global::Gtk.Box.BoxChild)(this.mainbox [this.vbox5]));
+ w4.Position = 1;
+ w4.Expand = false;
+ w4.Fill = false;
+ this.vbox3.Add (this.mainbox);
+ global::Gtk.Box.BoxChild w5 = ((global::Gtk.Box.BoxChild)(this.vbox3 [this.mainbox]));
+ w5.Position = 0;
+ // Container child vbox3.Gtk.Box+BoxChild
this.controlsbox = new global::Gtk.HBox ();
this.controlsbox.Name = "controlsbox";
this.controlsbox.Spacing = 6;
@@ -59,119 +99,120 @@ namespace LongoMatch.Gui
this.closebutton.Name = "closebutton";
this.closebutton.UseUnderline = true;
// Container child closebutton.Gtk.Container+ContainerChild
- global::Gtk.Alignment w2 = new global::Gtk.Alignment (0.5F, 0.5F, 0F, 0F);
+ global::Gtk.Alignment w6 = new global::Gtk.Alignment (0.5F, 0.5F, 0F, 0F);
// Container child GtkAlignment.Gtk.Container+ContainerChild
- global::Gtk.HBox w3 = new global::Gtk.HBox ();
- w3.Spacing = 2;
+ global::Gtk.HBox w7 = new global::Gtk.HBox ();
+ w7.Spacing = 2;
// Container child GtkHBox.Gtk.Container+ContainerChild
- global::Gtk.Image w4 = new global::Gtk.Image ();
- w4.Pixbuf = global::Stetic.IconLoader.LoadIcon (this, "gtk-close", global::Gtk.IconSize.Dnd);
- w3.Add (w4);
+ global::Gtk.Image w8 = new global::Gtk.Image ();
+ w8.Pixbuf = global::Stetic.IconLoader.LoadIcon (this, "gtk-close", global::Gtk.IconSize.Dnd);
+ w7.Add (w8);
// Container child GtkHBox.Gtk.Container+ContainerChild
- global::Gtk.Label w6 = new global::Gtk.Label ();
- w3.Add (w6);
- w2.Add (w3);
- this.closebutton.Add (w2);
+ global::Gtk.Label w10 = new global::Gtk.Label ();
+ w7.Add (w10);
+ w6.Add (w7);
+ this.closebutton.Add (w6);
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 w14 = ((global::Gtk.Box.BoxChild)(this.buttonsbox [this.closebutton]));
+ w14.Position = 0;
+ w14.Expand = false;
+ w14.Fill = false;
// Container child buttonsbox.Gtk.Box+BoxChild
this.drawbutton = new global::Gtk.Button ();
this.drawbutton.Name = "drawbutton";
this.drawbutton.UseUnderline = true;
+ this.drawbutton.Relief = ((global::Gtk.ReliefStyle)(2));
// Container child drawbutton.Gtk.Container+ContainerChild
- global::Gtk.Alignment w11 = new global::Gtk.Alignment (0.5F, 0.5F, 0F, 0F);
+ global::Gtk.Alignment w15 = new global::Gtk.Alignment (0.5F, 0.5F, 0F, 0F);
// Container child GtkAlignment.Gtk.Container+ContainerChild
- global::Gtk.HBox w12 = new global::Gtk.HBox ();
- w12.Spacing = 2;
+ global::Gtk.HBox w16 = new global::Gtk.HBox ();
+ w16.Spacing = 2;
// Container child GtkHBox.Gtk.Container+ContainerChild
- global::Gtk.Image w13 = new global::Gtk.Image ();
- w13.Pixbuf = global::Stetic.IconLoader.LoadIcon (this, "gtk-select-color", global::Gtk.IconSize.Menu);
- w12.Add (w13);
+ global::Gtk.Image w17 = new global::Gtk.Image ();
+ w17.Pixbuf = global::Stetic.IconLoader.LoadIcon (this, "gtk-select-color", global::Gtk.IconSize.Menu);
+ w16.Add (w17);
// Container child GtkHBox.Gtk.Container+ContainerChild
- global::Gtk.Label w15 = new global::Gtk.Label ();
- w12.Add (w15);
- w11.Add (w12);
- this.drawbutton.Add (w11);
+ global::Gtk.Label w19 = new global::Gtk.Label ();
+ w16.Add (w19);
+ w15.Add (w16);
+ this.drawbutton.Add (w15);
this.buttonsbox.Add (this.drawbutton);
- global::Gtk.Box.BoxChild w19 = ((global::Gtk.Box.BoxChild)(this.buttonsbox [this.drawbutton]));
- w19.Position = 1;
- w19.Expand = false;
- w19.Fill = false;
+ global::Gtk.Box.BoxChild w23 = ((global::Gtk.Box.BoxChild)(this.buttonsbox [this.drawbutton]));
+ w23.Position = 1;
+ w23.Expand = false;
+ w23.Fill = false;
// Container child buttonsbox.Gtk.Box+BoxChild
this.playbutton = new global::Gtk.Button ();
this.playbutton.Name = "playbutton";
this.playbutton.UseUnderline = true;
this.playbutton.Relief = ((global::Gtk.ReliefStyle)(2));
// Container child playbutton.Gtk.Container+ContainerChild
- global::Gtk.Alignment w20 = new global::Gtk.Alignment (0.5F, 0.5F, 0F, 0F);
+ global::Gtk.Alignment w24 = new global::Gtk.Alignment (0.5F, 0.5F, 0F, 0F);
// Container child GtkAlignment.Gtk.Container+ContainerChild
- global::Gtk.HBox w21 = new global::Gtk.HBox ();
- w21.Spacing = 2;
+ global::Gtk.HBox w25 = new global::Gtk.HBox ();
+ w25.Spacing = 2;
// Container child GtkHBox.Gtk.Container+ContainerChild
- global::Gtk.Image w22 = new global::Gtk.Image ();
- w22.Pixbuf = global::Stetic.IconLoader.LoadIcon (this, "gtk-media-play", global::Gtk.IconSize.Button);
- w21.Add (w22);
+ global::Gtk.Image w26 = new global::Gtk.Image ();
+ w26.Pixbuf = global::Stetic.IconLoader.LoadIcon (this, "gtk-media-play", global::Gtk.IconSize.Button);
+ w25.Add (w26);
// Container child GtkHBox.Gtk.Container+ContainerChild
- global::Gtk.Label w24 = new global::Gtk.Label ();
- w21.Add (w24);
- w20.Add (w21);
- this.playbutton.Add (w20);
+ global::Gtk.Label w28 = new global::Gtk.Label ();
+ w25.Add (w28);
+ w24.Add (w25);
+ this.playbutton.Add (w24);
this.buttonsbox.Add (this.playbutton);
- global::Gtk.Box.BoxChild w28 = ((global::Gtk.Box.BoxChild)(this.buttonsbox [this.playbutton]));
- w28.Position = 2;
- w28.Expand = false;
- w28.Fill = false;
+ global::Gtk.Box.BoxChild w32 = ((global::Gtk.Box.BoxChild)(this.buttonsbox [this.playbutton]));
+ w32.Position = 2;
+ w32.Expand = false;
+ w32.Fill = false;
// Container child buttonsbox.Gtk.Box+BoxChild
this.pausebutton = new global::Gtk.Button ();
this.pausebutton.Name = "pausebutton";
this.pausebutton.UseUnderline = true;
this.pausebutton.Relief = ((global::Gtk.ReliefStyle)(2));
// Container child pausebutton.Gtk.Container+ContainerChild
- global::Gtk.Alignment w29 = new global::Gtk.Alignment (0.5F, 0.5F, 0F, 0F);
+ global::Gtk.Alignment w33 = new global::Gtk.Alignment (0.5F, 0.5F, 0F, 0F);
// Container child GtkAlignment.Gtk.Container+ContainerChild
- global::Gtk.HBox w30 = new global::Gtk.HBox ();
- w30.Spacing = 2;
+ global::Gtk.HBox w34 = new global::Gtk.HBox ();
+ w34.Spacing = 2;
// Container child GtkHBox.Gtk.Container+ContainerChild
- global::Gtk.Image w31 = new global::Gtk.Image ();
- w31.Pixbuf = global::Stetic.IconLoader.LoadIcon (this, "gtk-media-pause", global::Gtk.IconSize.Button);
- w30.Add (w31);
+ global::Gtk.Image w35 = new global::Gtk.Image ();
+ w35.Pixbuf = global::Stetic.IconLoader.LoadIcon (this, "gtk-media-pause", global::Gtk.IconSize.Button);
+ w34.Add (w35);
// Container child GtkHBox.Gtk.Container+ContainerChild
- global::Gtk.Label w33 = new global::Gtk.Label ();
- w30.Add (w33);
- w29.Add (w30);
- this.pausebutton.Add (w29);
+ global::Gtk.Label w37 = new global::Gtk.Label ();
+ w34.Add (w37);
+ w33.Add (w34);
+ this.pausebutton.Add (w33);
this.buttonsbox.Add (this.pausebutton);
- global::Gtk.Box.BoxChild w37 = ((global::Gtk.Box.BoxChild)(this.buttonsbox [this.pausebutton]));
- w37.Position = 3;
- w37.Expand = false;
- w37.Fill = false;
+ global::Gtk.Box.BoxChild w41 = ((global::Gtk.Box.BoxChild)(this.buttonsbox [this.pausebutton]));
+ w41.Position = 3;
+ w41.Expand = false;
+ w41.Fill = false;
// Container child buttonsbox.Gtk.Box+BoxChild
this.prevbutton = new global::Gtk.Button ();
this.prevbutton.Name = "prevbutton";
this.prevbutton.UseUnderline = true;
this.prevbutton.Relief = ((global::Gtk.ReliefStyle)(2));
// Container child prevbutton.Gtk.Container+ContainerChild
- global::Gtk.Alignment w38 = new global::Gtk.Alignment (0.5F, 0.5F, 0F, 0F);
+ global::Gtk.Alignment w42 = new global::Gtk.Alignment (0.5F, 0.5F, 0F, 0F);
// Container child GtkAlignment.Gtk.Container+ContainerChild
- global::Gtk.HBox w39 = new global::Gtk.HBox ();
- w39.Spacing = 2;
+ global::Gtk.HBox w43 = new global::Gtk.HBox ();
+ w43.Spacing = 2;
// Container child GtkHBox.Gtk.Container+ContainerChild
- global::Gtk.Image w40 = new global::Gtk.Image ();
- w40.Pixbuf = global::Stetic.IconLoader.LoadIcon (this, "gtk-media-previous", global::Gtk.IconSize.Button);
- w39.Add (w40);
+ global::Gtk.Image w44 = new global::Gtk.Image ();
+ w44.Pixbuf = global::Stetic.IconLoader.LoadIcon (this, "gtk-media-previous", global::Gtk.IconSize.Button);
+ w43.Add (w44);
// Container child GtkHBox.Gtk.Container+ContainerChild
- global::Gtk.Label w42 = new global::Gtk.Label ();
- w39.Add (w42);
- w38.Add (w39);
- this.prevbutton.Add (w38);
+ global::Gtk.Label w46 = new global::Gtk.Label ();
+ w43.Add (w46);
+ w42.Add (w43);
+ this.prevbutton.Add (w42);
this.buttonsbox.Add (this.prevbutton);
- global::Gtk.Box.BoxChild w46 = ((global::Gtk.Box.BoxChild)(this.buttonsbox [this.prevbutton]));
- w46.Position = 4;
- w46.Expand = false;
- w46.Fill = false;
+ global::Gtk.Box.BoxChild w50 = ((global::Gtk.Box.BoxChild)(this.buttonsbox [this.prevbutton]));
+ w50.Position = 4;
+ w50.Expand = false;
+ w50.Fill = false;
// Container child buttonsbox.Gtk.Box+BoxChild
this.nextbutton = new global::Gtk.Button ();
this.nextbutton.Sensitive = false;
@@ -179,29 +220,29 @@ namespace LongoMatch.Gui
this.nextbutton.UseUnderline = true;
this.nextbutton.Relief = ((global::Gtk.ReliefStyle)(2));
// Container child nextbutton.Gtk.Container+ContainerChild
- global::Gtk.Alignment w47 = new global::Gtk.Alignment (0.5F, 0.5F, 0F, 0F);
+ global::Gtk.Alignment w51 = new global::Gtk.Alignment (0.5F, 0.5F, 0F, 0F);
// Container child GtkAlignment.Gtk.Container+ContainerChild
- global::Gtk.HBox w48 = new global::Gtk.HBox ();
- w48.Spacing = 2;
+ global::Gtk.HBox w52 = new global::Gtk.HBox ();
+ w52.Spacing = 2;
// Container child GtkHBox.Gtk.Container+ContainerChild
- global::Gtk.Image w49 = new global::Gtk.Image ();
- w49.Pixbuf = global::Stetic.IconLoader.LoadIcon (this, "gtk-media-next", global::Gtk.IconSize.Button);
- w48.Add (w49);
+ global::Gtk.Image w53 = new global::Gtk.Image ();
+ w53.Pixbuf = global::Stetic.IconLoader.LoadIcon (this, "gtk-media-next", global::Gtk.IconSize.Button);
+ w52.Add (w53);
// Container child GtkHBox.Gtk.Container+ContainerChild
- global::Gtk.Label w51 = new global::Gtk.Label ();
- w48.Add (w51);
- w47.Add (w48);
- this.nextbutton.Add (w47);
+ global::Gtk.Label w55 = new global::Gtk.Label ();
+ w52.Add (w55);
+ w51.Add (w52);
+ this.nextbutton.Add (w51);
this.buttonsbox.Add (this.nextbutton);
- global::Gtk.Box.BoxChild w55 = ((global::Gtk.Box.BoxChild)(this.buttonsbox [this.nextbutton]));
- w55.Position = 5;
- w55.Expand = false;
- w55.Fill = false;
+ global::Gtk.Box.BoxChild w59 = ((global::Gtk.Box.BoxChild)(this.buttonsbox [this.nextbutton]));
+ w59.Position = 5;
+ w59.Expand = false;
+ w59.Fill = false;
this.controlsbox.Add (this.buttonsbox);
- global::Gtk.Box.BoxChild w56 = ((global::Gtk.Box.BoxChild)(this.controlsbox [this.buttonsbox]));
- w56.Position = 0;
- w56.Expand = false;
- w56.Fill = false;
+ global::Gtk.Box.BoxChild w60 = ((global::Gtk.Box.BoxChild)(this.controlsbox [this.buttonsbox]));
+ w60.Position = 0;
+ w60.Expand = false;
+ w60.Fill = false;
// Container child controlsbox.Gtk.Box+BoxChild
this.hbox1 = new global::Gtk.HBox ();
this.hbox1.Name = "hbox1";
@@ -211,38 +252,37 @@ 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 w57 = ((global::Gtk.Box.BoxChild)(this.hbox1 [this.jumplabel]));
- w57.Position = 0;
- w57.Expand = false;
- w57.Fill = false;
+ global::Gtk.Box.BoxChild w61 = ((global::Gtk.Box.BoxChild)(this.hbox1 [this.jumplabel]));
+ w61.Position = 0;
+ w61.Expand = false;
+ w61.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.";
- this.jumpspinbutton.CanFocus = true;
this.jumpspinbutton.Name = "jumpspinbutton";
this.jumpspinbutton.Adjustment.PageIncrement = 10;
this.jumpspinbutton.ClimbRate = 1;
this.jumpspinbutton.Numeric = true;
this.jumpspinbutton.Value = 10;
this.hbox1.Add (this.jumpspinbutton);
- global::Gtk.Box.BoxChild w58 = ((global::Gtk.Box.BoxChild)(this.hbox1 [this.jumpspinbutton]));
- w58.Position = 1;
- w58.Expand = false;
- w58.Fill = false;
+ global::Gtk.Box.BoxChild w62 = ((global::Gtk.Box.BoxChild)(this.hbox1 [this.jumpspinbutton]));
+ w62.Position = 1;
+ w62.Expand = false;
+ w62.Fill = false;
this.controlsbox.Add (this.hbox1);
- global::Gtk.Box.BoxChild w59 = ((global::Gtk.Box.BoxChild)(this.controlsbox [this.hbox1]));
- w59.Position = 1;
- w59.Expand = false;
- w59.Fill = false;
+ global::Gtk.Box.BoxChild w63 = ((global::Gtk.Box.BoxChild)(this.controlsbox [this.hbox1]));
+ w63.Position = 1;
+ w63.Expand = false;
+ w63.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 w60 = ((global::Gtk.Box.BoxChild)(this.controlsbox [this.tlabel]));
- w60.Position = 2;
- w60.Expand = false;
- w60.Fill = false;
+ global::Gtk.Box.BoxChild w64 = ((global::Gtk.Box.BoxChild)(this.controlsbox [this.tlabel]));
+ w64.Position = 2;
+ w64.Expand = false;
+ w64.Fill = false;
// Container child controlsbox.Gtk.Box+BoxChild
this.timescale = new global::Gtk.HScale (null);
this.timescale.Name = "timescale";
@@ -255,76 +295,69 @@ namespace LongoMatch.Gui
this.timescale.Digits = 0;
this.timescale.ValuePos = ((global::Gtk.PositionType)(2));
this.controlsbox.Add (this.timescale);
- global::Gtk.Box.BoxChild w61 = ((global::Gtk.Box.BoxChild)(this.controlsbox [this.timescale]));
- w61.Position = 3;
+ global::Gtk.Box.BoxChild w65 = ((global::Gtk.Box.BoxChild)(this.controlsbox [this.timescale]));
+ w65.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 w62 = ((global::Gtk.Box.BoxChild)(this.controlsbox [this.timelabel]));
- w62.Position = 4;
- w62.Expand = false;
+ global::Gtk.Box.BoxChild w66 = ((global::Gtk.Box.BoxChild)(this.controlsbox [this.timelabel]));
+ w66.Position = 4;
+ w66.Expand = false;
// Container child controlsbox.Gtk.Box+BoxChild
this.volumebutton = new global::Gtk.Button ();
this.volumebutton.Name = "volumebutton";
this.volumebutton.UseUnderline = true;
this.volumebutton.Relief = ((global::Gtk.ReliefStyle)(2));
// Container child volumebutton.Gtk.Container+ContainerChild
- global::Gtk.Alignment w63 = new global::Gtk.Alignment (0.5F, 0.5F, 0F, 0F);
+ global::Gtk.Alignment w67 = new global::Gtk.Alignment (0.5F, 0.5F, 0F, 0F);
// Container child GtkAlignment.Gtk.Container+ContainerChild
- global::Gtk.HBox w64 = new global::Gtk.HBox ();
- w64.Spacing = 2;
+ global::Gtk.HBox w68 = new global::Gtk.HBox ();
+ w68.Spacing = 2;
// Container child GtkHBox.Gtk.Container+ContainerChild
- global::Gtk.Image w65 = new global::Gtk.Image ();
- w65.Pixbuf = global::Stetic.IconLoader.LoadIcon (this, "stock_volume", global::Gtk.IconSize.Button);
- w64.Add (w65);
+ global::Gtk.Image w69 = new global::Gtk.Image ();
+ w69.Pixbuf = global::Stetic.IconLoader.LoadIcon (this, "stock_volume", global::Gtk.IconSize.Button);
+ w68.Add (w69);
// Container child GtkHBox.Gtk.Container+ContainerChild
- global::Gtk.Label w67 = new global::Gtk.Label ();
- w64.Add (w67);
- w63.Add (w64);
- this.volumebutton.Add (w63);
+ global::Gtk.Label w71 = new global::Gtk.Label ();
+ w68.Add (w71);
+ w67.Add (w68);
+ this.volumebutton.Add (w67);
this.controlsbox.Add (this.volumebutton);
- global::Gtk.Box.BoxChild w71 = ((global::Gtk.Box.BoxChild)(this.controlsbox [this.volumebutton]));
- w71.Position = 5;
- w71.Expand = false;
- w71.Fill = false;
- this.vbox2.Add (this.controlsbox);
- global::Gtk.Box.BoxChild w72 = ((global::Gtk.Box.BoxChild)(this.vbox2 [this.controlsbox]));
- w72.Position = 1;
- w72.Expand = false;
- w72.Fill = false;
- this.mainbox.Add (this.vbox2);
- global::Gtk.Box.BoxChild w73 = ((global::Gtk.Box.BoxChild)(this.mainbox [this.vbox2]));
- w73.Position = 0;
- // Container child mainbox.Gtk.Box+BoxChild
- this.vbox3 = new global::Gtk.VBox ();
- this.vbox3.Name = "vbox3";
- this.vbox3.Spacing = 6;
- // Container child vbox3.Gtk.Box+BoxChild
- this.vscale1 = new global::Gtk.VScale (null);
- this.vscale1.WidthRequest = 45;
- this.vscale1.Sensitive = false;
- this.vscale1.Name = "vscale1";
- this.vscale1.UpdatePolicy = ((global::Gtk.UpdateType)(1));
- this.vscale1.Inverted = true;
- this.vscale1.Adjustment.Lower = 1;
- this.vscale1.Adjustment.Upper = 28;
- this.vscale1.Adjustment.PageIncrement = 3;
- this.vscale1.Adjustment.PageSize = 1;
- this.vscale1.Adjustment.StepIncrement = 1;
- this.vscale1.Adjustment.Value = 25;
- this.vscale1.DrawValue = true;
- this.vscale1.Digits = 0;
- this.vscale1.ValuePos = ((global::Gtk.PositionType)(3));
- this.vbox3.Add (this.vscale1);
- global::Gtk.Box.BoxChild w74 = ((global::Gtk.Box.BoxChild)(this.vbox3 [this.vscale1]));
- w74.Position = 0;
- this.mainbox.Add (this.vbox3);
- global::Gtk.Box.BoxChild w75 = ((global::Gtk.Box.BoxChild)(this.mainbox [this.vbox3]));
- w75.Position = 1;
+ global::Gtk.Box.BoxChild w75 = ((global::Gtk.Box.BoxChild)(this.controlsbox [this.volumebutton]));
+ w75.Position = 5;
w75.Expand = false;
w75.Fill = false;
- this.Add (this.mainbox);
+ // Container child controlsbox.Gtk.Box+BoxChild
+ this.detachbutton = new global::Gtk.Button ();
+ this.detachbutton.Name = "detachbutton";
+ this.detachbutton.UseUnderline = true;
+ this.detachbutton.Relief = ((global::Gtk.ReliefStyle)(2));
+ // Container child detachbutton.Gtk.Container+ContainerChild
+ global::Gtk.Alignment w76 = new global::Gtk.Alignment (0.5F, 0.5F, 0F, 0F);
+ // Container child GtkAlignment.Gtk.Container+ContainerChild
+ global::Gtk.HBox w77 = new global::Gtk.HBox ();
+ w77.Spacing = 2;
+ // Container child GtkHBox.Gtk.Container+ContainerChild
+ global::Gtk.Image w78 = new global::Gtk.Image ();
+ w78.Pixbuf = global::Stetic.IconLoader.LoadIcon (this, "gtk-disconnect", global::Gtk.IconSize.Menu);
+ w77.Add (w78);
+ // Container child GtkHBox.Gtk.Container+ContainerChild
+ global::Gtk.Label w80 = new global::Gtk.Label ();
+ w77.Add (w80);
+ w76.Add (w77);
+ this.detachbutton.Add (w76);
+ this.controlsbox.Add (this.detachbutton);
+ global::Gtk.Box.BoxChild w84 = ((global::Gtk.Box.BoxChild)(this.controlsbox [this.detachbutton]));
+ w84.Position = 6;
+ w84.Expand = false;
+ w84.Fill = false;
+ this.vbox3.Add (this.controlsbox);
+ global::Gtk.Box.BoxChild w85 = ((global::Gtk.Box.BoxChild)(this.vbox3 [this.controlsbox]));
+ w85.Position = 1;
+ w85.Expand = false;
+ w85.Fill = false;
+ this.Add (this.vbox3);
if ((this.Child != null)) {
this.Child.ShowAll ();
}
@@ -333,6 +366,8 @@ namespace LongoMatch.Gui
this.nextbutton.Hide ();
this.controlsbox.Hide ();
this.Show ();
+ this.vscale1.FormatValue += new global::Gtk.FormatValueHandler (this.OnVscale1FormatValue);
+ this.vscale1.ValueChanged += new global::System.EventHandler (this.OnVscale1ValueChanged);
this.closebutton.Clicked += new global::System.EventHandler (this.OnClosebuttonClicked);
this.drawbutton.Clicked += new global::System.EventHandler (this.OnDrawButtonClicked);
this.playbutton.Clicked += new global::System.EventHandler (this.OnPlaybuttonClicked);
@@ -342,8 +377,6 @@ namespace LongoMatch.Gui
this.timescale.ValueChanged += new global::System.EventHandler (this.OnTimescaleValueChanged);
this.timescale.AdjustBounds += new global::Gtk.AdjustBoundsHandler (this.OnTimescaleAdjustBounds);
this.volumebutton.Clicked += new global::System.EventHandler (this.OnVolumebuttonClicked);
- this.vscale1.FormatValue += new global::Gtk.FormatValueHandler (this.OnVscale1FormatValue);
- this.vscale1.ValueChanged += new global::System.EventHandler (this.OnVscale1ValueChanged);
}
}
}
diff --git a/LongoMatch.GUI.Multimedia/gtk-gui/gui.stetic b/LongoMatch.GUI.Multimedia/gtk-gui/gui.stetic
index 42ca4a7..aee7cd3 100644
--- a/LongoMatch.GUI.Multimedia/gtk-gui/gui.stetic
+++ b/LongoMatch.GUI.Multimedia/gtk-gui/gui.stetic
@@ -76,195 +76,130 @@
<widget class="Gtk.Bin" id="LongoMatch.Gui.PlayerBin" design-size="798 300">
<property name="MemberName" />
<child>
- <widget class="Gtk.HBox" id="mainbox">
+ <widget class="Gtk.VBox" id="vbox3">
<property name="MemberName" />
<property name="Spacing">6</property>
<child>
- <widget class="Gtk.VBox" id="vbox2">
+ <widget class="Gtk.HBox" id="mainbox">
<property name="MemberName" />
<property name="Spacing">6</property>
<child>
- <widget class="Gtk.HBox" id="videobox">
+ <widget class="Gtk.VBox" id="vbox2">
<property name="MemberName" />
<property name="Spacing">6</property>
<child>
- <placeholder />
+ <widget class="Gtk.HBox" id="videobox">
+ <property name="MemberName" />
+ <property name="Spacing">6</property>
+ <child>
+ <placeholder />
+ </child>
+ </widget>
+ <packing>
+ <property name="Position">0</property>
+ <property name="AutoSize">True</property>
+ </packing>
</child>
</widget>
<packing>
<property name="Position">0</property>
- <property name="AutoSize">True</property>
+ <property name="AutoSize">False</property>
</packing>
</child>
<child>
- <widget class="Gtk.HBox" id="controlsbox">
+ <widget class="Gtk.VBox" id="vbox5">
<property name="MemberName" />
- <property name="Visible">False</property>
<property name="Spacing">6</property>
<child>
- <widget class="Gtk.HBox" id="buttonsbox">
+ <widget class="Gtk.VScale" id="vscale1">
<property name="MemberName" />
- <property name="Homogeneous">True</property>
- <child>
- <widget class="Gtk.Button" id="closebutton">
- <property name="MemberName" />
- <property name="Visible">False</property>
- <property name="Type">TextAndIcon</property>
- <property name="Icon">stock:gtk-close Dnd</property>
- <property name="Label" translatable="yes" />
- <property name="UseUnderline">True</property>
- <signal name="Clicked" handler="OnClosebuttonClicked" />
- </widget>
- <packing>
- <property name="Position">0</property>
- <property name="AutoSize">True</property>
- <property name="Expand">False</property>
- <property name="Fill">False</property>
- </packing>
- </child>
- <child>
- <widget class="Gtk.Button" id="drawbutton">
- <property name="MemberName" />
- <property name="Type">TextAndIcon</property>
- <property name="Icon">stock:gtk-select-color Menu</property>
- <property name="Label" translatable="yes" />
- <property name="UseUnderline">True</property>
- <signal name="Clicked" handler="OnDrawButtonClicked" />
- </widget>
- <packing>
- <property name="Position">1</property>
- <property name="AutoSize">True</property>
- <property name="Expand">False</property>
- <property name="Fill">False</property>
- </packing>
- </child>
- <child>
- <widget class="Gtk.Button" id="playbutton">
- <property name="MemberName" />
- <property name="Type">TextAndIcon</property>
- <property name="Icon">stock:gtk-media-play Button</property>
- <property name="Label" translatable="yes" />
- <property name="UseUnderline">True</property>
- <property name="Relief">None</property>
- <signal name="Clicked" handler="OnPlaybuttonClicked" />
- </widget>
- <packing>
- <property name="Position">2</property>
- <property name="AutoSize">True</property>
- <property name="Expand">False</property>
- <property name="Fill">False</property>
- </packing>
- </child>
- <child>
- <widget class="Gtk.Button" id="pausebutton">
- <property name="MemberName" />
- <property name="Type">TextAndIcon</property>
- <property name="Icon">stock:gtk-media-pause Button</property>
- <property name="Label" translatable="yes" />
- <property name="UseUnderline">True</property>
- <property name="Relief">None</property>
- <signal name="Clicked" handler="OnPausebuttonClicked" />
- </widget>
- <packing>
- <property name="Position">3</property>
- <property name="AutoSize">True</property>
- <property name="Expand">False</property>
- <property name="Fill">False</property>
- </packing>
- </child>
- <child>
- <widget class="Gtk.Button" id="prevbutton">
- <property name="MemberName" />
- <property name="Visible">False</property>
- <property name="Type">TextAndIcon</property>
- <property name="Icon">stock:gtk-media-previous Button</property>
- <property name="Label" translatable="yes" />
- <property name="UseUnderline">True</property>
- <property name="Relief">None</property>
- <signal name="Clicked" handler="OnPrevbuttonClicked" />
- </widget>
- <packing>
- <property name="Position">4</property>
- <property name="AutoSize">True</property>
- <property name="Expand">False</property>
- <property name="Fill">False</property>
- </packing>
- </child>
- <child>
- <widget class="Gtk.Button" id="nextbutton">
- <property name="MemberName" />
- <property name="Visible">False</property>
- <property name="Sensitive">False</property>
- <property name="Type">TextAndIcon</property>
- <property name="Icon">stock:gtk-media-next Button</property>
- <property name="Label" translatable="yes" />
- <property name="UseUnderline">True</property>
- <property name="Relief">None</property>
- <signal name="Clicked" handler="OnNextbuttonClicked" />
- </widget>
- <packing>
- <property name="Position">5</property>
- <property name="AutoSize">True</property>
- <property name="Expand">False</property>
- <property name="Fill">False</property>
- </packing>
- </child>
+ <property name="WidthRequest">30</property>
+ <property name="Sensitive">False</property>
+ <property name="UpdatePolicy">Discontinuous</property>
+ <property name="Inverted">True</property>
+ <property name="Lower">1</property>
+ <property name="Upper">28</property>
+ <property name="PageIncrement">3</property>
+ <property name="PageSize">1</property>
+ <property name="StepIncrement">1</property>
+ <property name="Value">25</property>
+ <property name="DrawValue">True</property>
+ <property name="Digits">0</property>
+ <property name="ValuePos">Bottom</property>
+ <signal name="FormatValue" handler="OnVscale1FormatValue" />
+ <signal name="ValueChanged" handler="OnVscale1ValueChanged" />
</widget>
<packing>
<property name="Position">0</property>
<property name="AutoSize">False</property>
+ </packing>
+ </child>
+ </widget>
+ <packing>
+ <property name="Position">1</property>
+ <property name="AutoSize">True</property>
+ <property name="Expand">False</property>
+ <property name="Fill">False</property>
+ </packing>
+ </child>
+ </widget>
+ <packing>
+ <property name="Position">0</property>
+ <property name="AutoSize">True</property>
+ </packing>
+ </child>
+ <child>
+ <widget class="Gtk.HBox" id="controlsbox">
+ <property name="MemberName" />
+ <property name="Visible">False</property>
+ <property name="Spacing">6</property>
+ <child>
+ <widget class="Gtk.HBox" id="buttonsbox">
+ <property name="MemberName" />
+ <property name="Homogeneous">True</property>
+ <child>
+ <widget class="Gtk.Button" id="closebutton">
+ <property name="MemberName" />
+ <property name="Visible">False</property>
+ <property name="Type">TextAndIcon</property>
+ <property name="Icon">stock:gtk-close Dnd</property>
+ <property name="Label" translatable="yes" />
+ <property name="UseUnderline">True</property>
+ <signal name="Clicked" handler="OnClosebuttonClicked" />
+ </widget>
+ <packing>
+ <property name="Position">0</property>
+ <property name="AutoSize">True</property>
<property name="Expand">False</property>
<property name="Fill">False</property>
</packing>
</child>
<child>
- <widget class="Gtk.HBox" id="hbox1">
+ <widget class="Gtk.Button" id="drawbutton">
<property name="MemberName" />
- <property name="Spacing">6</property>
- <child>
- <widget class="Gtk.Label" id="jumplabel">
- <property name="MemberName" />
- <property name="LabelProp" translatable="yes">Jump (s):</property>
- </widget>
- <packing>
- <property name="Position">0</property>
- <property name="AutoSize">True</property>
- <property name="Expand">False</property>
- <property name="Fill">False</property>
- </packing>
- </child>
- <child>
- <widget class="Gtk.SpinButton" id="jumpspinbutton">
- <property name="MemberName" />
- <property name="Tooltip" translatable="yes">Jump in seconds. Hold the Shift key with the direction keys to activate it.</property>
- <property name="CanFocus">True</property>
- <property name="Lower">1</property>
- <property name="Upper">100</property>
- <property name="PageIncrement">10</property>
- <property name="StepIncrement">1</property>
- <property name="ClimbRate">1</property>
- <property name="Numeric">True</property>
- <property name="Value">10</property>
- </widget>
- <packing>
- <property name="Position">1</property>
- <property name="AutoSize">True</property>
- <property name="Expand">False</property>
- <property name="Fill">False</property>
- </packing>
- </child>
+ <property name="Type">TextAndIcon</property>
+ <property name="Icon">stock:gtk-select-color Menu</property>
+ <property name="Label" translatable="yes" />
+ <property name="UseUnderline">True</property>
+ <property name="Relief">None</property>
+ <signal name="Clicked" handler="OnDrawButtonClicked" />
</widget>
<packing>
<property name="Position">1</property>
- <property name="AutoSize">False</property>
+ <property name="AutoSize">True</property>
<property name="Expand">False</property>
<property name="Fill">False</property>
</packing>
</child>
<child>
- <widget class="Gtk.Label" id="tlabel">
+ <widget class="Gtk.Button" id="playbutton">
<property name="MemberName" />
- <property name="LabelProp" translatable="yes">Time:</property>
+ <property name="Type">TextAndIcon</property>
+ <property name="Icon">stock:gtk-media-play Button</property>
+ <property name="Label" translatable="yes" />
+ <property name="UseUnderline">True</property>
+ <property name="Relief">None</property>
+ <signal name="Clicked" handler="OnPlaybuttonClicked" />
</widget>
<packing>
<property name="Position">2</property>
@@ -274,43 +209,51 @@
</packing>
</child>
<child>
- <widget class="Gtk.HScale" id="timescale">
+ <widget class="Gtk.Button" id="pausebutton">
<property name="MemberName" />
- <property name="UpdatePolicy">Discontinuous</property>
- <property name="Upper">1</property>
- <property name="PageIncrement">1</property>
- <property name="StepIncrement">1</property>
- <property name="Value">1</property>
- <property name="DrawValue">False</property>
- <property name="Digits">0</property>
- <property name="ValuePos">Top</property>
- <signal name="ValueChanged" handler="OnTimescaleValueChanged" />
- <signal name="AdjustBounds" handler="OnTimescaleAdjustBounds" />
+ <property name="Type">TextAndIcon</property>
+ <property name="Icon">stock:gtk-media-pause Button</property>
+ <property name="Label" translatable="yes" />
+ <property name="UseUnderline">True</property>
+ <property name="Relief">None</property>
+ <signal name="Clicked" handler="OnPausebuttonClicked" />
</widget>
<packing>
<property name="Position">3</property>
<property name="AutoSize">True</property>
+ <property name="Expand">False</property>
+ <property name="Fill">False</property>
</packing>
</child>
<child>
- <widget class="Gtk.Label" id="timelabel">
+ <widget class="Gtk.Button" id="prevbutton">
<property name="MemberName" />
+ <property name="Visible">False</property>
+ <property name="Type">TextAndIcon</property>
+ <property name="Icon">stock:gtk-media-previous Button</property>
+ <property name="Label" translatable="yes" />
+ <property name="UseUnderline">True</property>
+ <property name="Relief">None</property>
+ <signal name="Clicked" handler="OnPrevbuttonClicked" />
</widget>
<packing>
<property name="Position">4</property>
- <property name="AutoSize">False</property>
+ <property name="AutoSize">True</property>
<property name="Expand">False</property>
+ <property name="Fill">False</property>
</packing>
</child>
<child>
- <widget class="Gtk.Button" id="volumebutton">
+ <widget class="Gtk.Button" id="nextbutton">
<property name="MemberName" />
+ <property name="Visible">False</property>
+ <property name="Sensitive">False</property>
<property name="Type">TextAndIcon</property>
- <property name="Icon">stock:stock_volume Button</property>
+ <property name="Icon">stock:gtk-media-next Button</property>
<property name="Label" translatable="yes" />
<property name="UseUnderline">True</property>
<property name="Relief">None</property>
- <signal name="Clicked" handler="OnVolumebuttonClicked" />
+ <signal name="Clicked" handler="OnNextbuttonClicked" />
</widget>
<packing>
<property name="Position">5</property>
@@ -321,50 +264,133 @@
</child>
</widget>
<packing>
+ <property name="Position">0</property>
+ <property name="AutoSize">False</property>
+ <property name="Expand">False</property>
+ <property name="Fill">False</property>
+ </packing>
+ </child>
+ <child>
+ <widget class="Gtk.HBox" id="hbox1">
+ <property name="MemberName" />
+ <property name="Spacing">6</property>
+ <child>
+ <widget class="Gtk.Label" id="jumplabel">
+ <property name="MemberName" />
+ <property name="LabelProp" translatable="yes">Jump (s):</property>
+ </widget>
+ <packing>
+ <property name="Position">0</property>
+ <property name="AutoSize">True</property>
+ <property name="Expand">False</property>
+ <property name="Fill">False</property>
+ </packing>
+ </child>
+ <child>
+ <widget class="Gtk.SpinButton" id="jumpspinbutton">
+ <property name="MemberName" />
+ <property name="Tooltip" translatable="yes">Jump in seconds. Hold the Shift key with the direction keys to activate it.</property>
+ <property name="Lower">1</property>
+ <property name="Upper">100</property>
+ <property name="PageIncrement">10</property>
+ <property name="StepIncrement">1</property>
+ <property name="ClimbRate">1</property>
+ <property name="Numeric">True</property>
+ <property name="Value">10</property>
+ </widget>
+ <packing>
+ <property name="Position">1</property>
+ <property name="AutoSize">True</property>
+ <property name="Expand">False</property>
+ <property name="Fill">False</property>
+ </packing>
+ </child>
+ </widget>
+ <packing>
<property name="Position">1</property>
<property name="AutoSize">False</property>
<property name="Expand">False</property>
<property name="Fill">False</property>
</packing>
</child>
- </widget>
- <packing>
- <property name="Position">0</property>
- <property name="AutoSize">False</property>
- </packing>
- </child>
- <child>
- <widget class="Gtk.VBox" id="vbox3">
- <property name="MemberName" />
- <property name="Spacing">6</property>
<child>
- <widget class="Gtk.VScale" id="vscale1">
+ <widget class="Gtk.Label" id="tlabel">
+ <property name="MemberName" />
+ <property name="LabelProp" translatable="yes">Time:</property>
+ </widget>
+ <packing>
+ <property name="Position">2</property>
+ <property name="AutoSize">True</property>
+ <property name="Expand">False</property>
+ <property name="Fill">False</property>
+ </packing>
+ </child>
+ <child>
+ <widget class="Gtk.HScale" id="timescale">
<property name="MemberName" />
- <property name="WidthRequest">45</property>
- <property name="Sensitive">False</property>
<property name="UpdatePolicy">Discontinuous</property>
- <property name="Inverted">True</property>
- <property name="Lower">1</property>
- <property name="Upper">28</property>
- <property name="PageIncrement">3</property>
- <property name="PageSize">1</property>
+ <property name="Upper">1</property>
+ <property name="PageIncrement">1</property>
<property name="StepIncrement">1</property>
- <property name="Value">25</property>
- <property name="DrawValue">True</property>
+ <property name="Value">1</property>
+ <property name="DrawValue">False</property>
<property name="Digits">0</property>
- <property name="ValuePos">Bottom</property>
- <signal name="FormatValue" handler="OnVscale1FormatValue" />
- <signal name="ValueChanged" handler="OnVscale1ValueChanged" />
+ <property name="ValuePos">Top</property>
+ <signal name="ValueChanged" handler="OnTimescaleValueChanged" />
+ <signal name="AdjustBounds" handler="OnTimescaleAdjustBounds" />
</widget>
<packing>
- <property name="Position">0</property>
+ <property name="Position">3</property>
+ <property name="AutoSize">True</property>
+ </packing>
+ </child>
+ <child>
+ <widget class="Gtk.Label" id="timelabel">
+ <property name="MemberName" />
+ </widget>
+ <packing>
+ <property name="Position">4</property>
<property name="AutoSize">False</property>
+ <property name="Expand">False</property>
+ </packing>
+ </child>
+ <child>
+ <widget class="Gtk.Button" id="volumebutton">
+ <property name="MemberName" />
+ <property name="Type">TextAndIcon</property>
+ <property name="Icon">stock:stock_volume Button</property>
+ <property name="Label" translatable="yes" />
+ <property name="UseUnderline">True</property>
+ <property name="Relief">None</property>
+ <signal name="Clicked" handler="OnVolumebuttonClicked" />
+ </widget>
+ <packing>
+ <property name="Position">5</property>
+ <property name="AutoSize">True</property>
+ <property name="Expand">False</property>
+ <property name="Fill">False</property>
+ </packing>
+ </child>
+ <child>
+ <widget class="Gtk.Button" id="detachbutton">
+ <property name="MemberName" />
+ <property name="Type">TextAndIcon</property>
+ <property name="Icon">stock:gtk-disconnect Menu</property>
+ <property name="Label" translatable="yes" />
+ <property name="UseUnderline">True</property>
+ <property name="Relief">None</property>
+ </widget>
+ <packing>
+ <property name="Position">6</property>
+ <property name="AutoSize">True</property>
+ <property name="Expand">False</property>
+ <property name="Fill">False</property>
</packing>
</child>
</widget>
<packing>
<property name="Position">1</property>
- <property name="AutoSize">False</property>
+ <property name="AutoSize">True</property>
<property name="Expand">False</property>
<property name="Fill">False</property>
</packing>
diff --git a/LongoMatch.GUI/gtk-gui/LongoMatch.Gui.MainWindow.cs b/LongoMatch.GUI/gtk-gui/LongoMatch.Gui.MainWindow.cs
index 41ec2e8..fef6ef6 100644
--- a/LongoMatch.GUI/gtk-gui/LongoMatch.Gui.MainWindow.cs
+++ b/LongoMatch.GUI/gtk-gui/LongoMatch.Gui.MainWindow.cs
@@ -148,7 +148,7 @@ namespace LongoMatch.Gui
this.ManualTaggingViewAction.ShortLabel = global::Mono.Unix.Catalog.GetString ("Free Capture Mode");
w1.Add (this.ManualTaggingViewAction, "<Control>f");
this.GameUnitsViewAction = new global::Gtk.RadioAction ("GameUnitsViewAction", global::Mono.Unix.Catalog.GetString ("Game units view"), null, null, 0);
- this.GameUnitsViewAction.Group = this.ManualTaggingViewAction.Group;
+ this.GameUnitsViewAction.Group = this.TaggingViewAction.Group;
this.GameUnitsViewAction.Sensitive = false;
this.GameUnitsViewAction.ShortLabel = global::Mono.Unix.Catalog.GetString ("Game units view");
w1.Add (this.GameUnitsViewAction, null);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]