[longomatch] Use a label for the file path in the video edition dialog
- From: Andoni Morales Alastruey <amorales src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [longomatch] Use a label for the file path in the video edition dialog
- Date: Thu, 8 Nov 2012 21:48:15 +0000 (UTC)
commit 8cdfd3f2dcfd5eda4ee8bb32c1fe04d4749ad1ce
Author: Andoni Morales Alastruey <ylatuya gmail com>
Date: Wed Nov 7 21:00:58 2012 +0100
Use a label for the file path in the video edition dialog
.../Gui/Dialog/VideoEditionProperties.cs | 4 ++--
...LongoMatch.Gui.Dialog.VideoEditionProperties.cs | 13 +++++--------
LongoMatch.GUI/gtk-gui/gui.stetic | 9 +++------
3 files changed, 10 insertions(+), 16 deletions(-)
---
diff --git a/LongoMatch.GUI/Gui/Dialog/VideoEditionProperties.cs b/LongoMatch.GUI/Gui/Dialog/VideoEditionProperties.cs
index 5d63b78..d3585dd 100644
--- a/LongoMatch.GUI/Gui/Dialog/VideoEditionProperties.cs
+++ b/LongoMatch.GUI/Gui/Dialog/VideoEditionProperties.cs
@@ -130,7 +130,7 @@ namespace LongoMatch.Gui.Dialog
formatcombobox.GetActiveIter(out iter);
encSettings.EncodingProfile = (EncodingProfile) encStore.GetValue(iter, 1);
- encSettings.OutputFile = fileentry.Text;
+ encSettings.OutputFile = filelabel.Text;
/* FIXME: Configure with the UI */
encSettings.Framerate_n = 25;
@@ -161,7 +161,7 @@ namespace LongoMatch.Gui.Dialog
filter.AddPattern("*.vob");
fChooser.Filter = filter;
if(fChooser.Run() == (int)ResponseType.Accept) {
- fileentry.Text = fChooser.Filename;
+ filelabel.Text = fChooser.Filename;
}
fChooser.Destroy();
}
diff --git a/LongoMatch.GUI/gtk-gui/LongoMatch.Gui.Dialog.VideoEditionProperties.cs b/LongoMatch.GUI/gtk-gui/LongoMatch.Gui.Dialog.VideoEditionProperties.cs
index a425b54..f79f4db 100644
--- a/LongoMatch.GUI/gtk-gui/LongoMatch.Gui.Dialog.VideoEditionProperties.cs
+++ b/LongoMatch.GUI/gtk-gui/LongoMatch.Gui.Dialog.VideoEditionProperties.cs
@@ -20,7 +20,7 @@ namespace LongoMatch.Gui.Dialog
private global::Gtk.HBox hbox1;
private global::Gtk.Label filenamelabel;
private global::Gtk.HBox hbox3;
- private global::Gtk.Entry fileentry;
+ private global::Gtk.Label filelabel;
private global::Gtk.Button openbutton;
private global::Gtk.Button buttonCancel;
private global::Gtk.Button buttonOk;
@@ -170,13 +170,10 @@ namespace LongoMatch.Gui.Dialog
this.hbox3.Name = "hbox3";
this.hbox3.Spacing = 6;
// Container child hbox3.Gtk.Box+BoxChild
- this.fileentry = new global::Gtk.Entry ();
- this.fileentry.CanFocus = true;
- this.fileentry.Name = "fileentry";
- this.fileentry.IsEditable = false;
- this.fileentry.InvisibleChar = 'â';
- this.hbox3.Add (this.fileentry);
- global::Gtk.Box.BoxChild w15 = ((global::Gtk.Box.BoxChild)(this.hbox3 [this.fileentry]));
+ this.filelabel = new global::Gtk.Label ();
+ this.filelabel.Name = "filelabel";
+ this.hbox3.Add (this.filelabel);
+ global::Gtk.Box.BoxChild w15 = ((global::Gtk.Box.BoxChild)(this.hbox3 [this.filelabel]));
w15.Position = 0;
// Container child hbox3.Gtk.Box+BoxChild
this.openbutton = new global::Gtk.Button ();
diff --git a/LongoMatch.GUI/gtk-gui/gui.stetic b/LongoMatch.GUI/gtk-gui/gui.stetic
index deb537c..888527f 100644
--- a/LongoMatch.GUI/gtk-gui/gui.stetic
+++ b/LongoMatch.GUI/gtk-gui/gui.stetic
@@ -3166,15 +3166,12 @@ Extra</property>
<property name="MemberName" />
<property name="Spacing">6</property>
<child>
- <widget class="Gtk.Entry" id="fileentry">
+ <widget class="Gtk.Label" id="filelabel">
<property name="MemberName" />
- <property name="CanFocus">True</property>
- <property name="IsEditable">False</property>
- <property name="InvisibleChar">â</property>
</widget>
<packing>
<property name="Position">0</property>
- <property name="AutoSize">True</property>
+ <property name="AutoSize">False</property>
</packing>
</child>
<child>
@@ -3197,7 +3194,7 @@ Extra</property>
</widget>
<packing>
<property name="Position">1</property>
- <property name="AutoSize">True</property>
+ <property name="AutoSize">False</property>
</packing>
</child>
</widget>
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]