[longomatch] Use all horizontal space, remove alignment.
- From: Andoni Morales Alastruey <amorales src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [longomatch] Use all horizontal space, remove alignment.
- Date: Wed, 18 Mar 2015 14:43:48 +0000 (UTC)
commit 43a3c32ee3cf57fff1d708a67aa9c5ed29109f46
Author: Julien Moutte <julien fluendo com>
Date: Sat Mar 14 14:52:28 2015 +0100
Use all horizontal space, remove alignment.
.../Gui/Component/MediaFileSetSelection.cs | 8 +++-----
1 files changed, 3 insertions(+), 5 deletions(-)
---
diff --git a/LongoMatch.GUI/Gui/Component/MediaFileSetSelection.cs
b/LongoMatch.GUI/Gui/Component/MediaFileSetSelection.cs
index ebe20c5..4cba878 100644
--- a/LongoMatch.GUI/Gui/Component/MediaFileSetSelection.cs
+++ b/LongoMatch.GUI/Gui/Component/MediaFileSetSelection.cs
@@ -61,14 +61,12 @@ namespace LongoMatch.Gui.Component
void AddMediaFileChooser (String name)
{
- Alignment alignment = new Alignment (0.0f, 0.5f, 0.0f, 0.0f);
MediaFileChooser chooser = new MediaFileChooser (name);
chooser.ChangedEvent += HandleFileChangedEvent;
- alignment.Add (chooser);
- alignment.ShowAll ();
+ chooser.ShowAll ();
- mfss_vbox.PackStart (alignment, true, false, 0);
+ mfss_vbox.PackStart (chooser, true, true, 0);
fileChoosers.Add (chooser);
}
@@ -114,7 +112,7 @@ namespace LongoMatch.Gui.Component
foreach (MediaFileChooser chooser in to_remove) {
chooser.ChangedEvent -= HandleFileChangedEvent;
fileChoosers.Remove (chooser);
- mfss_vbox.Remove (chooser.Parent);
+ mfss_vbox.Remove (chooser);
}
to_remove.Clear ();
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]