[longomatch] Fix GUI expanded windows



commit f1404e26d5479181521896d834e0048769f28b44
Author: Andoni Morales Alastruey <ylatuya gmail com>
Date:   Sun Jun 13 18:01:26 2010 +0200

    Fix GUI expanded windows

 .../LongoMatch.Gui.Dialog.EditPlayerDialog.cs      |    2 -
 .../gtk-gui/LongoMatch.Gui.Dialog.EntryDialog.cs   |    6 +---
 .../LongoMatch.Gui.Dialog.TeamTemplateEditor.cs    |    2 -
 .../LongoMatch.Gui.Dialog.TemplatesManager.cs      |    4 --
 LongoMatch/gtk-gui/LongoMatch.Gui.MainWindow.cs    |    2 +-
 LongoMatch/gtk-gui/gui.stetic                      |   32 ++++++-------------
 LongoMatch/gtk-gui/objects.xml                     |   18 +++++-----
 7 files changed, 21 insertions(+), 45 deletions(-)
---
diff --git a/LongoMatch/gtk-gui/LongoMatch.Gui.Dialog.EditPlayerDialog.cs b/LongoMatch/gtk-gui/LongoMatch.Gui.Dialog.EditPlayerDialog.cs
index 6ee0998..6c556cc 100644
--- a/LongoMatch/gtk-gui/LongoMatch.Gui.Dialog.EditPlayerDialog.cs
+++ b/LongoMatch/gtk-gui/LongoMatch.Gui.Dialog.EditPlayerDialog.cs
@@ -38,8 +38,6 @@ namespace LongoMatch.Gui.Dialog {
             w1.Add(this.playerproperties1);
             Gtk.Box.BoxChild w2 = ((Gtk.Box.BoxChild)(w1[this.playerproperties1]));
             w2.Position = 0;
-            w2.Expand = false;
-            w2.Fill = false;
             // Internal child LongoMatch.Gui.Dialog.EditPlayerDialog.ActionArea
             Gtk.HButtonBox w3 = this.ActionArea;
             w3.Name = "dialog1_ActionArea";
diff --git a/LongoMatch/gtk-gui/LongoMatch.Gui.Dialog.EntryDialog.cs b/LongoMatch/gtk-gui/LongoMatch.Gui.Dialog.EntryDialog.cs
index cd84f48..cd41a81 100644
--- a/LongoMatch/gtk-gui/LongoMatch.Gui.Dialog.EntryDialog.cs
+++ b/LongoMatch/gtk-gui/LongoMatch.Gui.Dialog.EntryDialog.cs
@@ -87,7 +87,6 @@ namespace LongoMatch.Gui.Dialog {
             w4.TopAttach = ((uint)(2));
             w4.BottomAttach = ((uint)(3));
             w4.XOptions = ((Gtk.AttachOptions)(4));
-            w4.YOptions = ((Gtk.AttachOptions)(4));
             // Container child table1.Gtk.Table+TableChild
             this.label2 = new Gtk.Label();
             this.label2.Name = "label2";
@@ -96,7 +95,6 @@ namespace LongoMatch.Gui.Dialog {
             this.table1.Add(this.label2);
             Gtk.Table.TableChild w5 = ((Gtk.Table.TableChild)(this.table1[this.label2]));
             w5.XOptions = ((Gtk.AttachOptions)(4));
-            w5.YOptions = ((Gtk.AttachOptions)(4));
             // Container child table1.Gtk.Table+TableChild
             this.playerslabel = new Gtk.Label();
             this.playerslabel.Name = "playerslabel";
@@ -107,7 +105,6 @@ namespace LongoMatch.Gui.Dialog {
             w6.TopAttach = ((uint)(1));
             w6.BottomAttach = ((uint)(2));
             w6.XOptions = ((Gtk.AttachOptions)(4));
-            w6.YOptions = ((Gtk.AttachOptions)(4));
             // Container child table1.Gtk.Table+TableChild
             this.playersspinbutton = new Gtk.SpinButton(1, 100, 1);
             this.playersspinbutton.CanFocus = true;
@@ -127,7 +124,6 @@ namespace LongoMatch.Gui.Dialog {
             w1.Add(this.table1);
             Gtk.Box.BoxChild w8 = ((Gtk.Box.BoxChild)(w1[this.table1]));
             w8.Position = 0;
-            w8.Expand = false;
             // Container child dialog1_VBox.Gtk.Box+BoxChild
             this.combobox = Gtk.ComboBox.NewText();
             this.combobox.Sensitive = false;
@@ -172,7 +168,7 @@ namespace LongoMatch.Gui.Dialog {
                 this.Child.ShowAll();
             }
             this.DefaultWidth = 339;
-            this.DefaultHeight = 175;
+            this.DefaultHeight = 178;
             this.Show();
             this.checkbutton.Toggled += new System.EventHandler(this.OnCheckbuttonToggled);
         }
diff --git a/LongoMatch/gtk-gui/LongoMatch.Gui.Dialog.TeamTemplateEditor.cs b/LongoMatch/gtk-gui/LongoMatch.Gui.Dialog.TeamTemplateEditor.cs
index b65c928..c090d0c 100644
--- a/LongoMatch/gtk-gui/LongoMatch.Gui.Dialog.TeamTemplateEditor.cs
+++ b/LongoMatch/gtk-gui/LongoMatch.Gui.Dialog.TeamTemplateEditor.cs
@@ -39,8 +39,6 @@ namespace LongoMatch.Gui.Dialog {
             w1.Add(this.teamtemplatewidget1);
             Gtk.Box.BoxChild w2 = ((Gtk.Box.BoxChild)(w1[this.teamtemplatewidget1]));
             w2.Position = 0;
-            w2.Expand = false;
-            w2.Fill = false;
             // Internal child LongoMatch.Gui.Dialog.TeamTemplateEditor.ActionArea
             Gtk.HButtonBox w3 = this.ActionArea;
             w3.Name = "dialog1_ActionArea";
diff --git a/LongoMatch/gtk-gui/LongoMatch.Gui.Dialog.TemplatesManager.cs b/LongoMatch/gtk-gui/LongoMatch.Gui.Dialog.TemplatesManager.cs
index a57180e..71f4cba 100644
--- a/LongoMatch/gtk-gui/LongoMatch.Gui.Dialog.TemplatesManager.cs
+++ b/LongoMatch/gtk-gui/LongoMatch.Gui.Dialog.TemplatesManager.cs
@@ -168,8 +168,6 @@ namespace LongoMatch.Gui.Dialog {
             this.hbox1.Add(this.sectionspropertieswidget1);
             Gtk.Box.BoxChild w32 = ((Gtk.Box.BoxChild)(this.hbox1[this.sectionspropertieswidget1]));
             w32.Position = 0;
-            w32.Expand = false;
-            w32.Fill = false;
             // Container child hbox1.Gtk.Box+BoxChild
             this.teamtemplatewidget1 = new LongoMatch.Gui.Component.TeamTemplateWidget();
             this.teamtemplatewidget1.Sensitive = false;
@@ -179,8 +177,6 @@ namespace LongoMatch.Gui.Dialog {
             this.hbox1.Add(this.teamtemplatewidget1);
             Gtk.Box.BoxChild w33 = ((Gtk.Box.BoxChild)(this.hbox1[this.teamtemplatewidget1]));
             w33.Position = 1;
-            w33.Expand = false;
-            w33.Fill = false;
             this.hpaned1.Add(this.hbox1);
             w1.Add(this.hpaned1);
             Gtk.Box.BoxChild w35 = ((Gtk.Box.BoxChild)(w1[this.hpaned1]));
diff --git a/LongoMatch/gtk-gui/LongoMatch.Gui.MainWindow.cs b/LongoMatch/gtk-gui/LongoMatch.Gui.MainWindow.cs
index fbceab2..26d3adf 100644
--- a/LongoMatch/gtk-gui/LongoMatch.Gui.MainWindow.cs
+++ b/LongoMatch/gtk-gui/LongoMatch.Gui.MainWindow.cs
@@ -195,7 +195,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);
diff --git a/LongoMatch/gtk-gui/gui.stetic b/LongoMatch/gtk-gui/gui.stetic
index 00b939f..8f87273 100644
--- a/LongoMatch/gtk-gui/gui.stetic
+++ b/LongoMatch/gtk-gui/gui.stetic
@@ -2620,7 +2620,7 @@ new one.</property>
       </widget>
     </child>
   </widget>
-  <widget class="Gtk.Dialog" id="LongoMatch.Gui.Dialog.EntryDialog" design-size="339 175">
+  <widget class="Gtk.Dialog" id="LongoMatch.Gui.Dialog.EntryDialog" design-size="339 178">
     <property name="MemberName" />
     <property name="Title" translatable="yes">Select template name</property>
     <property name="Icon">stock:longomatch Dialog</property>
@@ -2695,13 +2695,12 @@ new one.</property>
               <packing>
                 <property name="TopAttach">2</property>
                 <property name="BottomAttach">3</property>
-                <property name="AutoSize">True</property>
+                <property name="AutoSize">False</property>
                 <property name="XOptions">Fill</property>
-                <property name="YOptions">Fill</property>
                 <property name="XExpand">False</property>
                 <property name="XFill">True</property>
                 <property name="XShrink">False</property>
-                <property name="YExpand">False</property>
+                <property name="YExpand">True</property>
                 <property name="YFill">True</property>
                 <property name="YShrink">False</property>
               </packing>
@@ -2713,13 +2712,12 @@ new one.</property>
                 <property name="LabelProp" translatable="yes">Name:</property>
               </widget>
               <packing>
-                <property name="AutoSize">True</property>
+                <property name="AutoSize">False</property>
                 <property name="XOptions">Fill</property>
-                <property name="YOptions">Fill</property>
                 <property name="XExpand">False</property>
                 <property name="XFill">True</property>
                 <property name="XShrink">False</property>
-                <property name="YExpand">False</property>
+                <property name="YExpand">True</property>
                 <property name="YFill">True</property>
                 <property name="YShrink">False</property>
               </packing>
@@ -2733,13 +2731,12 @@ new one.</property>
               <packing>
                 <property name="TopAttach">1</property>
                 <property name="BottomAttach">2</property>
-                <property name="AutoSize">True</property>
+                <property name="AutoSize">False</property>
                 <property name="XOptions">Fill</property>
-                <property name="YOptions">Fill</property>
                 <property name="XExpand">False</property>
                 <property name="XFill">True</property>
                 <property name="XShrink">False</property>
-                <property name="YExpand">False</property>
+                <property name="YExpand">True</property>
                 <property name="YFill">True</property>
                 <property name="YShrink">False</property>
               </packing>
@@ -2776,7 +2773,6 @@ new one.</property>
           <packing>
             <property name="Position">0</property>
             <property name="AutoSize">False</property>
-            <property name="Expand">False</property>
           </packing>
         </child>
         <child>
@@ -4056,9 +4052,7 @@ Hotkeys with a single key are also allowed with Ctrl+key.</property>
                   </widget>
                   <packing>
                     <property name="Position">0</property>
-                    <property name="AutoSize">True</property>
-                    <property name="Expand">False</property>
-                    <property name="Fill">False</property>
+                    <property name="AutoSize">False</property>
                   </packing>
                 </child>
                 <child>
@@ -4072,8 +4066,6 @@ Hotkeys with a single key are also allowed with Ctrl+key.</property>
                   <packing>
                     <property name="Position">1</property>
                     <property name="AutoSize">True</property>
-                    <property name="Expand">False</property>
-                    <property name="Fill">False</property>
                   </packing>
                 </child>
               </widget>
@@ -5078,9 +5070,7 @@ Show-&gt;&lt;b&gt; S&lt;/b&gt;
           </widget>
           <packing>
             <property name="Position">0</property>
-            <property name="AutoSize">True</property>
-            <property name="Expand">False</property>
-            <property name="Fill">False</property>
+            <property name="AutoSize">False</property>
           </packing>
         </child>
       </widget>
@@ -5133,9 +5123,7 @@ Show-&gt;&lt;b&gt; S&lt;/b&gt;
           </widget>
           <packing>
             <property name="Position">0</property>
-            <property name="AutoSize">True</property>
-            <property name="Expand">False</property>
-            <property name="Fill">False</property>
+            <property name="AutoSize">False</property>
           </packing>
         </child>
       </widget>
diff --git a/LongoMatch/gtk-gui/objects.xml b/LongoMatch/gtk-gui/objects.xml
index 7d23639..b68c8d7 100644
--- a/LongoMatch/gtk-gui/objects.xml
+++ b/LongoMatch/gtk-gui/objects.xml
@@ -97,7 +97,7 @@
     <signals>
       <itemgroup label="CategoriesTreeView Signals">
         <signal name="SectionClicked" />
-        <signal name="SectionSelected" />
+        <signal name="SectionsSelected" />
       </itemgroup>
     </signals>
   </object>
@@ -141,14 +141,6 @@
     </itemgroups>
     <signals />
   </object>
-  <object type="LongoMatch.Gui.Component.CategoryProperties" palette-category="LongoMatch" allow-children="false" base-type="Gtk.Bin">
-    <itemgroups />
-    <signals>
-      <itemgroup label="CategoryProperties Signals">
-        <signal name="HotKeyChanged" />
-      </itemgroup>
-    </signals>
-  </object>
   <object type="LongoMatch.Gui.Component.TeamTemplateWidget" palette-category="General" allow-children="false" base-type="Gtk.Bin">
     <itemgroups>
       <itemgroup label="TeamTemplateWidget Properties">
@@ -273,4 +265,12 @@
     </itemgroups>
     <signals />
   </object>
+  <object type="LongoMatch.Gui.Component.CategoryProperties" palette-category="LongoMatch" allow-children="false" base-type="Gtk.Bin">
+    <itemgroups />
+    <signals>
+      <itemgroup label="CategoryProperties Signals">
+        <signal name="HotKeyChanged" />
+      </itemgroup>
+    </signals>
+  </object>
 </objects>
\ No newline at end of file



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