[longomatch] Enable back editing events properties



commit d2c6e7a25a223d575c6399445a054e585064447e
Author: Andoni Morales Alastruey <ylatuya gmail com>
Date:   Fri Sep 5 16:12:00 2014 +0200

    Enable back editing events properties

 .../gtk-gui/LongoMatch.Gui.PlayerBin.cs            |    1 -
 LongoMatch.GUI.Multimedia/gtk-gui/gui.stetic       |    1 -
 LongoMatch.GUI/Gui/Component/CategoryProperties.cs |   94 ++--
 .../Gui/Component/PlaysListTreeWidget.cs           |    6 +-
 LongoMatch.GUI/Gui/Dialog/EditCategoryDialog.cs    |   15 +
 LongoMatch.GUI/Gui/TreeView/PlaysTreeView.cs       |   11 +-
 .../LongoMatch.Gui.Component.CategoryProperties.cs |  486 ++++++++++----------
 .../LongoMatch.Gui.Dialog.EditCategoryDialog.cs    |    7 +-
 LongoMatch.GUI/gtk-gui/gui.stetic                  |  259 ++++++-----
 9 files changed, 453 insertions(+), 427 deletions(-)
---
diff --git a/LongoMatch.GUI.Multimedia/gtk-gui/LongoMatch.Gui.PlayerBin.cs 
b/LongoMatch.GUI.Multimedia/gtk-gui/LongoMatch.Gui.PlayerBin.cs
index 405c498..14bcb63 100644
--- a/LongoMatch.GUI.Multimedia/gtk-gui/LongoMatch.Gui.PlayerBin.cs
+++ b/LongoMatch.GUI.Multimedia/gtk-gui/LongoMatch.Gui.PlayerBin.cs
@@ -330,7 +330,6 @@ namespace LongoMatch.Gui
                        this.controlsbox.Add (this.timelabel);
                        global::Gtk.Box.BoxChild w69 = ((global::Gtk.Box.BoxChild)(this.controlsbox 
[this.timelabel]));
                        w69.Position = 4;
-                       w69.Expand = false;
                        // Container child controlsbox.Gtk.Box+BoxChild
                        this.volumebutton = new global::Gtk.Button ();
                        this.volumebutton.Name = "volumebutton";
diff --git a/LongoMatch.GUI.Multimedia/gtk-gui/gui.stetic b/LongoMatch.GUI.Multimedia/gtk-gui/gui.stetic
index 2283d20..58493fe 100644
--- a/LongoMatch.GUI.Multimedia/gtk-gui/gui.stetic
+++ b/LongoMatch.GUI.Multimedia/gtk-gui/gui.stetic
@@ -372,7 +372,6 @@
                   <packing>
                     <property name="Position">4</property>
                     <property name="AutoSize">False</property>
-                    <property name="Expand">False</property>
                   </packing>
                 </child>
                 <child>
diff --git a/LongoMatch.GUI/Gui/Component/CategoryProperties.cs 
b/LongoMatch.GUI/Gui/Component/CategoryProperties.cs
index fca1a17..a3fd6fb 100644
--- a/LongoMatch.GUI/Gui/Component/CategoryProperties.cs
+++ b/LongoMatch.GUI/Gui/Component/CategoryProperties.cs
@@ -17,11 +17,9 @@
 // Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA.
 //
 //
-
 using System;
 using Gtk;
 using Mono.Unix;
-
 using LongoMatch.Core.Common;
 using LongoMatch.Core.Store;
 using LongoMatch.Gui.Dialog;
@@ -29,9 +27,7 @@ using Point = LongoMatch.Core.Common.Point;
 
 namespace LongoMatch.Gui.Component
 {
-
-       public delegate void HotKeyChangeHandler(HotKey prevHotKey, DashboardButton button);
-
+       public delegate void HotKeyChangeHandler (HotKey prevHotKey,DashboardButton button);
        [System.ComponentModel.Category("LongoMatch")]
        [System.ComponentModel.ToolboxItem(true)]
        public partial  class CategoryProperties : Gtk.Bin
@@ -39,8 +35,8 @@ namespace LongoMatch.Gui.Component
 
                public event HotKeyChangeHandler HotKeyChanged;
                public event EventHandler EditedEvent;
-               SizeGroup sizegroup;
 
+               SizeGroup sizegroup;
                DashboardButton button;
                TimedDashboardButton timedButton;
                EventButton eventButton;
@@ -51,13 +47,13 @@ namespace LongoMatch.Gui.Component
                Time lastLeadTime;
                bool edited, ignore;
 
-               public CategoryProperties()
+               public CategoryProperties ()
                {
-                       this.Build();
+                       this.Build ();
 
                        nameentry.Changed += HandleNameentryChanged;
                        colorbutton1.ColorSet += HandleColorSet;
-                       colorbutton2.ColorSet += HandleColorSet;
+                       textcolorbutton.ColorSet += HandleColorSet;
                        tagmodecombobox.Changed += HandleTagModeChanged;
                        tagscheckbutton.Toggled += HandleTagsToggled;
                        tprbutton.ValueChanged += HandleTagsPerRowValueChanged;
@@ -110,6 +106,15 @@ namespace LongoMatch.Gui.Component
                        }
                }
 
+               public EventType EventType {
+                       set {
+                               EventButton button = new EventButton { EventType = value };
+                               Tagger = button;
+                               timetable.Visible = false;
+                               texttable.Visible = false;
+                       }
+               }
+
                public DashboardButton Tagger {
                        set {
                                button = value;
@@ -119,19 +124,20 @@ namespace LongoMatch.Gui.Component
                                cardButton = value as PenaltyCardButton;
                                scoreButton = value as ScoreButton;
                                tagButton = value as TagButton;
-                               UpdateGui();
+                               UpdateGui ();
                        }
                        get {
                                return catButton;
                        }
                }
-               
+
                public Project Project {
                        set;
                        get;
                }
-               
-               void SetPositionCombo (ComboBox box, bool tagField, bool asTrayectory) {
+
+               void SetPositionCombo (ComboBox box, bool tagField, bool asTrayectory)
+               {
                        if (!tagField) {
                                box.Active = 0;
                        } else if (!asTrayectory) {
@@ -141,8 +147,9 @@ namespace LongoMatch.Gui.Component
                        }
                        Edited = true;
                }
-               
-               void ReadPositionCombo (ComboBox box, out bool tagField, out bool asTrayectory) {
+
+               void ReadPositionCombo (ComboBox box, out bool tagField, out bool asTrayectory)
+               {
                        if (box.Active == 0) {
                                tagField = true;
                                asTrayectory = false;
@@ -154,7 +161,7 @@ namespace LongoMatch.Gui.Component
                                asTrayectory = false;
                        }
                }
-               
+
                private void  UpdateGui ()
                {
                        ignore = true;
@@ -168,7 +175,7 @@ namespace LongoMatch.Gui.Component
                        if (button != null) {
                                nameentry.Text = button.Name;
                                colorbutton1.Color = Helpers.Misc.ToGdkColor (button.BackgroundColor);
-                               colorbutton2.Color = Helpers.Misc.ToGdkColor (button.TextColor);
+                               textcolorbutton.Color = Helpers.Misc.ToGdkColor (button.TextColor);
                                if (button.HotKey != null && button.HotKey.Defined)
                                        hotKeyLabel.Text = button.HotKey.ToString ();
                                else
@@ -176,7 +183,7 @@ namespace LongoMatch.Gui.Component
                        } else {
                                nameentry.Text = "";
                                colorbutton1.Color = new Gdk.Color (0, 0, 0);
-                               colorbutton2.Color = new Gdk.Color (0, 0, 0);
+                               textcolorbutton.Color = new Gdk.Color (0, 0, 0);
                                lastLeadTime = new Time ();
                                tagmodecombobox.Active = 0;
                                leadtimebutton.Value = 0;
@@ -211,22 +218,22 @@ namespace LongoMatch.Gui.Component
                        ignore = false;
                        Edited = false;
                }
-               
-               void HandleChangeHotkey(object sender, System.EventArgs e)
+
+               void HandleChangeHotkey (object sender, System.EventArgs e)
                {
                        if (ignore)
                                return;
 
-                       HotKeySelectorDialog dialog = new HotKeySelectorDialog();
-                       dialog.TransientFor=(Gtk.Window)this.Toplevel;
-                       HotKey prevHotKey =  catButton.HotKey;
-                       if(dialog.Run() == (int)ResponseType.Ok) {
-                               catButton.HotKey=dialog.HotKey;
-                               UpdateGui();
+                       HotKeySelectorDialog dialog = new HotKeySelectorDialog ();
+                       dialog.TransientFor = (Gtk.Window)this.Toplevel;
+                       HotKey prevHotKey = button.HotKey;
+                       if (dialog.Run () == (int)ResponseType.Ok) {
+                               button.HotKey = dialog.HotKey;
+                               UpdateGui ();
                        }
-                       dialog.Destroy();
-                       if(HotKeyChanged != null)
-                               HotKeyChanged(prevHotKey,catButton);
+                       dialog.Destroy ();
+                       if (HotKeyChanged != null)
+                               HotKeyChanged (prevHotKey, button);
                        Edited = true;
                }
 
@@ -258,7 +265,7 @@ namespace LongoMatch.Gui.Component
                        catButton.TagsPerRow = tprbutton.ValueAsInt;
                        Edited = true;
                }
-               
+
                void HandleTagsToggled (object sender, EventArgs e)
                {
                        if (ignore)
@@ -273,7 +280,7 @@ namespace LongoMatch.Gui.Component
                        if (ignore)
                                return;
 
-                       timedButton.TagMode = (TagMode) tagmodecombobox.Active;
+                       timedButton.TagMode = (TagMode)tagmodecombobox.Active;
                        if (timedButton.TagMode == TagMode.Predefined) {
                                lagtimebutton.Sensitive = true;
                                leadtimebutton.Value = lastLeadTime.Seconds;
@@ -284,13 +291,13 @@ namespace LongoMatch.Gui.Component
                        }
                        Edited = true;
                }
-               
+
                void HandleColorSet (object sender, EventArgs e)
                {
                        if (ignore)
                                return;
 
-                       LongoMatch.Core.Common.Color c = Helpers.Misc.ToLgmColor((sender as 
ColorButton).Color);
+                       LongoMatch.Core.Common.Color c = Helpers.Misc.ToLgmColor ((sender as 
ColorButton).Color);
                        if (sender == colorbutton1) {
                                button.BackgroundColor = c;
                        } else {
@@ -298,26 +305,26 @@ namespace LongoMatch.Gui.Component
                        }
                        Edited = true;
                }
-               
-               void HandleLeadTimeChanged(object sender, System.EventArgs e)
+
+               void HandleLeadTimeChanged (object sender, System.EventArgs e)
                {
                        if (ignore)
                                return;
 
-                       timedButton.Start = new Time{Seconds=(int)leadtimebutton.Value};
+                       timedButton.Start = new Time { Seconds=(int)leadtimebutton.Value };
                        Edited = true;
                }
 
-               void HandleLagTimeChanged(object sender, System.EventArgs e)
+               void HandleLagTimeChanged (object sender, System.EventArgs e)
                {
                        if (ignore)
                                return;
 
-                       timedButton.Stop = new Time{Seconds=(int)lagtimebutton.Value};
+                       timedButton.Stop = new Time { Seconds=(int)lagtimebutton.Value };
                        Edited = true;
                }
 
-               void HandleNameentryChanged(object sender, System.EventArgs e)
+               void HandleNameentryChanged (object sender, System.EventArgs e)
                {
                        if (ignore)
                                return;
@@ -326,7 +333,7 @@ namespace LongoMatch.Gui.Component
                        Edited = true;
                }
 
-               void HandleSortMethodChanged(object sender, System.EventArgs e)
+               void HandleSortMethodChanged (object sender, System.EventArgs e)
                {
                        if (ignore)
                                return;
@@ -334,16 +341,16 @@ namespace LongoMatch.Gui.Component
                        catButton.EventType.SortMethodString = sortmethodcombobox.ActiveText;
                        Edited = true;
                }
-               
+
                void HandleShapeChanged (object sender, EventArgs e)
                {
                        if (ignore)
                                return;
 
-                       cardButton.PenaltyCard.Shape = (CardShape) shapecombobox.Active;
+                       cardButton.PenaltyCard.Shape = (CardShape)shapecombobox.Active;
                        Edited = true;
                }
-               
+
                void HandlePointsChanged (object sender, EventArgs e)
                {
                        if (ignore)
@@ -352,6 +359,5 @@ namespace LongoMatch.Gui.Component
                        scoreButton.Score.Points = pointsbutton.ValueAsInt;
                        Edited = true;
                }
-
        }
 }
diff --git a/LongoMatch.GUI/Gui/Component/PlaysListTreeWidget.cs 
b/LongoMatch.GUI/Gui/Component/PlaysListTreeWidget.cs
index e65730e..c053db7 100644
--- a/LongoMatch.GUI/Gui/Component/PlaysListTreeWidget.cs
+++ b/LongoMatch.GUI/Gui/Component/PlaysListTreeWidget.cs
@@ -151,9 +151,9 @@ namespace LongoMatch.Gui.Component
                }
 
                protected virtual void OnEditProperties(EventType eventType) {
-                       //EditCategoryDialog dialog = new EditCategoryDialog (project, eventType);
-                       //dialog.Run();
-                       //dialog.Destroy();
+                       EditCategoryDialog dialog = new EditCategoryDialog (project, eventType);
+                       dialog.Run();
+                       dialog.Destroy();
                }
 
                protected virtual void OnNewRenderingJob (object sender, EventArgs args)
diff --git a/LongoMatch.GUI/Gui/Dialog/EditCategoryDialog.cs b/LongoMatch.GUI/Gui/Dialog/EditCategoryDialog.cs
index f3841b4..743b320 100644
--- a/LongoMatch.GUI/Gui/Dialog/EditCategoryDialog.cs
+++ b/LongoMatch.GUI/Gui/Dialog/EditCategoryDialog.cs
@@ -37,6 +37,14 @@ namespace LongoMatch.Gui.Dialog
                        timenodeproperties2.HotKeyChanged += OnHotKeyChanged;
                }
 
+               public EditCategoryDialog(Project project, EventType eventType)
+               {
+                       this.Build();
+                       timenodeproperties2.EventType = eventType;
+                       timenodeproperties2.Project = project;
+                       timenodeproperties2.HotKeyChanged += OnHotKeyChanged;
+               }
+
                public List<HotKey> HotKeysList {
                        set {
                                hkList = value;
@@ -56,5 +64,12 @@ namespace LongoMatch.Gui.Dialog
                                hkList.Add(button.HotKey);
                        }
                }
+               
+               protected override void OnRealized ()
+               {
+                       base.OnRealized ();
+                       Resize (Allocation.Width, ActionArea.Allocation.Height +
+                               timenodeproperties2.Allocation.Height);
+               }
        }
 }
diff --git a/LongoMatch.GUI/Gui/TreeView/PlaysTreeView.cs b/LongoMatch.GUI/Gui/TreeView/PlaysTreeView.cs
index bd089be..c9e4c39 100644
--- a/LongoMatch.GUI/Gui/TreeView/PlaysTreeView.cs
+++ b/LongoMatch.GUI/Gui/TreeView/PlaysTreeView.cs
@@ -59,20 +59,19 @@ namespace LongoMatch.Gui.Component
                }
                
                private void SetCategoriesMenu() {
-                       Gtk.Action edit, editProp, sortMenu;
+                       Gtk.Action editProp, sortMenu;
                        UIManager manager;
                        ActionGroup g;
 
                        manager= new UIManager();
                        g = new ActionGroup("CategoriesMenuGroup");
 
-                       edit = new Gtk.Action("EditAction", Mono.Unix.Catalog.GetString("Edit name"), null, 
"gtk-edit");
+                       editProp = new Gtk.Action("EditPropAction", Mono.Unix.Catalog.GetString("Edit 
properties"), null, "gtk-edit");
                        sortMenu = new Gtk.Action("SortMenuAction", Mono.Unix.Catalog.GetString("Sort 
Method"), null, null);
                        sortByName = new Gtk.RadioAction("SortByNameAction", 
Mono.Unix.Catalog.GetString("Sort by name"), null, null, 1);
                        sortByStart = new Gtk.RadioAction("SortByStartAction", 
Mono.Unix.Catalog.GetString("Sort by start time"), null, null, 2);
                        sortByStop = new Gtk.RadioAction("SortByStopAction", 
Mono.Unix.Catalog.GetString("Sort by stop time"), null, null, 3);
                        sortByDuration = new Gtk.RadioAction("SortByDurationAction", 
Mono.Unix.Catalog.GetString("Sort by duration"), null, null, 3);
-                       editProp = new Gtk.Action("EditPropAction", Mono.Unix.Catalog.GetString("Edit 
properties"), null, "gtk-edit");
 
                        sortByName.Group = new GLib.SList(System.IntPtr.Zero);
                        sortByStart.Group = sortByName.Group;
@@ -80,26 +79,24 @@ namespace LongoMatch.Gui.Component
                        sortByDuration.Group = sortByName.Group;
 
 
-                       g.Add(edit, null);
+                       g.Add(editProp, null);
                        g.Add(sortMenu, null);
                        g.Add(sortByName, null);
                        g.Add(sortByStart, null);
                        g.Add(sortByStop, null);
                        g.Add(sortByDuration, null);
-                       g.Add(editProp, null);
 
                        manager.InsertActionGroup(g,0);
 
                        manager.AddUiFromString("<ui>"+
                                                "  <popup action='CategoryMenu'>"+
-                                               "    <menuitem action='EditAction'/>"+
+                                               "    <menuitem action='EditPropAction'/>"+
                                                "    <menu action='SortMenuAction'>"+
                                                "      <menuitem action='SortByNameAction'/>"+
                                                "      <menuitem action='SortByStartAction'/>"+
                                                "      <menuitem action='SortByStopAction'/>"+
                                                "      <menuitem action='SortByDurationAction'/>"+
                                                "    </menu>"+
-                                               "    <menuitem action='EditPropAction'/>"+
                                                "  </popup>"+
                                                "</ui>");
 
diff --git a/LongoMatch.GUI/gtk-gui/LongoMatch.Gui.Component.CategoryProperties.cs 
b/LongoMatch.GUI/gtk-gui/LongoMatch.Gui.Component.CategoryProperties.cs
index 99fc01a..823f4d8 100644
--- a/LongoMatch.GUI/gtk-gui/LongoMatch.Gui.Component.CategoryProperties.cs
+++ b/LongoMatch.GUI/gtk-gui/LongoMatch.Gui.Component.CategoryProperties.cs
@@ -5,17 +5,18 @@ namespace LongoMatch.Gui.Component
        public partial class CategoryProperties
        {
                private global::Gtk.VBox vbox3;
-               private global::Gtk.Table table2;
+               private global::Gtk.Table maintable;
                private global::Gtk.ColorButton colorbutton1;
-               private global::Gtk.ColorButton colorbutton2;
+               private global::Gtk.Label label1;
+               private global::Gtk.Label label4;
+               private global::Gtk.Entry nameentry;
+               private global::Gtk.Table texttable;
                private global::Gtk.HBox hbox5;
                private global::Gtk.Label hotKeyLabel;
                private global::Gtk.Button changebuton;
-               private global::Gtk.Label label1;
-               private global::Gtk.Label label13;
-               private global::Gtk.Label label4;
                private global::Gtk.Label label6;
-               private global::Gtk.Entry nameentry;
+               private global::Gtk.ColorButton textcolorbutton;
+               private global::Gtk.Label textcolorlabel;
                private global::Gtk.Table timetable;
                private global::Gtk.Label label7;
                private global::Gtk.Label label8;
@@ -30,11 +31,11 @@ namespace LongoMatch.Gui.Component
                private global::Gtk.Label label10;
                private global::Gtk.Label label11;
                private global::Gtk.Label label12;
-               private global::Gtk.Table cattable;
-               private global::Gtk.Label label14;
-               private global::Gtk.Label label15;
                private global::Gtk.Label label9;
                private global::Gtk.ComboBox sortmethodcombobox;
+               private global::Gtk.Table cattable;
+               private global::Gtk.Label label15;
+               private global::Gtk.Label showtagslabel;
                private global::Gtk.CheckButton tagscheckbutton;
                private global::Gtk.SpinButton tprbutton;
                private global::Gtk.Table cardtable;
@@ -55,36 +56,67 @@ namespace LongoMatch.Gui.Component
                        this.vbox3.Name = "vbox3";
                        this.vbox3.Spacing = 6;
                        // Container child vbox3.Gtk.Box+BoxChild
-                       this.table2 = new global::Gtk.Table (((uint)(4)), ((uint)(2)), true);
-                       this.table2.RowSpacing = ((uint)(6));
-                       this.table2.ColumnSpacing = ((uint)(6));
-                       // Container child table2.Gtk.Table+TableChild
+                       this.maintable = new global::Gtk.Table (((uint)(2)), ((uint)(2)), true);
+                       this.maintable.Name = "maintable";
+                       this.maintable.RowSpacing = ((uint)(6));
+                       this.maintable.ColumnSpacing = ((uint)(6));
+                       // Container child maintable.Gtk.Table+TableChild
                        this.colorbutton1 = new global::Gtk.ColorButton ();
                        this.colorbutton1.CanFocus = true;
                        this.colorbutton1.Events = ((global::Gdk.EventMask)(784));
                        this.colorbutton1.Name = "colorbutton1";
-                       this.table2.Add (this.colorbutton1);
-                       global::Gtk.Table.TableChild w1 = ((global::Gtk.Table.TableChild)(this.table2 
[this.colorbutton1]));
+                       this.maintable.Add (this.colorbutton1);
+                       global::Gtk.Table.TableChild w1 = ((global::Gtk.Table.TableChild)(this.maintable 
[this.colorbutton1]));
                        w1.TopAttach = ((uint)(1));
                        w1.BottomAttach = ((uint)(2));
                        w1.LeftAttach = ((uint)(1));
                        w1.RightAttach = ((uint)(2));
                        w1.XOptions = ((global::Gtk.AttachOptions)(4));
                        w1.YOptions = ((global::Gtk.AttachOptions)(4));
-                       // Container child table2.Gtk.Table+TableChild
-                       this.colorbutton2 = new global::Gtk.ColorButton ();
-                       this.colorbutton2.CanFocus = true;
-                       this.colorbutton2.Events = ((global::Gdk.EventMask)(784));
-                       this.colorbutton2.Name = "colorbutton2";
-                       this.table2.Add (this.colorbutton2);
-                       global::Gtk.Table.TableChild w2 = ((global::Gtk.Table.TableChild)(this.table2 
[this.colorbutton2]));
-                       w2.TopAttach = ((uint)(2));
-                       w2.BottomAttach = ((uint)(3));
-                       w2.LeftAttach = ((uint)(1));
-                       w2.RightAttach = ((uint)(2));
+                       // Container child maintable.Gtk.Table+TableChild
+                       this.label1 = new global::Gtk.Label ();
+                       this.label1.Name = "label1";
+                       this.label1.Xalign = 1F;
+                       this.label1.LabelProp = global::Mono.Unix.Catalog.GetString ("<span 
font_desc=\"10\">Name</span>");
+                       this.label1.UseMarkup = true;
+                       this.maintable.Add (this.label1);
+                       global::Gtk.Table.TableChild w2 = ((global::Gtk.Table.TableChild)(this.maintable 
[this.label1]));
                        w2.XOptions = ((global::Gtk.AttachOptions)(4));
                        w2.YOptions = ((global::Gtk.AttachOptions)(4));
-                       // Container child table2.Gtk.Table+TableChild
+                       // Container child maintable.Gtk.Table+TableChild
+                       this.label4 = new global::Gtk.Label ();
+                       this.label4.Name = "label4";
+                       this.label4.Xalign = 1F;
+                       this.label4.LabelProp = global::Mono.Unix.Catalog.GetString ("<span 
font_desc=\"10\">Color</span>");
+                       this.label4.UseMarkup = true;
+                       this.maintable.Add (this.label4);
+                       global::Gtk.Table.TableChild w3 = ((global::Gtk.Table.TableChild)(this.maintable 
[this.label4]));
+                       w3.TopAttach = ((uint)(1));
+                       w3.BottomAttach = ((uint)(2));
+                       w3.XOptions = ((global::Gtk.AttachOptions)(4));
+                       w3.YOptions = ((global::Gtk.AttachOptions)(4));
+                       // Container child maintable.Gtk.Table+TableChild
+                       this.nameentry = new global::Gtk.Entry ();
+                       this.nameentry.WidthRequest = 76;
+                       this.nameentry.CanFocus = true;
+                       this.nameentry.Name = "nameentry";
+                       this.nameentry.IsEditable = true;
+                       this.nameentry.InvisibleChar = '●';
+                       this.maintable.Add (this.nameentry);
+                       global::Gtk.Table.TableChild w4 = ((global::Gtk.Table.TableChild)(this.maintable 
[this.nameentry]));
+                       w4.LeftAttach = ((uint)(1));
+                       w4.RightAttach = ((uint)(2));
+                       w4.YOptions = ((global::Gtk.AttachOptions)(4));
+                       this.vbox3.Add (this.maintable);
+                       global::Gtk.Box.BoxChild w5 = ((global::Gtk.Box.BoxChild)(this.vbox3 
[this.maintable]));
+                       w5.Position = 0;
+                       w5.Expand = false;
+                       // Container child vbox3.Gtk.Box+BoxChild
+                       this.texttable = new global::Gtk.Table (((uint)(2)), ((uint)(2)), true);
+                       this.texttable.Name = "texttable";
+                       this.texttable.RowSpacing = ((uint)(6));
+                       this.texttable.ColumnSpacing = ((uint)(6));
+                       // Container child texttable.Gtk.Table+TableChild
                        this.hbox5 = new global::Gtk.HBox ();
                        this.hbox5.Name = "hbox5";
                        this.hbox5.Spacing = 6;
@@ -93,10 +125,10 @@ namespace LongoMatch.Gui.Component
                        this.hotKeyLabel.Name = "hotKeyLabel";
                        this.hotKeyLabel.LabelProp = global::Mono.Unix.Catalog.GetString ("none");
                        this.hbox5.Add (this.hotKeyLabel);
-                       global::Gtk.Box.BoxChild w3 = ((global::Gtk.Box.BoxChild)(this.hbox5 
[this.hotKeyLabel]));
-                       w3.Position = 0;
-                       w3.Expand = false;
-                       w3.Fill = false;
+                       global::Gtk.Box.BoxChild w6 = ((global::Gtk.Box.BoxChild)(this.hbox5 
[this.hotKeyLabel]));
+                       w6.Position = 0;
+                       w6.Expand = false;
+                       w6.Fill = false;
                        // Container child hbox5.Gtk.Box+BoxChild
                        this.changebuton = new global::Gtk.Button ();
                        this.changebuton.Sensitive = false;
@@ -105,80 +137,55 @@ namespace LongoMatch.Gui.Component
                        this.changebuton.UseUnderline = true;
                        this.changebuton.Label = global::Mono.Unix.Catalog.GetString ("Change");
                        this.hbox5.Add (this.changebuton);
-                       global::Gtk.Box.BoxChild w4 = ((global::Gtk.Box.BoxChild)(this.hbox5 
[this.changebuton]));
-                       w4.Position = 1;
-                       w4.Expand = false;
-                       w4.Fill = false;
-                       this.table2.Add (this.hbox5);
-                       global::Gtk.Table.TableChild w5 = ((global::Gtk.Table.TableChild)(this.table2 
[this.hbox5]));
-                       w5.TopAttach = ((uint)(3));
-                       w5.BottomAttach = ((uint)(4));
-                       w5.LeftAttach = ((uint)(1));
-                       w5.RightAttach = ((uint)(2));
-                       w5.XOptions = ((global::Gtk.AttachOptions)(4));
-                       w5.YOptions = ((global::Gtk.AttachOptions)(4));
-                       // Container child table2.Gtk.Table+TableChild
-                       this.label1 = new global::Gtk.Label ();
-                       this.label1.Name = "label1";
-                       this.label1.Xalign = 1F;
-                       this.label1.LabelProp = global::Mono.Unix.Catalog.GetString ("<span 
font_desc=\"10\">Name</span>");
-                       this.label1.UseMarkup = true;
-                       this.table2.Add (this.label1);
-                       global::Gtk.Table.TableChild w6 = ((global::Gtk.Table.TableChild)(this.table2 
[this.label1]));
-                       w6.XOptions = ((global::Gtk.AttachOptions)(4));
-                       w6.YOptions = ((global::Gtk.AttachOptions)(4));
-                       // Container child table2.Gtk.Table+TableChild
-                       this.label13 = new global::Gtk.Label ();
-                       this.label13.Name = "label13";
-                       this.label13.Xalign = 1F;
-                       this.label13.LabelProp = global::Mono.Unix.Catalog.GetString ("<span 
font_desc=\"10\">Text color</span>");
-                       this.label13.UseMarkup = true;
-                       this.table2.Add (this.label13);
-                       global::Gtk.Table.TableChild w7 = ((global::Gtk.Table.TableChild)(this.table2 
[this.label13]));
-                       w7.TopAttach = ((uint)(2));
-                       w7.BottomAttach = ((uint)(3));
-                       w7.YOptions = ((global::Gtk.AttachOptions)(4));
-                       // Container child table2.Gtk.Table+TableChild
-                       this.label4 = new global::Gtk.Label ();
-                       this.label4.Name = "label4";
-                       this.label4.Xalign = 1F;
-                       this.label4.LabelProp = global::Mono.Unix.Catalog.GetString ("<span 
font_desc=\"10\">Color</span>");
-                       this.label4.UseMarkup = true;
-                       this.table2.Add (this.label4);
-                       global::Gtk.Table.TableChild w8 = ((global::Gtk.Table.TableChild)(this.table2 
[this.label4]));
-                       w8.TopAttach = ((uint)(1));
-                       w8.BottomAttach = ((uint)(2));
+                       global::Gtk.Box.BoxChild w7 = ((global::Gtk.Box.BoxChild)(this.hbox5 
[this.changebuton]));
+                       w7.Position = 1;
+                       w7.Expand = false;
+                       w7.Fill = false;
+                       this.texttable.Add (this.hbox5);
+                       global::Gtk.Table.TableChild w8 = ((global::Gtk.Table.TableChild)(this.texttable 
[this.hbox5]));
+                       w8.LeftAttach = ((uint)(1));
+                       w8.RightAttach = ((uint)(2));
                        w8.XOptions = ((global::Gtk.AttachOptions)(4));
                        w8.YOptions = ((global::Gtk.AttachOptions)(4));
-                       // Container child table2.Gtk.Table+TableChild
+                       // Container child texttable.Gtk.Table+TableChild
                        this.label6 = new global::Gtk.Label ();
                        this.label6.Name = "label6";
                        this.label6.Xalign = 1F;
                        this.label6.LabelProp = global::Mono.Unix.Catalog.GetString ("<span 
font_desc=\"10\">HotKey</span>");
                        this.label6.UseMarkup = true;
-                       this.table2.Add (this.label6);
-                       global::Gtk.Table.TableChild w9 = ((global::Gtk.Table.TableChild)(this.table2 
[this.label6]));
-                       w9.TopAttach = ((uint)(3));
-                       w9.BottomAttach = ((uint)(4));
+                       this.texttable.Add (this.label6);
+                       global::Gtk.Table.TableChild w9 = ((global::Gtk.Table.TableChild)(this.texttable 
[this.label6]));
                        w9.XOptions = ((global::Gtk.AttachOptions)(4));
                        w9.YOptions = ((global::Gtk.AttachOptions)(4));
-                       // Container child table2.Gtk.Table+TableChild
-                       this.nameentry = new global::Gtk.Entry ();
-                       this.nameentry.WidthRequest = 76;
-                       this.nameentry.CanFocus = true;
-                       this.nameentry.Name = "nameentry";
-                       this.nameentry.IsEditable = true;
-                       this.nameentry.InvisibleChar = '●';
-                       this.table2.Add (this.nameentry);
-                       global::Gtk.Table.TableChild w10 = ((global::Gtk.Table.TableChild)(this.table2 
[this.nameentry]));
+                       // Container child texttable.Gtk.Table+TableChild
+                       this.textcolorbutton = new global::Gtk.ColorButton ();
+                       this.textcolorbutton.CanFocus = true;
+                       this.textcolorbutton.Events = ((global::Gdk.EventMask)(784));
+                       this.textcolorbutton.Name = "textcolorbutton";
+                       this.texttable.Add (this.textcolorbutton);
+                       global::Gtk.Table.TableChild w10 = ((global::Gtk.Table.TableChild)(this.texttable 
[this.textcolorbutton]));
+                       w10.TopAttach = ((uint)(1));
+                       w10.BottomAttach = ((uint)(2));
                        w10.LeftAttach = ((uint)(1));
                        w10.RightAttach = ((uint)(2));
                        w10.YOptions = ((global::Gtk.AttachOptions)(4));
-                       this.vbox3.Add (this.table2);
-                       global::Gtk.Box.BoxChild w11 = ((global::Gtk.Box.BoxChild)(this.vbox3 [this.table2]));
-                       w11.Position = 0;
-                       w11.Expand = false;
-                       w11.Fill = false;
+                       // Container child texttable.Gtk.Table+TableChild
+                       this.textcolorlabel = new global::Gtk.Label ();
+                       this.textcolorlabel.Name = "textcolorlabel";
+                       this.textcolorlabel.Xalign = 1F;
+                       this.textcolorlabel.LabelProp = global::Mono.Unix.Catalog.GetString ("<span 
font_desc=\"10\">Text color</span>");
+                       this.textcolorlabel.UseMarkup = true;
+                       this.texttable.Add (this.textcolorlabel);
+                       global::Gtk.Table.TableChild w11 = ((global::Gtk.Table.TableChild)(this.texttable 
[this.textcolorlabel]));
+                       w11.TopAttach = ((uint)(1));
+                       w11.BottomAttach = ((uint)(2));
+                       w11.XOptions = ((global::Gtk.AttachOptions)(4));
+                       w11.YOptions = ((global::Gtk.AttachOptions)(4));
+                       this.vbox3.Add (this.texttable);
+                       global::Gtk.Box.BoxChild w12 = ((global::Gtk.Box.BoxChild)(this.vbox3 
[this.texttable]));
+                       w12.Position = 1;
+                       w12.Expand = false;
+                       w12.Fill = false;
                        // Container child vbox3.Gtk.Box+BoxChild
                        this.timetable = new global::Gtk.Table (((uint)(3)), ((uint)(2)), true);
                        this.timetable.Name = "timetable";
@@ -191,11 +198,11 @@ namespace LongoMatch.Gui.Component
                        this.label7.LabelProp = global::Mono.Unix.Catalog.GetString ("<span 
font_desc=\"10\">Lead time (s)</span>");
                        this.label7.UseMarkup = true;
                        this.timetable.Add (this.label7);
-                       global::Gtk.Table.TableChild w12 = ((global::Gtk.Table.TableChild)(this.timetable 
[this.label7]));
-                       w12.TopAttach = ((uint)(1));
-                       w12.BottomAttach = ((uint)(2));
-                       w12.XOptions = ((global::Gtk.AttachOptions)(4));
-                       w12.YOptions = ((global::Gtk.AttachOptions)(4));
+                       global::Gtk.Table.TableChild w13 = ((global::Gtk.Table.TableChild)(this.timetable 
[this.label7]));
+                       w13.TopAttach = ((uint)(1));
+                       w13.BottomAttach = ((uint)(2));
+                       w13.XOptions = ((global::Gtk.AttachOptions)(4));
+                       w13.YOptions = ((global::Gtk.AttachOptions)(4));
                        // Container child timetable.Gtk.Table+TableChild
                        this.label8 = new global::Gtk.Label ();
                        this.label8.Name = "label8";
@@ -203,11 +210,11 @@ namespace LongoMatch.Gui.Component
                        this.label8.LabelProp = global::Mono.Unix.Catalog.GetString ("<span 
font_desc=\"10\">Lag time (s)</span>");
                        this.label8.UseMarkup = true;
                        this.timetable.Add (this.label8);
-                       global::Gtk.Table.TableChild w13 = ((global::Gtk.Table.TableChild)(this.timetable 
[this.label8]));
-                       w13.TopAttach = ((uint)(2));
-                       w13.BottomAttach = ((uint)(3));
-                       w13.XOptions = ((global::Gtk.AttachOptions)(4));
-                       w13.YOptions = ((global::Gtk.AttachOptions)(4));
+                       global::Gtk.Table.TableChild w14 = ((global::Gtk.Table.TableChild)(this.timetable 
[this.label8]));
+                       w14.TopAttach = ((uint)(2));
+                       w14.BottomAttach = ((uint)(3));
+                       w14.XOptions = ((global::Gtk.AttachOptions)(4));
+                       w14.YOptions = ((global::Gtk.AttachOptions)(4));
                        // Container child timetable.Gtk.Table+TableChild
                        this.lagtimebutton = new global::Gtk.SpinButton (0, 1000, 1);
                        this.lagtimebutton.CanFocus = true;
@@ -216,13 +223,13 @@ namespace LongoMatch.Gui.Component
                        this.lagtimebutton.ClimbRate = 1;
                        this.lagtimebutton.Numeric = true;
                        this.timetable.Add (this.lagtimebutton);
-                       global::Gtk.Table.TableChild w14 = ((global::Gtk.Table.TableChild)(this.timetable 
[this.lagtimebutton]));
-                       w14.TopAttach = ((uint)(2));
-                       w14.BottomAttach = ((uint)(3));
-                       w14.LeftAttach = ((uint)(1));
-                       w14.RightAttach = ((uint)(2));
-                       w14.XOptions = ((global::Gtk.AttachOptions)(4));
-                       w14.YOptions = ((global::Gtk.AttachOptions)(4));
+                       global::Gtk.Table.TableChild w15 = ((global::Gtk.Table.TableChild)(this.timetable 
[this.lagtimebutton]));
+                       w15.TopAttach = ((uint)(2));
+                       w15.BottomAttach = ((uint)(3));
+                       w15.LeftAttach = ((uint)(1));
+                       w15.RightAttach = ((uint)(2));
+                       w15.XOptions = ((global::Gtk.AttachOptions)(4));
+                       w15.YOptions = ((global::Gtk.AttachOptions)(4));
                        // Container child timetable.Gtk.Table+TableChild
                        this.leadtimebutton = new global::Gtk.SpinButton (0, 1000, 1);
                        this.leadtimebutton.CanFocus = true;
@@ -231,13 +238,13 @@ namespace LongoMatch.Gui.Component
                        this.leadtimebutton.ClimbRate = 1;
                        this.leadtimebutton.Numeric = true;
                        this.timetable.Add (this.leadtimebutton);
-                       global::Gtk.Table.TableChild w15 = ((global::Gtk.Table.TableChild)(this.timetable 
[this.leadtimebutton]));
-                       w15.TopAttach = ((uint)(1));
-                       w15.BottomAttach = ((uint)(2));
-                       w15.LeftAttach = ((uint)(1));
-                       w15.RightAttach = ((uint)(2));
-                       w15.XOptions = ((global::Gtk.AttachOptions)(4));
-                       w15.YOptions = ((global::Gtk.AttachOptions)(4));
+                       global::Gtk.Table.TableChild w16 = ((global::Gtk.Table.TableChild)(this.timetable 
[this.leadtimebutton]));
+                       w16.TopAttach = ((uint)(1));
+                       w16.BottomAttach = ((uint)(2));
+                       w16.LeftAttach = ((uint)(1));
+                       w16.RightAttach = ((uint)(2));
+                       w16.XOptions = ((global::Gtk.AttachOptions)(4));
+                       w16.YOptions = ((global::Gtk.AttachOptions)(4));
                        // Container child timetable.Gtk.Table+TableChild
                        this.taglabel = new global::Gtk.Label ();
                        this.taglabel.Name = "taglabel";
@@ -245,9 +252,9 @@ namespace LongoMatch.Gui.Component
                        this.taglabel.LabelProp = global::Mono.Unix.Catalog.GetString ("<span 
font_desc=\"10\">Tag mode</span>");
                        this.taglabel.UseMarkup = true;
                        this.timetable.Add (this.taglabel);
-                       global::Gtk.Table.TableChild w16 = ((global::Gtk.Table.TableChild)(this.timetable 
[this.taglabel]));
-                       w16.XOptions = ((global::Gtk.AttachOptions)(4));
-                       w16.YOptions = ((global::Gtk.AttachOptions)(4));
+                       global::Gtk.Table.TableChild w17 = ((global::Gtk.Table.TableChild)(this.timetable 
[this.taglabel]));
+                       w17.XOptions = ((global::Gtk.AttachOptions)(4));
+                       w17.YOptions = ((global::Gtk.AttachOptions)(4));
                        // Container child timetable.Gtk.Table+TableChild
                        this.tagmodecombobox = global::Gtk.ComboBox.NewText ();
                        this.tagmodecombobox.AppendText (global::Mono.Unix.Catalog.GetString ("Automatic"));
@@ -255,17 +262,16 @@ namespace LongoMatch.Gui.Component
                        this.tagmodecombobox.Name = "tagmodecombobox";
                        this.tagmodecombobox.Active = 0;
                        this.timetable.Add (this.tagmodecombobox);
-                       global::Gtk.Table.TableChild w17 = ((global::Gtk.Table.TableChild)(this.timetable 
[this.tagmodecombobox]));
-                       w17.LeftAttach = ((uint)(1));
-                       w17.RightAttach = ((uint)(2));
-                       w17.YOptions = ((global::Gtk.AttachOptions)(4));
+                       global::Gtk.Table.TableChild w18 = ((global::Gtk.Table.TableChild)(this.timetable 
[this.tagmodecombobox]));
+                       w18.LeftAttach = ((uint)(1));
+                       w18.RightAttach = ((uint)(2));
+                       w18.YOptions = ((global::Gtk.AttachOptions)(4));
                        this.vbox3.Add (this.timetable);
-                       global::Gtk.Box.BoxChild w18 = ((global::Gtk.Box.BoxChild)(this.vbox3 
[this.timetable]));
-                       w18.Position = 1;
-                       w18.Expand = false;
-                       w18.Fill = false;
+                       global::Gtk.Box.BoxChild w19 = ((global::Gtk.Box.BoxChild)(this.vbox3 
[this.timetable]));
+                       w19.Position = 2;
+                       w19.Expand = false;
                        // Container child vbox3.Gtk.Box+BoxChild
-                       this.postable = new global::Gtk.Table (((uint)(3)), ((uint)(2)), true);
+                       this.postable = new global::Gtk.Table (((uint)(4)), ((uint)(2)), true);
                        this.postable.Name = "postable";
                        this.postable.RowSpacing = ((uint)(6));
                        this.postable.ColumnSpacing = ((uint)(6));
@@ -277,11 +283,11 @@ namespace LongoMatch.Gui.Component
                        this.fieldcombobox.Name = "fieldcombobox";
                        this.fieldcombobox.Active = 0;
                        this.postable.Add (this.fieldcombobox);
-                       global::Gtk.Table.TableChild w19 = ((global::Gtk.Table.TableChild)(this.postable 
[this.fieldcombobox]));
-                       w19.LeftAttach = ((uint)(1));
-                       w19.RightAttach = ((uint)(2));
-                       w19.XOptions = ((global::Gtk.AttachOptions)(4));
-                       w19.YOptions = ((global::Gtk.AttachOptions)(4));
+                       global::Gtk.Table.TableChild w20 = ((global::Gtk.Table.TableChild)(this.postable 
[this.fieldcombobox]));
+                       w20.LeftAttach = ((uint)(1));
+                       w20.RightAttach = ((uint)(2));
+                       w20.XOptions = ((global::Gtk.AttachOptions)(4));
+                       w20.YOptions = ((global::Gtk.AttachOptions)(4));
                        // Container child postable.Gtk.Table+TableChild
                        this.goalcombobox = global::Gtk.ComboBox.NewText ();
                        this.goalcombobox.AppendText (global::Mono.Unix.Catalog.GetString ("Not tagged"));
@@ -289,13 +295,13 @@ namespace LongoMatch.Gui.Component
                        this.goalcombobox.Name = "goalcombobox";
                        this.goalcombobox.Active = 0;
                        this.postable.Add (this.goalcombobox);
-                       global::Gtk.Table.TableChild w20 = ((global::Gtk.Table.TableChild)(this.postable 
[this.goalcombobox]));
-                       w20.TopAttach = ((uint)(2));
-                       w20.BottomAttach = ((uint)(3));
-                       w20.LeftAttach = ((uint)(1));
-                       w20.RightAttach = ((uint)(2));
-                       w20.XOptions = ((global::Gtk.AttachOptions)(4));
-                       w20.YOptions = ((global::Gtk.AttachOptions)(4));
+                       global::Gtk.Table.TableChild w21 = ((global::Gtk.Table.TableChild)(this.postable 
[this.goalcombobox]));
+                       w21.TopAttach = ((uint)(2));
+                       w21.BottomAttach = ((uint)(3));
+                       w21.LeftAttach = ((uint)(1));
+                       w21.RightAttach = ((uint)(2));
+                       w21.XOptions = ((global::Gtk.AttachOptions)(4));
+                       w21.YOptions = ((global::Gtk.AttachOptions)(4));
                        // Container child postable.Gtk.Table+TableChild
                        this.hfieldcombobox = global::Gtk.ComboBox.NewText ();
                        this.hfieldcombobox.AppendText (global::Mono.Unix.Catalog.GetString ("Not tagged"));
@@ -304,13 +310,13 @@ namespace LongoMatch.Gui.Component
                        this.hfieldcombobox.Name = "hfieldcombobox";
                        this.hfieldcombobox.Active = 0;
                        this.postable.Add (this.hfieldcombobox);
-                       global::Gtk.Table.TableChild w21 = ((global::Gtk.Table.TableChild)(this.postable 
[this.hfieldcombobox]));
-                       w21.TopAttach = ((uint)(1));
-                       w21.BottomAttach = ((uint)(2));
-                       w21.LeftAttach = ((uint)(1));
-                       w21.RightAttach = ((uint)(2));
-                       w21.XOptions = ((global::Gtk.AttachOptions)(4));
-                       w21.YOptions = ((global::Gtk.AttachOptions)(4));
+                       global::Gtk.Table.TableChild w22 = ((global::Gtk.Table.TableChild)(this.postable 
[this.hfieldcombobox]));
+                       w22.TopAttach = ((uint)(1));
+                       w22.BottomAttach = ((uint)(2));
+                       w22.LeftAttach = ((uint)(1));
+                       w22.RightAttach = ((uint)(2));
+                       w22.XOptions = ((global::Gtk.AttachOptions)(4));
+                       w22.YOptions = ((global::Gtk.AttachOptions)(4));
                        // Container child postable.Gtk.Table+TableChild
                        this.label10 = new global::Gtk.Label ();
                        this.label10.Name = "label10";
@@ -318,8 +324,8 @@ namespace LongoMatch.Gui.Component
                        this.label10.LabelProp = global::Mono.Unix.Catalog.GetString ("<span 
font_desc=\"10\">Field position</span>");
                        this.label10.UseMarkup = true;
                        this.postable.Add (this.label10);
-                       global::Gtk.Table.TableChild w22 = ((global::Gtk.Table.TableChild)(this.postable 
[this.label10]));
-                       w22.YOptions = ((global::Gtk.AttachOptions)(4));
+                       global::Gtk.Table.TableChild w23 = ((global::Gtk.Table.TableChild)(this.postable 
[this.label10]));
+                       w23.YOptions = ((global::Gtk.AttachOptions)(4));
                        // Container child postable.Gtk.Table+TableChild
                        this.label11 = new global::Gtk.Label ();
                        this.label11.Name = "label11";
@@ -327,11 +333,11 @@ namespace LongoMatch.Gui.Component
                        this.label11.LabelProp = global::Mono.Unix.Catalog.GetString ("<span 
font_desc=\"10\">Half field position</span>");
                        this.label11.UseMarkup = true;
                        this.postable.Add (this.label11);
-                       global::Gtk.Table.TableChild w23 = ((global::Gtk.Table.TableChild)(this.postable 
[this.label11]));
-                       w23.TopAttach = ((uint)(1));
-                       w23.BottomAttach = ((uint)(2));
-                       w23.XOptions = ((global::Gtk.AttachOptions)(4));
-                       w23.YOptions = ((global::Gtk.AttachOptions)(4));
+                       global::Gtk.Table.TableChild w24 = ((global::Gtk.Table.TableChild)(this.postable 
[this.label11]));
+                       w24.TopAttach = ((uint)(1));
+                       w24.BottomAttach = ((uint)(2));
+                       w24.XOptions = ((global::Gtk.AttachOptions)(4));
+                       w24.YOptions = ((global::Gtk.AttachOptions)(4));
                        // Container child postable.Gtk.Table+TableChild
                        this.label12 = new global::Gtk.Label ();
                        this.label12.Name = "label12";
@@ -339,55 +345,24 @@ namespace LongoMatch.Gui.Component
                        this.label12.LabelProp = global::Mono.Unix.Catalog.GetString ("<span 
font_desc=\"10\">Goal position</span>");
                        this.label12.UseMarkup = true;
                        this.postable.Add (this.label12);
-                       global::Gtk.Table.TableChild w24 = ((global::Gtk.Table.TableChild)(this.postable 
[this.label12]));
-                       w24.TopAttach = ((uint)(2));
-                       w24.BottomAttach = ((uint)(3));
-                       w24.XOptions = ((global::Gtk.AttachOptions)(4));
-                       w24.YOptions = ((global::Gtk.AttachOptions)(4));
-                       this.vbox3.Add (this.postable);
-                       global::Gtk.Box.BoxChild w25 = ((global::Gtk.Box.BoxChild)(this.vbox3 
[this.postable]));
-                       w25.Position = 2;
-                       w25.Expand = false;
-                       w25.Fill = false;
-                       // Container child vbox3.Gtk.Box+BoxChild
-                       this.cattable = new global::Gtk.Table (((uint)(3)), ((uint)(2)), true);
-                       this.cattable.Name = "cattable";
-                       this.cattable.RowSpacing = ((uint)(6));
-                       this.cattable.ColumnSpacing = ((uint)(6));
-                       // Container child cattable.Gtk.Table+TableChild
-                       this.label14 = new global::Gtk.Label ();
-                       this.label14.Name = "label14";
-                       this.label14.Xalign = 1F;
-                       this.label14.LabelProp = global::Mono.Unix.Catalog.GetString ("<span 
font_desc=\"10\">Show tags</span>");
-                       this.label14.UseMarkup = true;
-                       this.cattable.Add (this.label14);
-                       global::Gtk.Table.TableChild w26 = ((global::Gtk.Table.TableChild)(this.cattable 
[this.label14]));
-                       w26.XOptions = ((global::Gtk.AttachOptions)(4));
-                       w26.YOptions = ((global::Gtk.AttachOptions)(4));
-                       // Container child cattable.Gtk.Table+TableChild
-                       this.label15 = new global::Gtk.Label ();
-                       this.label15.Name = "label15";
-                       this.label15.Xalign = 1F;
-                       this.label15.LabelProp = global::Mono.Unix.Catalog.GetString ("<span 
font_desc=\"10\">Tags per row</span>");
-                       this.label15.UseMarkup = true;
-                       this.cattable.Add (this.label15);
-                       global::Gtk.Table.TableChild w27 = ((global::Gtk.Table.TableChild)(this.cattable 
[this.label15]));
-                       w27.TopAttach = ((uint)(1));
-                       w27.BottomAttach = ((uint)(2));
-                       w27.YOptions = ((global::Gtk.AttachOptions)(4));
-                       // Container child cattable.Gtk.Table+TableChild
+                       global::Gtk.Table.TableChild w25 = ((global::Gtk.Table.TableChild)(this.postable 
[this.label12]));
+                       w25.TopAttach = ((uint)(2));
+                       w25.BottomAttach = ((uint)(3));
+                       w25.XOptions = ((global::Gtk.AttachOptions)(4));
+                       w25.YOptions = ((global::Gtk.AttachOptions)(4));
+                       // Container child postable.Gtk.Table+TableChild
                        this.label9 = new global::Gtk.Label ();
                        this.label9.Name = "label9";
                        this.label9.Xalign = 1F;
                        this.label9.LabelProp = global::Mono.Unix.Catalog.GetString ("<span 
font_desc=\"10\">Sort Method</span>");
                        this.label9.UseMarkup = true;
-                       this.cattable.Add (this.label9);
-                       global::Gtk.Table.TableChild w28 = ((global::Gtk.Table.TableChild)(this.cattable 
[this.label9]));
-                       w28.TopAttach = ((uint)(2));
-                       w28.BottomAttach = ((uint)(3));
-                       w28.XOptions = ((global::Gtk.AttachOptions)(4));
-                       w28.YOptions = ((global::Gtk.AttachOptions)(4));
-                       // Container child cattable.Gtk.Table+TableChild
+                       this.postable.Add (this.label9);
+                       global::Gtk.Table.TableChild w26 = ((global::Gtk.Table.TableChild)(this.postable 
[this.label9]));
+                       w26.TopAttach = ((uint)(3));
+                       w26.BottomAttach = ((uint)(4));
+                       w26.XOptions = ((global::Gtk.AttachOptions)(4));
+                       w26.YOptions = ((global::Gtk.AttachOptions)(4));
+                       // Container child postable.Gtk.Table+TableChild
                        this.sortmethodcombobox = global::Gtk.ComboBox.NewText ();
                        this.sortmethodcombobox.AppendText (global::Mono.Unix.Catalog.GetString ("Sort by 
name"));
                        this.sortmethodcombobox.AppendText (global::Mono.Unix.Catalog.GetString ("Sort by 
start time"));
@@ -395,15 +370,45 @@ namespace LongoMatch.Gui.Component
                        this.sortmethodcombobox.AppendText (global::Mono.Unix.Catalog.GetString ("Sort by 
duration"));
                        this.sortmethodcombobox.Name = "sortmethodcombobox";
                        this.sortmethodcombobox.Active = 0;
-                       this.cattable.Add (this.sortmethodcombobox);
-                       global::Gtk.Table.TableChild w29 = ((global::Gtk.Table.TableChild)(this.cattable 
[this.sortmethodcombobox]));
-                       w29.TopAttach = ((uint)(2));
-                       w29.BottomAttach = ((uint)(3));
-                       w29.LeftAttach = ((uint)(1));
-                       w29.RightAttach = ((uint)(2));
-                       w29.XOptions = ((global::Gtk.AttachOptions)(4));
+                       this.postable.Add (this.sortmethodcombobox);
+                       global::Gtk.Table.TableChild w27 = ((global::Gtk.Table.TableChild)(this.postable 
[this.sortmethodcombobox]));
+                       w27.TopAttach = ((uint)(3));
+                       w27.BottomAttach = ((uint)(4));
+                       w27.LeftAttach = ((uint)(1));
+                       w27.RightAttach = ((uint)(2));
+                       w27.XOptions = ((global::Gtk.AttachOptions)(4));
+                       w27.YOptions = ((global::Gtk.AttachOptions)(4));
+                       this.vbox3.Add (this.postable);
+                       global::Gtk.Box.BoxChild w28 = ((global::Gtk.Box.BoxChild)(this.vbox3 
[this.postable]));
+                       w28.Position = 3;
+                       w28.Expand = false;
+                       // Container child vbox3.Gtk.Box+BoxChild
+                       this.cattable = new global::Gtk.Table (((uint)(2)), ((uint)(2)), true);
+                       this.cattable.Name = "cattable";
+                       this.cattable.RowSpacing = ((uint)(6));
+                       this.cattable.ColumnSpacing = ((uint)(6));
+                       // Container child cattable.Gtk.Table+TableChild
+                       this.label15 = new global::Gtk.Label ();
+                       this.label15.Name = "label15";
+                       this.label15.Xalign = 1F;
+                       this.label15.LabelProp = global::Mono.Unix.Catalog.GetString ("<span 
font_desc=\"10\">Tags per row</span>");
+                       this.label15.UseMarkup = true;
+                       this.cattable.Add (this.label15);
+                       global::Gtk.Table.TableChild w29 = ((global::Gtk.Table.TableChild)(this.cattable 
[this.label15]));
+                       w29.TopAttach = ((uint)(1));
+                       w29.BottomAttach = ((uint)(2));
                        w29.YOptions = ((global::Gtk.AttachOptions)(4));
                        // Container child cattable.Gtk.Table+TableChild
+                       this.showtagslabel = new global::Gtk.Label ();
+                       this.showtagslabel.Name = "showtagslabel";
+                       this.showtagslabel.Xalign = 1F;
+                       this.showtagslabel.LabelProp = global::Mono.Unix.Catalog.GetString ("<span 
font_desc=\"10\">Show tags</span>");
+                       this.showtagslabel.UseMarkup = true;
+                       this.cattable.Add (this.showtagslabel);
+                       global::Gtk.Table.TableChild w30 = ((global::Gtk.Table.TableChild)(this.cattable 
[this.showtagslabel]));
+                       w30.XOptions = ((global::Gtk.AttachOptions)(4));
+                       w30.YOptions = ((global::Gtk.AttachOptions)(4));
+                       // Container child cattable.Gtk.Table+TableChild
                        this.tagscheckbutton = new global::Gtk.CheckButton ();
                        this.tagscheckbutton.CanFocus = true;
                        this.tagscheckbutton.Name = "tagscheckbutton";
@@ -411,11 +416,11 @@ namespace LongoMatch.Gui.Component
                        this.tagscheckbutton.Active = true;
                        this.tagscheckbutton.DrawIndicator = true;
                        this.cattable.Add (this.tagscheckbutton);
-                       global::Gtk.Table.TableChild w30 = ((global::Gtk.Table.TableChild)(this.cattable 
[this.tagscheckbutton]));
-                       w30.LeftAttach = ((uint)(1));
-                       w30.RightAttach = ((uint)(2));
-                       w30.XOptions = ((global::Gtk.AttachOptions)(4));
-                       w30.YOptions = ((global::Gtk.AttachOptions)(4));
+                       global::Gtk.Table.TableChild w31 = ((global::Gtk.Table.TableChild)(this.cattable 
[this.tagscheckbutton]));
+                       w31.LeftAttach = ((uint)(1));
+                       w31.RightAttach = ((uint)(2));
+                       w31.XOptions = ((global::Gtk.AttachOptions)(4));
+                       w31.YOptions = ((global::Gtk.AttachOptions)(4));
                        // Container child cattable.Gtk.Table+TableChild
                        this.tprbutton = new global::Gtk.SpinButton (1, 10, 1);
                        this.tprbutton.CanFocus = true;
@@ -425,17 +430,16 @@ namespace LongoMatch.Gui.Component
                        this.tprbutton.Numeric = true;
                        this.tprbutton.Value = 2;
                        this.cattable.Add (this.tprbutton);
-                       global::Gtk.Table.TableChild w31 = ((global::Gtk.Table.TableChild)(this.cattable 
[this.tprbutton]));
-                       w31.TopAttach = ((uint)(1));
-                       w31.BottomAttach = ((uint)(2));
-                       w31.LeftAttach = ((uint)(1));
-                       w31.RightAttach = ((uint)(2));
-                       w31.YOptions = ((global::Gtk.AttachOptions)(4));
+                       global::Gtk.Table.TableChild w32 = ((global::Gtk.Table.TableChild)(this.cattable 
[this.tprbutton]));
+                       w32.TopAttach = ((uint)(1));
+                       w32.BottomAttach = ((uint)(2));
+                       w32.LeftAttach = ((uint)(1));
+                       w32.RightAttach = ((uint)(2));
+                       w32.YOptions = ((global::Gtk.AttachOptions)(4));
                        this.vbox3.Add (this.cattable);
-                       global::Gtk.Box.BoxChild w32 = ((global::Gtk.Box.BoxChild)(this.vbox3 
[this.cattable]));
-                       w32.Position = 3;
-                       w32.Expand = false;
-                       w32.Fill = false;
+                       global::Gtk.Box.BoxChild w33 = ((global::Gtk.Box.BoxChild)(this.vbox3 
[this.cattable]));
+                       w33.Position = 4;
+                       w33.Expand = false;
                        // Container child vbox3.Gtk.Box+BoxChild
                        this.cardtable = new global::Gtk.Table (((uint)(1)), ((uint)(2)), true);
                        this.cardtable.Name = "cardtable";
@@ -448,8 +452,8 @@ namespace LongoMatch.Gui.Component
                        this.label16.LabelProp = global::Mono.Unix.Catalog.GetString ("<span 
font_desc=\"10\">Shape</span>");
                        this.label16.UseMarkup = true;
                        this.cardtable.Add (this.label16);
-                       global::Gtk.Table.TableChild w33 = ((global::Gtk.Table.TableChild)(this.cardtable 
[this.label16]));
-                       w33.YOptions = ((global::Gtk.AttachOptions)(4));
+                       global::Gtk.Table.TableChild w34 = ((global::Gtk.Table.TableChild)(this.cardtable 
[this.label16]));
+                       w34.YOptions = ((global::Gtk.AttachOptions)(4));
                        // Container child cardtable.Gtk.Table+TableChild
                        this.shapecombobox = global::Gtk.ComboBox.NewText ();
                        this.shapecombobox.AppendText (global::Mono.Unix.Catalog.GetString ("Rectangle"));
@@ -458,15 +462,14 @@ namespace LongoMatch.Gui.Component
                        this.shapecombobox.Name = "shapecombobox";
                        this.shapecombobox.Active = 0;
                        this.cardtable.Add (this.shapecombobox);
-                       global::Gtk.Table.TableChild w34 = ((global::Gtk.Table.TableChild)(this.cardtable 
[this.shapecombobox]));
-                       w34.LeftAttach = ((uint)(1));
-                       w34.RightAttach = ((uint)(2));
-                       w34.YOptions = ((global::Gtk.AttachOptions)(4));
+                       global::Gtk.Table.TableChild w35 = ((global::Gtk.Table.TableChild)(this.cardtable 
[this.shapecombobox]));
+                       w35.LeftAttach = ((uint)(1));
+                       w35.RightAttach = ((uint)(2));
+                       w35.YOptions = ((global::Gtk.AttachOptions)(4));
                        this.vbox3.Add (this.cardtable);
-                       global::Gtk.Box.BoxChild w35 = ((global::Gtk.Box.BoxChild)(this.vbox3 
[this.cardtable]));
-                       w35.Position = 4;
-                       w35.Expand = false;
-                       w35.Fill = false;
+                       global::Gtk.Box.BoxChild w36 = ((global::Gtk.Box.BoxChild)(this.vbox3 
[this.cardtable]));
+                       w36.Position = 5;
+                       w36.Expand = false;
                        // Container child vbox3.Gtk.Box+BoxChild
                        this.scoretable = new global::Gtk.Table (((uint)(1)), ((uint)(2)), true);
                        this.scoretable.Name = "scoretable";
@@ -479,8 +482,8 @@ namespace LongoMatch.Gui.Component
                        this.label17.LabelProp = global::Mono.Unix.Catalog.GetString ("<span 
font_desc=\"10\">Points</span>");
                        this.label17.UseMarkup = true;
                        this.scoretable.Add (this.label17);
-                       global::Gtk.Table.TableChild w36 = ((global::Gtk.Table.TableChild)(this.scoretable 
[this.label17]));
-                       w36.YOptions = ((global::Gtk.AttachOptions)(4));
+                       global::Gtk.Table.TableChild w37 = ((global::Gtk.Table.TableChild)(this.scoretable 
[this.label17]));
+                       w37.YOptions = ((global::Gtk.AttachOptions)(4));
                        // Container child scoretable.Gtk.Table+TableChild
                        this.pointsbutton = new global::Gtk.SpinButton (0, 1000, 1);
                        this.pointsbutton.CanFocus = true;
@@ -489,16 +492,15 @@ namespace LongoMatch.Gui.Component
                        this.pointsbutton.ClimbRate = 1;
                        this.pointsbutton.Numeric = true;
                        this.scoretable.Add (this.pointsbutton);
-                       global::Gtk.Table.TableChild w37 = ((global::Gtk.Table.TableChild)(this.scoretable 
[this.pointsbutton]));
-                       w37.LeftAttach = ((uint)(1));
-                       w37.RightAttach = ((uint)(2));
-                       w37.XOptions = ((global::Gtk.AttachOptions)(4));
-                       w37.YOptions = ((global::Gtk.AttachOptions)(4));
+                       global::Gtk.Table.TableChild w38 = ((global::Gtk.Table.TableChild)(this.scoretable 
[this.pointsbutton]));
+                       w38.LeftAttach = ((uint)(1));
+                       w38.RightAttach = ((uint)(2));
+                       w38.XOptions = ((global::Gtk.AttachOptions)(4));
+                       w38.YOptions = ((global::Gtk.AttachOptions)(4));
                        this.vbox3.Add (this.scoretable);
-                       global::Gtk.Box.BoxChild w38 = ((global::Gtk.Box.BoxChild)(this.vbox3 
[this.scoretable]));
-                       w38.Position = 5;
-                       w38.Expand = false;
-                       w38.Fill = false;
+                       global::Gtk.Box.BoxChild w39 = ((global::Gtk.Box.BoxChild)(this.vbox3 
[this.scoretable]));
+                       w39.Position = 6;
+                       w39.Expand = false;
                        this.Add (this.vbox3);
                        if ((this.Child != null)) {
                                this.Child.ShowAll ();
diff --git a/LongoMatch.GUI/gtk-gui/LongoMatch.Gui.Dialog.EditCategoryDialog.cs 
b/LongoMatch.GUI/gtk-gui/LongoMatch.Gui.Dialog.EditCategoryDialog.cs
index b6551bb..dd91601 100644
--- a/LongoMatch.GUI/gtk-gui/LongoMatch.Gui.Dialog.EditCategoryDialog.cs
+++ b/LongoMatch.GUI/gtk-gui/LongoMatch.Gui.Dialog.EditCategoryDialog.cs
@@ -12,7 +12,7 @@ namespace LongoMatch.Gui.Dialog
                        global::Stetic.Gui.Initialize (this);
                        // Widget LongoMatch.Gui.Dialog.EditCategoryDialog
                        this.Name = "LongoMatch.Gui.Dialog.EditCategoryDialog";
-                       this.Title = global::Mono.Unix.Catalog.GetString ("Category Details");
+                       this.Title = global::Mono.Unix.Catalog.GetString ("Properties");
                        this.Icon = global::Stetic.IconLoader.LoadIcon (this, "longomatch", 
global::Gtk.IconSize.Menu);
                        this.WindowPosition = ((global::Gtk.WindowPosition)(4));
                        this.Modal = true;
@@ -28,6 +28,7 @@ namespace LongoMatch.Gui.Dialog
                        w1.Add (this.timenodeproperties2);
                        global::Gtk.Box.BoxChild w2 = ((global::Gtk.Box.BoxChild)(w1 
[this.timenodeproperties2]));
                        w2.Position = 0;
+                       w2.Expand = false;
                        // Internal child LongoMatch.Gui.Dialog.EditCategoryDialog.ActionArea
                        global::Gtk.HButtonBox w3 = this.ActionArea;
                        w3.Name = "dialog1_ActionArea";
@@ -49,8 +50,8 @@ namespace LongoMatch.Gui.Dialog
                        if ((this.Child != null)) {
                                this.Child.ShowAll ();
                        }
-                       this.DefaultWidth = 522;
-                       this.DefaultHeight = 631;
+                       this.DefaultWidth = 324;
+                       this.DefaultHeight = 619;
                        this.Show ();
                }
        }
diff --git a/LongoMatch.GUI/gtk-gui/gui.stetic b/LongoMatch.GUI/gtk-gui/gui.stetic
index fb9efc0..333b92d 100644
--- a/LongoMatch.GUI/gtk-gui/gui.stetic
+++ b/LongoMatch.GUI/gtk-gui/gui.stetic
@@ -891,16 +891,16 @@
       </widget>
     </child>
   </widget>
-  <widget class="Gtk.Bin" id="LongoMatch.Gui.Component.CategoryProperties" design-size="380 668">
+  <widget class="Gtk.Bin" id="LongoMatch.Gui.Component.CategoryProperties" design-size="318 545">
     <property name="MemberName" />
     <child>
       <widget class="Gtk.VBox" id="vbox3">
         <property name="MemberName" />
         <property name="Spacing">6</property>
         <child>
-          <widget class="Gtk.Table" id="table2">
+          <widget class="Gtk.Table" id="maintable">
             <property name="MemberName" />
-            <property name="NRows">4</property>
+            <property name="NRows">2</property>
             <property name="NColumns">2</property>
             <property name="Homogeneous">True</property>
             <property name="RowSpacing">6</property>
@@ -929,17 +929,34 @@
               </packing>
             </child>
             <child>
-              <widget class="Gtk.ColorButton" id="colorbutton2">
+              <widget class="Gtk.Label" id="label1">
                 <property name="MemberName" />
-                <property name="CanFocus">True</property>
-                <property name="Events">ButtonMotionMask, ButtonPressMask, ButtonReleaseMask</property>
-                <property name="Alpha">-1</property>
+                <property name="Xalign">1</property>
+                <property name="LabelProp" translatable="yes">&lt;span 
font_desc="10"&gt;Name&lt;/span&gt;</property>
+                <property name="UseMarkup">True</property>
               </widget>
               <packing>
-                <property name="TopAttach">2</property>
-                <property name="BottomAttach">3</property>
-                <property name="LeftAttach">1</property>
-                <property name="RightAttach">2</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="YFill">True</property>
+                <property name="YShrink">False</property>
+              </packing>
+            </child>
+            <child>
+              <widget class="Gtk.Label" id="label4">
+                <property name="MemberName" />
+                <property name="Xalign">1</property>
+                <property name="LabelProp" translatable="yes">&lt;span 
font_desc="10"&gt;Color&lt;/span&gt;</property>
+                <property name="UseMarkup">True</property>
+              </widget>
+              <packing>
+                <property name="TopAttach">1</property>
+                <property name="BottomAttach">2</property>
                 <property name="AutoSize">True</property>
                 <property name="XOptions">Fill</property>
                 <property name="YOptions">Fill</property>
@@ -952,6 +969,42 @@
               </packing>
             </child>
             <child>
+              <widget class="Gtk.Entry" id="nameentry">
+                <property name="MemberName" />
+                <property name="WidthRequest">76</property>
+                <property name="CanFocus">True</property>
+                <property name="IsEditable">True</property>
+                <property name="InvisibleChar">●</property>
+              </widget>
+              <packing>
+                <property name="LeftAttach">1</property>
+                <property name="RightAttach">2</property>
+                <property name="AutoSize">False</property>
+                <property name="YOptions">Fill</property>
+                <property name="XExpand">True</property>
+                <property name="XFill">True</property>
+                <property name="XShrink">False</property>
+                <property name="YExpand">False</property>
+                <property name="YFill">True</property>
+                <property name="YShrink">False</property>
+              </packing>
+            </child>
+          </widget>
+          <packing>
+            <property name="Position">0</property>
+            <property name="AutoSize">False</property>
+            <property name="Expand">False</property>
+          </packing>
+        </child>
+        <child>
+          <widget class="Gtk.Table" id="texttable">
+            <property name="MemberName" />
+            <property name="NRows">2</property>
+            <property name="NColumns">2</property>
+            <property name="Homogeneous">True</property>
+            <property name="RowSpacing">6</property>
+            <property name="ColumnSpacing">6</property>
+            <child>
               <widget class="Gtk.HBox" id="hbox5">
                 <property name="MemberName" />
                 <property name="Spacing">6</property>
@@ -985,8 +1038,6 @@
                 </child>
               </widget>
               <packing>
-                <property name="TopAttach">3</property>
-                <property name="BottomAttach">4</property>
                 <property name="LeftAttach">1</property>
                 <property name="RightAttach">2</property>
                 <property name="AutoSize">True</property>
@@ -1001,14 +1052,14 @@
               </packing>
             </child>
             <child>
-              <widget class="Gtk.Label" id="label1">
+              <widget class="Gtk.Label" id="label6">
                 <property name="MemberName" />
                 <property name="Xalign">1</property>
-                <property name="LabelProp" translatable="yes">&lt;span 
font_desc="10"&gt;Name&lt;/span&gt;</property>
+                <property name="LabelProp" translatable="yes">&lt;span 
font_desc="10"&gt;HotKey&lt;/span&gt;</property>
                 <property name="UseMarkup">True</property>
               </widget>
               <packing>
-                <property name="AutoSize">False</property>
+                <property name="AutoSize">True</property>
                 <property name="XOptions">Fill</property>
                 <property name="YOptions">Fill</property>
                 <property name="XExpand">False</property>
@@ -1020,15 +1071,17 @@
               </packing>
             </child>
             <child>
-              <widget class="Gtk.Label" id="label13">
+              <widget class="Gtk.ColorButton" id="textcolorbutton">
                 <property name="MemberName" />
-                <property name="Xalign">1</property>
-                <property name="LabelProp" translatable="yes">&lt;span font_desc="10"&gt;Text 
color&lt;/span&gt;</property>
-                <property name="UseMarkup">True</property>
+                <property name="CanFocus">True</property>
+                <property name="Events">ButtonMotionMask, ButtonPressMask, ButtonReleaseMask</property>
+                <property name="Alpha">-1</property>
               </widget>
               <packing>
-                <property name="TopAttach">2</property>
-                <property name="BottomAttach">3</property>
+                <property name="TopAttach">1</property>
+                <property name="BottomAttach">2</property>
+                <property name="LeftAttach">1</property>
+                <property name="RightAttach">2</property>
                 <property name="AutoSize">False</property>
                 <property name="YOptions">Fill</property>
                 <property name="XExpand">True</property>
@@ -1040,10 +1093,10 @@
               </packing>
             </child>
             <child>
-              <widget class="Gtk.Label" id="label4">
+              <widget class="Gtk.Label" id="textcolorlabel">
                 <property name="MemberName" />
                 <property name="Xalign">1</property>
-                <property name="LabelProp" translatable="yes">&lt;span 
font_desc="10"&gt;Color&lt;/span&gt;</property>
+                <property name="LabelProp" translatable="yes">&lt;span font_desc="10"&gt;Text 
color&lt;/span&gt;</property>
                 <property name="UseMarkup">True</property>
               </widget>
               <packing>
@@ -1060,51 +1113,9 @@
                 <property name="YShrink">False</property>
               </packing>
             </child>
-            <child>
-              <widget class="Gtk.Label" id="label6">
-                <property name="MemberName" />
-                <property name="Xalign">1</property>
-                <property name="LabelProp" translatable="yes">&lt;span 
font_desc="10"&gt;HotKey&lt;/span&gt;</property>
-                <property name="UseMarkup">True</property>
-              </widget>
-              <packing>
-                <property name="TopAttach">3</property>
-                <property name="BottomAttach">4</property>
-                <property name="AutoSize">True</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="YFill">True</property>
-                <property name="YShrink">False</property>
-              </packing>
-            </child>
-            <child>
-              <widget class="Gtk.Entry" id="nameentry">
-                <property name="MemberName" />
-                <property name="WidthRequest">76</property>
-                <property name="CanFocus">True</property>
-                <property name="IsEditable">True</property>
-                <property name="InvisibleChar">●</property>
-              </widget>
-              <packing>
-                <property name="LeftAttach">1</property>
-                <property name="RightAttach">2</property>
-                <property name="AutoSize">False</property>
-                <property name="YOptions">Fill</property>
-                <property name="XExpand">True</property>
-                <property name="XFill">True</property>
-                <property name="XShrink">False</property>
-                <property name="YExpand">False</property>
-                <property name="YFill">True</property>
-                <property name="YShrink">False</property>
-              </packing>
-            </child>
           </widget>
           <packing>
-            <property name="Position">0</property>
+            <property name="Position">1</property>
             <property name="AutoSize">True</property>
             <property name="Expand">False</property>
             <property name="Fill">False</property>
@@ -1254,16 +1265,15 @@ Manual</property>
             </child>
           </widget>
           <packing>
-            <property name="Position">1</property>
-            <property name="AutoSize">True</property>
+            <property name="Position">2</property>
+            <property name="AutoSize">False</property>
             <property name="Expand">False</property>
-            <property name="Fill">False</property>
           </packing>
         </child>
         <child>
           <widget class="Gtk.Table" id="postable">
             <property name="MemberName" />
-            <property name="NRows">3</property>
+            <property name="NRows">4</property>
             <property name="NColumns">2</property>
             <property name="Homogeneous">True</property>
             <property name="RowSpacing">6</property>
@@ -1400,31 +1410,16 @@ Tag as trayectory</property>
                 <property name="YShrink">False</property>
               </packing>
             </child>
-          </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.Table" id="cattable">
-            <property name="MemberName" />
-            <property name="Visible">False</property>
-            <property name="NRows">3</property>
-            <property name="NColumns">2</property>
-            <property name="Homogeneous">True</property>
-            <property name="RowSpacing">6</property>
-            <property name="ColumnSpacing">6</property>
             <child>
-              <widget class="Gtk.Label" id="label14">
+              <widget class="Gtk.Label" id="label9">
                 <property name="MemberName" />
                 <property name="Xalign">1</property>
-                <property name="LabelProp" translatable="yes">&lt;span font_desc="10"&gt;Show 
tags&lt;/span&gt;</property>
+                <property name="LabelProp" translatable="yes">&lt;span font_desc="10"&gt;Sort 
Method&lt;/span&gt;</property>
                 <property name="UseMarkup">True</property>
               </widget>
               <packing>
+                <property name="TopAttach">3</property>
+                <property name="BottomAttach">4</property>
                 <property name="AutoSize">True</property>
                 <property name="XOptions">Fill</property>
                 <property name="YOptions">Fill</property>
@@ -1437,18 +1432,24 @@ Tag as trayectory</property>
               </packing>
             </child>
             <child>
-              <widget class="Gtk.Label" id="label15">
+              <widget class="Gtk.ComboBox" id="sortmethodcombobox">
                 <property name="MemberName" />
-                <property name="Xalign">1</property>
-                <property name="LabelProp" translatable="yes">&lt;span font_desc="10"&gt;Tags per 
row&lt;/span&gt;</property>
-                <property name="UseMarkup">True</property>
+                <property name="IsTextCombo">True</property>
+                <property name="Items" translatable="yes">Sort by name
+Sort by start time
+Sort by stop time
+Sort by duration</property>
+                <property name="Active">0</property>
               </widget>
               <packing>
-                <property name="TopAttach">1</property>
-                <property name="BottomAttach">2</property>
-                <property name="AutoSize">False</property>
+                <property name="TopAttach">3</property>
+                <property name="BottomAttach">4</property>
+                <property name="LeftAttach">1</property>
+                <property name="RightAttach">2</property>
+                <property name="AutoSize">True</property>
+                <property name="XOptions">Fill</property>
                 <property name="YOptions">Fill</property>
-                <property name="XExpand">True</property>
+                <property name="XExpand">False</property>
                 <property name="XFill">True</property>
                 <property name="XShrink">False</property>
                 <property name="YExpand">False</property>
@@ -1456,20 +1457,35 @@ Tag as trayectory</property>
                 <property name="YShrink">False</property>
               </packing>
             </child>
+          </widget>
+          <packing>
+            <property name="Position">3</property>
+            <property name="AutoSize">False</property>
+            <property name="Expand">False</property>
+          </packing>
+        </child>
+        <child>
+          <widget class="Gtk.Table" id="cattable">
+            <property name="MemberName" />
+            <property name="Visible">False</property>
+            <property name="NRows">2</property>
+            <property name="NColumns">2</property>
+            <property name="Homogeneous">True</property>
+            <property name="RowSpacing">6</property>
+            <property name="ColumnSpacing">6</property>
             <child>
-              <widget class="Gtk.Label" id="label9">
+              <widget class="Gtk.Label" id="label15">
                 <property name="MemberName" />
                 <property name="Xalign">1</property>
-                <property name="LabelProp" translatable="yes">&lt;span font_desc="10"&gt;Sort 
Method&lt;/span&gt;</property>
+                <property name="LabelProp" translatable="yes">&lt;span font_desc="10"&gt;Tags per 
row&lt;/span&gt;</property>
                 <property name="UseMarkup">True</property>
               </widget>
               <packing>
-                <property name="TopAttach">2</property>
-                <property name="BottomAttach">3</property>
-                <property name="AutoSize">True</property>
-                <property name="XOptions">Fill</property>
+                <property name="TopAttach">1</property>
+                <property name="BottomAttach">2</property>
+                <property name="AutoSize">False</property>
                 <property name="YOptions">Fill</property>
-                <property name="XExpand">False</property>
+                <property name="XExpand">True</property>
                 <property name="XFill">True</property>
                 <property name="XShrink">False</property>
                 <property name="YExpand">False</property>
@@ -1478,20 +1494,13 @@ Tag as trayectory</property>
               </packing>
             </child>
             <child>
-              <widget class="Gtk.ComboBox" id="sortmethodcombobox">
+              <widget class="Gtk.Label" id="showtagslabel">
                 <property name="MemberName" />
-                <property name="IsTextCombo">True</property>
-                <property name="Items" translatable="yes">Sort by name
-Sort by start time
-Sort by stop time
-Sort by duration</property>
-                <property name="Active">0</property>
+                <property name="Xalign">1</property>
+                <property name="LabelProp" translatable="yes">&lt;span font_desc="10"&gt;Show 
tags&lt;/span&gt;</property>
+                <property name="UseMarkup">True</property>
               </widget>
               <packing>
-                <property name="TopAttach">2</property>
-                <property name="BottomAttach">3</property>
-                <property name="LeftAttach">1</property>
-                <property name="RightAttach">2</property>
                 <property name="AutoSize">True</property>
                 <property name="XOptions">Fill</property>
                 <property name="YOptions">Fill</property>
@@ -1555,10 +1564,9 @@ Sort by duration</property>
             </child>
           </widget>
           <packing>
-            <property name="Position">3</property>
-            <property name="AutoSize">True</property>
+            <property name="Position">4</property>
+            <property name="AutoSize">False</property>
             <property name="Expand">False</property>
-            <property name="Fill">False</property>
           </packing>
         </child>
         <child>
@@ -1611,10 +1619,9 @@ Circle</property>
             </child>
           </widget>
           <packing>
-            <property name="Position">4</property>
+            <property name="Position">5</property>
             <property name="AutoSize">False</property>
             <property name="Expand">False</property>
-            <property name="Fill">False</property>
           </packing>
         </child>
         <child>
@@ -1669,10 +1676,9 @@ Circle</property>
             </child>
           </widget>
           <packing>
-            <property name="Position">5</property>
-            <property name="AutoSize">True</property>
+            <property name="Position">6</property>
+            <property name="AutoSize">False</property>
             <property name="Expand">False</property>
-            <property name="Fill">False</property>
           </packing>
         </child>
       </widget>
@@ -2879,9 +2885,9 @@ Hotkeys with a single key are also allowed with Ctrl+key.</property>
       </widget>
     </child>
   </widget>
-  <widget class="Gtk.Dialog" id="LongoMatch.Gui.Dialog.EditCategoryDialog" design-size="522 631">
+  <widget class="Gtk.Dialog" id="LongoMatch.Gui.Dialog.EditCategoryDialog" design-size="324 619">
     <property name="MemberName" />
-    <property name="Title" translatable="yes">Category Details</property>
+    <property name="Title" translatable="yes">Properties</property>
     <property name="Icon">stock:longomatch Menu</property>
     <property name="WindowPosition">CenterOnParent</property>
     <property name="Modal">True</property>
@@ -2900,6 +2906,7 @@ Hotkeys with a single key are also allowed with Ctrl+key.</property>
           <packing>
             <property name="Position">0</property>
             <property name="AutoSize">False</property>
+            <property name="Expand">False</property>
           </packing>
         </child>
       </widget>


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