[longomatch/livecapture2: 9/31] Update more project files
- From: Andoni Morales Alastruey <amorales src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [longomatch/livecapture2: 9/31] Update more project files
- Date: Mon, 3 May 2010 22:39:34 +0000 (UTC)
commit 374f45bb7189f6fc4edf24eb4bdd729fc09e56c4
Author: Andoni Morales Alastruey <ylatuya gmail com>
Date: Mon Mar 29 20:52:32 2010 +0200
Update more project files
CesarPlayer/gtk-gui/LongoMatch.Gui.PlayerBin.cs | 36 +++---
.../LongoMatch.Gui.Dialog.NewProjectDialog.cs | 2 +-
...LongoMatch.Gui.Dialog.ProjectSelectionDialog.cs | 128 ++++++++------------
LongoMatch/gtk-gui/LongoMatch.Gui.MainWindow.cs | 2 +-
4 files changed, 73 insertions(+), 95 deletions(-)
---
diff --git a/CesarPlayer/gtk-gui/LongoMatch.Gui.PlayerBin.cs b/CesarPlayer/gtk-gui/LongoMatch.Gui.PlayerBin.cs
index b47308e..dc020ca 100644
--- a/CesarPlayer/gtk-gui/LongoMatch.Gui.PlayerBin.cs
+++ b/CesarPlayer/gtk-gui/LongoMatch.Gui.PlayerBin.cs
@@ -106,14 +106,14 @@ namespace LongoMatch.Gui {
this.drawbutton.UseUnderline = true;
// Container child drawbutton.Gtk.Container+ContainerChild
Gtk.Alignment w11 = new Gtk.Alignment(0.5F, 0.5F, 0F, 0F);
- // Container child GtkAlignment1.Gtk.Container+ContainerChild
+ // Container child GtkAlignment.Gtk.Container+ContainerChild
Gtk.HBox w12 = new Gtk.HBox();
w12.Spacing = 2;
- // Container child GtkHBox1.Gtk.Container+ContainerChild
+ // Container child GtkHBox.Gtk.Container+ContainerChild
Gtk.Image w13 = new Gtk.Image();
w13.Pixbuf = Stetic.IconLoader.LoadIcon(this, "gtk-select-color", Gtk.IconSize.Menu, 16);
w12.Add(w13);
- // Container child GtkHBox1.Gtk.Container+ContainerChild
+ // Container child GtkHBox.Gtk.Container+ContainerChild
Gtk.Label w15 = new Gtk.Label();
w12.Add(w15);
w11.Add(w12);
@@ -131,14 +131,14 @@ namespace LongoMatch.Gui {
this.playbutton.Relief = ((Gtk.ReliefStyle)(2));
// Container child playbutton.Gtk.Container+ContainerChild
Gtk.Alignment w20 = new Gtk.Alignment(0.5F, 0.5F, 0F, 0F);
- // Container child GtkAlignment2.Gtk.Container+ContainerChild
+ // Container child GtkAlignment.Gtk.Container+ContainerChild
Gtk.HBox w21 = new Gtk.HBox();
w21.Spacing = 2;
- // Container child GtkHBox2.Gtk.Container+ContainerChild
+ // Container child GtkHBox.Gtk.Container+ContainerChild
Gtk.Image w22 = new Gtk.Image();
w22.Pixbuf = Stetic.IconLoader.LoadIcon(this, "gtk-media-play", Gtk.IconSize.Button, 20);
w21.Add(w22);
- // Container child GtkHBox2.Gtk.Container+ContainerChild
+ // Container child GtkHBox.Gtk.Container+ContainerChild
Gtk.Label w24 = new Gtk.Label();
w21.Add(w24);
w20.Add(w21);
@@ -156,14 +156,14 @@ namespace LongoMatch.Gui {
this.pausebutton.Relief = ((Gtk.ReliefStyle)(2));
// Container child pausebutton.Gtk.Container+ContainerChild
Gtk.Alignment w29 = new Gtk.Alignment(0.5F, 0.5F, 0F, 0F);
- // Container child GtkAlignment3.Gtk.Container+ContainerChild
+ // Container child GtkAlignment.Gtk.Container+ContainerChild
Gtk.HBox w30 = new Gtk.HBox();
w30.Spacing = 2;
- // Container child GtkHBox3.Gtk.Container+ContainerChild
+ // Container child GtkHBox.Gtk.Container+ContainerChild
Gtk.Image w31 = new Gtk.Image();
w31.Pixbuf = Stetic.IconLoader.LoadIcon(this, "gtk-media-pause", Gtk.IconSize.Button, 20);
w30.Add(w31);
- // Container child GtkHBox3.Gtk.Container+ContainerChild
+ // Container child GtkHBox.Gtk.Container+ContainerChild
Gtk.Label w33 = new Gtk.Label();
w30.Add(w33);
w29.Add(w30);
@@ -181,14 +181,14 @@ namespace LongoMatch.Gui {
this.prevbutton.Relief = ((Gtk.ReliefStyle)(2));
// Container child prevbutton.Gtk.Container+ContainerChild
Gtk.Alignment w38 = new Gtk.Alignment(0.5F, 0.5F, 0F, 0F);
- // Container child GtkAlignment4.Gtk.Container+ContainerChild
+ // Container child GtkAlignment.Gtk.Container+ContainerChild
Gtk.HBox w39 = new Gtk.HBox();
w39.Spacing = 2;
- // Container child GtkHBox4.Gtk.Container+ContainerChild
+ // Container child GtkHBox.Gtk.Container+ContainerChild
Gtk.Image w40 = new Gtk.Image();
w40.Pixbuf = Stetic.IconLoader.LoadIcon(this, "gtk-media-previous", Gtk.IconSize.Button, 20);
w39.Add(w40);
- // Container child GtkHBox4.Gtk.Container+ContainerChild
+ // Container child GtkHBox.Gtk.Container+ContainerChild
Gtk.Label w42 = new Gtk.Label();
w39.Add(w42);
w38.Add(w39);
@@ -207,14 +207,14 @@ namespace LongoMatch.Gui {
this.nextbutton.Relief = ((Gtk.ReliefStyle)(2));
// Container child nextbutton.Gtk.Container+ContainerChild
Gtk.Alignment w47 = new Gtk.Alignment(0.5F, 0.5F, 0F, 0F);
- // Container child GtkAlignment5.Gtk.Container+ContainerChild
+ // Container child GtkAlignment.Gtk.Container+ContainerChild
Gtk.HBox w48 = new Gtk.HBox();
w48.Spacing = 2;
- // Container child GtkHBox5.Gtk.Container+ContainerChild
+ // Container child GtkHBox.Gtk.Container+ContainerChild
Gtk.Image w49 = new Gtk.Image();
w49.Pixbuf = Stetic.IconLoader.LoadIcon(this, "gtk-media-next", Gtk.IconSize.Button, 20);
w48.Add(w49);
- // Container child GtkHBox5.Gtk.Container+ContainerChild
+ // Container child GtkHBox.Gtk.Container+ContainerChild
Gtk.Label w51 = new Gtk.Label();
w48.Add(w51);
w47.Add(w48);
@@ -267,14 +267,14 @@ namespace LongoMatch.Gui {
this.volumebutton.Relief = ((Gtk.ReliefStyle)(2));
// Container child volumebutton.Gtk.Container+ContainerChild
Gtk.Alignment w60 = new Gtk.Alignment(0.5F, 0.5F, 0F, 0F);
- // Container child GtkAlignment6.Gtk.Container+ContainerChild
+ // Container child GtkAlignment.Gtk.Container+ContainerChild
Gtk.HBox w61 = new Gtk.HBox();
w61.Spacing = 2;
- // Container child GtkHBox6.Gtk.Container+ContainerChild
+ // Container child GtkHBox.Gtk.Container+ContainerChild
Gtk.Image w62 = new Gtk.Image();
w62.Pixbuf = Stetic.IconLoader.LoadIcon(this, "stock_volume", Gtk.IconSize.Button, 20);
w61.Add(w62);
- // Container child GtkHBox6.Gtk.Container+ContainerChild
+ // Container child GtkHBox.Gtk.Container+ContainerChild
Gtk.Label w64 = new Gtk.Label();
w61.Add(w64);
w60.Add(w61);
diff --git a/LongoMatch/gtk-gui/LongoMatch.Gui.Dialog.NewProjectDialog.cs b/LongoMatch/gtk-gui/LongoMatch.Gui.Dialog.NewProjectDialog.cs
index 0bacb0b..89d289e 100644
--- a/LongoMatch/gtk-gui/LongoMatch.Gui.Dialog.NewProjectDialog.cs
+++ b/LongoMatch/gtk-gui/LongoMatch.Gui.Dialog.NewProjectDialog.cs
@@ -25,7 +25,7 @@ namespace LongoMatch.Gui.Dialog {
this.Name = "LongoMatch.Gui.Dialog.NewProjectDialog";
this.Title = Mono.Unix.Catalog.GetString("New Project");
this.Icon = Stetic.IconLoader.LoadIcon(this, "longomatch", Gtk.IconSize.Dialog, 48);
- this.WindowPosition = ((Gtk.WindowPosition)(1));
+ this.WindowPosition = ((Gtk.WindowPosition)(4));
this.Modal = true;
this.DestroyWithParent = true;
this.Gravity = ((Gdk.Gravity)(5));
diff --git a/LongoMatch/gtk-gui/LongoMatch.Gui.Dialog.ProjectSelectionDialog.cs b/LongoMatch/gtk-gui/LongoMatch.Gui.Dialog.ProjectSelectionDialog.cs
index 1280df1..4cf48bc 100644
--- a/LongoMatch/gtk-gui/LongoMatch.Gui.Dialog.ProjectSelectionDialog.cs
+++ b/LongoMatch/gtk-gui/LongoMatch.Gui.Dialog.ProjectSelectionDialog.cs
@@ -17,20 +17,16 @@ namespace LongoMatch.Gui.Dialog {
private Gtk.HBox hbox1;
- private Gtk.Image image61;
-
- private Gtk.Label label1;
-
private Gtk.RadioButton fromfileradiobutton;
- private Gtk.HBox hbox2;
-
- private Gtk.Image image62;
+ private Gtk.Image image61;
- private Gtk.Label label2;
+ private Gtk.HBox hbox2;
private Gtk.RadioButton fakeliveradiobutton;
+ private Gtk.Image image62;
+
private Gtk.Button buttonCancel;
private Gtk.Button buttonOk;
@@ -43,6 +39,9 @@ namespace LongoMatch.Gui.Dialog {
this.Icon = Stetic.IconLoader.LoadIcon(this, "longomatch", Gtk.IconSize.Menu, 16);
this.WindowPosition = ((Gtk.WindowPosition)(4));
this.Modal = true;
+ this.Gravity = ((Gdk.Gravity)(5));
+ this.SkipPagerHint = true;
+ this.SkipTaskbarHint = true;
this.HasSeparator = false;
// Internal child LongoMatch.Gui.Dialog.ProjectSelectionDialog.VBox
Gtk.VBox w1 = this.VBox;
@@ -57,90 +56,69 @@ namespace LongoMatch.Gui.Dialog {
this.hbox1.Name = "hbox1";
this.hbox1.Spacing = 6;
// Container child hbox1.Gtk.Box+BoxChild
- this.image61 = new Gtk.Image();
- this.image61.Name = "image61";
- this.image61.Pixbuf = Gdk.Pixbuf.LoadFromResource("video.png");
- this.hbox1.Add(this.image61);
- Gtk.Box.BoxChild w2 = ((Gtk.Box.BoxChild)(this.hbox1[this.image61]));
- w2.Position = 0;
- w2.Expand = false;
- w2.Fill = false;
- // Container child hbox1.Gtk.Box+BoxChild
- this.label1 = new Gtk.Label();
- this.label1.Name = "label1";
- this.label1.Xalign = 0F;
- this.label1.LabelProp = Mono.Unix.Catalog.GetString("New project using a video file");
- this.hbox1.Add(this.label1);
- Gtk.Box.BoxChild w3 = ((Gtk.Box.BoxChild)(this.hbox1[this.label1]));
- w3.Position = 1;
- // Container child hbox1.Gtk.Box+BoxChild
- this.fromfileradiobutton = new Gtk.RadioButton("");
+ this.fromfileradiobutton = new Gtk.RadioButton(Mono.Unix.Catalog.GetString("New project usng a video file"));
this.fromfileradiobutton.CanFocus = true;
this.fromfileradiobutton.Name = "fromfileradiobutton";
- this.fromfileradiobutton.Active = true;
this.fromfileradiobutton.DrawIndicator = true;
this.fromfileradiobutton.UseUnderline = true;
this.fromfileradiobutton.FocusOnClick = false;
this.fromfileradiobutton.Group = new GLib.SList(System.IntPtr.Zero);
this.hbox1.Add(this.fromfileradiobutton);
- Gtk.Box.BoxChild w4 = ((Gtk.Box.BoxChild)(this.hbox1[this.fromfileradiobutton]));
- w4.Position = 2;
+ Gtk.Box.BoxChild w2 = ((Gtk.Box.BoxChild)(this.hbox1[this.fromfileradiobutton]));
+ w2.Position = 0;
+ // Container child hbox1.Gtk.Box+BoxChild
+ this.image61 = new Gtk.Image();
+ this.image61.Name = "image61";
+ this.image61.Pixbuf = Gdk.Pixbuf.LoadFromResource("video.png");
+ this.hbox1.Add(this.image61);
+ Gtk.Box.BoxChild w3 = ((Gtk.Box.BoxChild)(this.hbox1[this.image61]));
+ w3.Position = 1;
+ w3.Expand = false;
+ w3.Fill = false;
+ this.vbox2.Add(this.hbox1);
+ Gtk.Box.BoxChild w4 = ((Gtk.Box.BoxChild)(this.vbox2[this.hbox1]));
+ w4.Position = 0;
w4.Expand = false;
w4.Fill = false;
- this.vbox2.Add(this.hbox1);
- Gtk.Box.BoxChild w5 = ((Gtk.Box.BoxChild)(this.vbox2[this.hbox1]));
- w5.Position = 0;
- w5.Expand = false;
- w5.Fill = false;
// Container child vbox2.Gtk.Box+BoxChild
this.hbox2 = new Gtk.HBox();
this.hbox2.Name = "hbox2";
this.hbox2.Spacing = 6;
// Container child hbox2.Gtk.Box+BoxChild
+ this.fakeliveradiobutton = new Gtk.RadioButton(Mono.Unix.Catalog.GetString("Live project using a fake capture device"));
+ this.fakeliveradiobutton.CanFocus = true;
+ this.fakeliveradiobutton.Name = "fakeliveradiobutton";
+ this.fakeliveradiobutton.DrawIndicator = true;
+ this.fakeliveradiobutton.UseUnderline = true;
+ this.fakeliveradiobutton.Group = this.fromfileradiobutton.Group;
+ this.hbox2.Add(this.fakeliveradiobutton);
+ Gtk.Box.BoxChild w5 = ((Gtk.Box.BoxChild)(this.hbox2[this.fakeliveradiobutton]));
+ w5.Position = 0;
+ // Container child hbox2.Gtk.Box+BoxChild
this.image62 = new Gtk.Image();
this.image62.Name = "image62";
this.image62.Pixbuf = Gdk.Pixbuf.LoadFromResource("camera-video.png");
this.hbox2.Add(this.image62);
Gtk.Box.BoxChild w6 = ((Gtk.Box.BoxChild)(this.hbox2[this.image62]));
- w6.Position = 0;
+ w6.Position = 1;
w6.Expand = false;
w6.Fill = false;
- // Container child hbox2.Gtk.Box+BoxChild
- this.label2 = new Gtk.Label();
- this.label2.Name = "label2";
- this.label2.Xalign = 0F;
- this.label2.LabelProp = Mono.Unix.Catalog.GetString("Live project using a fake capture device");
- this.hbox2.Add(this.label2);
- Gtk.Box.BoxChild w7 = ((Gtk.Box.BoxChild)(this.hbox2[this.label2]));
+ this.vbox2.Add(this.hbox2);
+ Gtk.Box.BoxChild w7 = ((Gtk.Box.BoxChild)(this.vbox2[this.hbox2]));
w7.Position = 1;
- // Container child hbox2.Gtk.Box+BoxChild
- this.fakeliveradiobutton = new Gtk.RadioButton("");
- this.fakeliveradiobutton.CanFocus = true;
- this.fakeliveradiobutton.Name = "fakeliveradiobutton";
- this.fakeliveradiobutton.DrawIndicator = true;
- this.fakeliveradiobutton.UseUnderline = true;
- this.fakeliveradiobutton.Group = this.fromfileradiobutton.Group;
- this.hbox2.Add(this.fakeliveradiobutton);
- Gtk.Box.BoxChild w8 = ((Gtk.Box.BoxChild)(this.hbox2[this.fakeliveradiobutton]));
- w8.Position = 2;
+ w7.Expand = false;
+ w7.Fill = false;
+ w1.Add(this.vbox2);
+ Gtk.Box.BoxChild w8 = ((Gtk.Box.BoxChild)(w1[this.vbox2]));
+ w8.Position = 0;
w8.Expand = false;
w8.Fill = false;
- this.vbox2.Add(this.hbox2);
- Gtk.Box.BoxChild w9 = ((Gtk.Box.BoxChild)(this.vbox2[this.hbox2]));
- w9.Position = 1;
- w9.Expand = false;
- w9.Fill = false;
- w1.Add(this.vbox2);
- Gtk.Box.BoxChild w10 = ((Gtk.Box.BoxChild)(w1[this.vbox2]));
- w10.Position = 0;
- w10.Expand = false;
- w10.Fill = false;
// Internal child LongoMatch.Gui.Dialog.ProjectSelectionDialog.ActionArea
- Gtk.HButtonBox w11 = this.ActionArea;
- w11.Name = "dialog1_ActionArea";
- w11.Spacing = 6;
- w11.BorderWidth = ((uint)(5));
- w11.LayoutStyle = ((Gtk.ButtonBoxStyle)(4));
+ Gtk.HButtonBox w9 = this.ActionArea;
+ w9.Name = "dialog1_ActionArea";
+ w9.Spacing = 6;
+ w9.BorderWidth = ((uint)(5));
+ w9.LayoutStyle = ((Gtk.ButtonBoxStyle)(4));
// Container child dialog1_ActionArea.Gtk.ButtonBox+ButtonBoxChild
this.buttonCancel = new Gtk.Button();
this.buttonCancel.CanDefault = true;
@@ -150,9 +128,9 @@ namespace LongoMatch.Gui.Dialog {
this.buttonCancel.UseUnderline = true;
this.buttonCancel.Label = "gtk-cancel";
this.AddActionWidget(this.buttonCancel, -6);
- Gtk.ButtonBox.ButtonBoxChild w12 = ((Gtk.ButtonBox.ButtonBoxChild)(w11[this.buttonCancel]));
- w12.Expand = false;
- w12.Fill = false;
+ Gtk.ButtonBox.ButtonBoxChild w10 = ((Gtk.ButtonBox.ButtonBoxChild)(w9[this.buttonCancel]));
+ w10.Expand = false;
+ w10.Fill = false;
// Container child dialog1_ActionArea.Gtk.ButtonBox+ButtonBoxChild
this.buttonOk = new Gtk.Button();
this.buttonOk.CanDefault = true;
@@ -162,14 +140,14 @@ namespace LongoMatch.Gui.Dialog {
this.buttonOk.UseUnderline = true;
this.buttonOk.Label = "gtk-ok";
this.AddActionWidget(this.buttonOk, -5);
- Gtk.ButtonBox.ButtonBoxChild w13 = ((Gtk.ButtonBox.ButtonBoxChild)(w11[this.buttonOk]));
- w13.Position = 1;
- w13.Expand = false;
- w13.Fill = false;
+ Gtk.ButtonBox.ButtonBoxChild w11 = ((Gtk.ButtonBox.ButtonBoxChild)(w9[this.buttonOk]));
+ w11.Position = 1;
+ w11.Expand = false;
+ w11.Fill = false;
if ((this.Child != null)) {
this.Child.ShowAll();
}
- this.DefaultWidth = 355;
+ this.DefaultWidth = 298;
this.DefaultHeight = 138;
this.Show();
}
diff --git a/LongoMatch/gtk-gui/LongoMatch.Gui.MainWindow.cs b/LongoMatch/gtk-gui/LongoMatch.Gui.MainWindow.cs
index 476f8ae..e8aeb07 100644
--- a/LongoMatch/gtk-gui/LongoMatch.Gui.MainWindow.cs
+++ b/LongoMatch/gtk-gui/LongoMatch.Gui.MainWindow.cs
@@ -193,7 +193,7 @@ namespace LongoMatch.Gui {
this.ImportProjectAction.ShortLabel = Mono.Unix.Catalog.GetString("_Import Project");
w1.Add(this.ImportProjectAction, "<Control>i");
this.FreeCaptureModeAction = new Gtk.RadioAction("FreeCaptureModeAction", Mono.Unix.Catalog.GetString("Free Capture Mode"), null, null, 0);
- this.FreeCaptureModeAction.Group = this.CaptureModeAction.Group;
+ this.FreeCaptureModeAction.Group = this.AnalyzeModeAction.Group;
this.FreeCaptureModeAction.Sensitive = false;
this.FreeCaptureModeAction.ShortLabel = Mono.Unix.Catalog.GetString("Free Capture Mode");
w1.Add(this.FreeCaptureModeAction, null);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]