[longomatch/redesign2: 137/140] Allow editing AllowMultiple and FastTag



commit f6723d31733a9f75837d7744d673d41d7d977377
Author: Andoni Morales Alastruey <ylatuya gmail com>
Date:   Thu Apr 28 21:21:25 2011 +0200

    Allow editing AllowMultiple and FastTag

 LongoMatch/Gui/Dialog/SubCategoryTagsEditor.cs     |   16 ++
 .../LongoMatch.Gui.Dialog.SubCategoryTagsEditor.cs |  189 ++++++++++++------
 LongoMatch/gtk-gui/gui.stetic                      |  219 ++++++++++++++------
 3 files changed, 304 insertions(+), 120 deletions(-)
---
diff --git a/LongoMatch/Gui/Dialog/SubCategoryTagsEditor.cs b/LongoMatch/Gui/Dialog/SubCategoryTagsEditor.cs
index 18001e3..acc1f70 100644
--- a/LongoMatch/Gui/Dialog/SubCategoryTagsEditor.cs
+++ b/LongoMatch/Gui/Dialog/SubCategoryTagsEditor.cs
@@ -40,6 +40,8 @@ namespace LongoMatch.Gui.Dialog
 			addtagbutton.Clicked += OnAddTag;
 			tagentry.Activated += OnAddTag;
 			nameentry.Changed += OnNameChanged;
+			multicheckbutton.Toggled += OnMultiToggled;
+			fastcheckbutton.Toggled += OnFastToggled;
 			Template = template;
 		}
 		
@@ -47,6 +49,9 @@ namespace LongoMatch.Gui.Dialog
 			set{
 				template = value;
 				nameentry.Text = template.Name;
+				fastcheckbutton.Active = template.FastTag;
+				multicheckbutton.Active = template.AllowMultiple;
+				
 				foreach (string tag in template)
 					AddTag(tag, false);
 			}
@@ -105,6 +110,17 @@ namespace LongoMatch.Gui.Dialog
 			}
 		}
 		
+		protected virtual void OnMultiToggled (object sender, System.EventArgs e)
+		{
+			template.AllowMultiple = multicheckbutton.Active;
+		}
+		
+		protected virtual void OnFastToggled (object sender, System.EventArgs e)
+		{
+			template.FastTag = fastcheckbutton.Active;
+			
+		}
+		
 		protected virtual void OnAddTag (object sender, System.EventArgs e)
 		{
 			AddTag(tagentry.Text, true);
diff --git a/LongoMatch/gtk-gui/LongoMatch.Gui.Dialog.SubCategoryTagsEditor.cs b/LongoMatch/gtk-gui/LongoMatch.Gui.Dialog.SubCategoryTagsEditor.cs
index f2d0501..c6ac2a1 100644
--- a/LongoMatch/gtk-gui/LongoMatch.Gui.Dialog.SubCategoryTagsEditor.cs
+++ b/LongoMatch/gtk-gui/LongoMatch.Gui.Dialog.SubCategoryTagsEditor.cs
@@ -6,12 +6,22 @@ namespace LongoMatch.Gui.Dialog
 	{
 		private global::Gtk.VBox vbox2;
 
-		private global::Gtk.HBox hbox2;
+		private global::Gtk.Table table1;
+
+		private global::Gtk.CheckButton fastcheckbutton;
 
 		private global::Gtk.Label label1;
 
+		private global::Gtk.CheckButton multicheckbutton;
+
 		private global::Gtk.Entry nameentry;
 
+		private global::Gtk.Frame frame1;
+
+		private global::Gtk.Alignment GtkAlignment2;
+
+		private global::Gtk.VBox vbox3;
+
 		private global::Gtk.ScrolledWindow scrolledwindow1;
 
 		private global::Gtk.VBox tagsbox;
@@ -22,6 +32,8 @@ namespace LongoMatch.Gui.Dialog
 
 		private global::Gtk.Button addtagbutton;
 
+		private global::Gtk.Label GtkLabel4;
+
 		private global::Gtk.Button buttonOk;
 
 		protected virtual void Build ()
@@ -45,50 +57,95 @@ namespace LongoMatch.Gui.Dialog
 			this.vbox2.Name = "vbox2";
 			this.vbox2.Spacing = 6;
 			// Container child vbox2.Gtk.Box+BoxChild
-			this.hbox2 = new global::Gtk.HBox ();
-			this.hbox2.Name = "hbox2";
-			this.hbox2.Spacing = 6;
-			// Container child hbox2.Gtk.Box+BoxChild
+			this.table1 = new global::Gtk.Table (((uint)(2)), ((uint)(2)), false);
+			this.table1.Name = "table1";
+			this.table1.RowSpacing = ((uint)(6));
+			this.table1.ColumnSpacing = ((uint)(6));
+			// Container child table1.Gtk.Table+TableChild
+			this.fastcheckbutton = new global::Gtk.CheckButton ();
+			this.fastcheckbutton.TooltipMarkup = "When this option is selected, the sub category can be tagged right after creating a new play";
+			this.fastcheckbutton.CanFocus = true;
+			this.fastcheckbutton.Name = "fastcheckbutton";
+			this.fastcheckbutton.Label = global::Mono.Unix.Catalog.GetString ("Fast tag");
+			this.fastcheckbutton.Active = true;
+			this.fastcheckbutton.DrawIndicator = true;
+			this.fastcheckbutton.UseUnderline = true;
+			this.table1.Add (this.fastcheckbutton);
+			global::Gtk.Table.TableChild w2 = ((global::Gtk.Table.TableChild)(this.table1[this.fastcheckbutton]));
+			w2.TopAttach = ((uint)(1));
+			w2.BottomAttach = ((uint)(2));
+			w2.LeftAttach = ((uint)(1));
+			w2.RightAttach = ((uint)(2));
+			w2.XOptions = ((global::Gtk.AttachOptions)(4));
+			w2.YOptions = ((global::Gtk.AttachOptions)(4));
+			// Container child table1.Gtk.Table+TableChild
 			this.label1 = new global::Gtk.Label ();
 			this.label1.Name = "label1";
 			this.label1.LabelProp = global::Mono.Unix.Catalog.GetString ("Sub category name:");
-			this.hbox2.Add (this.label1);
-			global::Gtk.Box.BoxChild w2 = ((global::Gtk.Box.BoxChild)(this.hbox2[this.label1]));
-			w2.Position = 0;
-			w2.Expand = false;
-			w2.Fill = false;
-			// Container child hbox2.Gtk.Box+BoxChild
+			this.table1.Add (this.label1);
+			global::Gtk.Table.TableChild w3 = ((global::Gtk.Table.TableChild)(this.table1[this.label1]));
+			w3.YOptions = ((global::Gtk.AttachOptions)(4));
+			// Container child table1.Gtk.Table+TableChild
+			this.multicheckbutton = new global::Gtk.CheckButton ();
+			this.multicheckbutton.TooltipMarkup = "This options allows you to select multiple tags instead of just one";
+			this.multicheckbutton.CanFocus = true;
+			this.multicheckbutton.Name = "multicheckbutton";
+			this.multicheckbutton.Label = global::Mono.Unix.Catalog.GetString ("Multiple selections");
+			this.multicheckbutton.Active = true;
+			this.multicheckbutton.DrawIndicator = true;
+			this.multicheckbutton.UseUnderline = true;
+			this.table1.Add (this.multicheckbutton);
+			global::Gtk.Table.TableChild w4 = ((global::Gtk.Table.TableChild)(this.table1[this.multicheckbutton]));
+			w4.TopAttach = ((uint)(1));
+			w4.BottomAttach = ((uint)(2));
+			w4.XOptions = ((global::Gtk.AttachOptions)(4));
+			w4.YOptions = ((global::Gtk.AttachOptions)(4));
+			// Container child table1.Gtk.Table+TableChild
 			this.nameentry = new global::Gtk.Entry ();
 			this.nameentry.CanFocus = true;
 			this.nameentry.Name = "nameentry";
 			this.nameentry.Text = global::Mono.Unix.Catalog.GetString ("Goal type");
 			this.nameentry.IsEditable = true;
 			this.nameentry.InvisibleChar = 'â?¢';
-			this.hbox2.Add (this.nameentry);
-			global::Gtk.Box.BoxChild w3 = ((global::Gtk.Box.BoxChild)(this.hbox2[this.nameentry]));
-			w3.Position = 1;
-			this.vbox2.Add (this.hbox2);
-			global::Gtk.Box.BoxChild w4 = ((global::Gtk.Box.BoxChild)(this.vbox2[this.hbox2]));
-			w4.Position = 0;
-			w4.Expand = false;
-			w4.Fill = false;
+			this.table1.Add (this.nameentry);
+			global::Gtk.Table.TableChild w5 = ((global::Gtk.Table.TableChild)(this.table1[this.nameentry]));
+			w5.LeftAttach = ((uint)(1));
+			w5.RightAttach = ((uint)(2));
+			w5.YOptions = ((global::Gtk.AttachOptions)(4));
+			this.vbox2.Add (this.table1);
+			global::Gtk.Box.BoxChild w6 = ((global::Gtk.Box.BoxChild)(this.vbox2[this.table1]));
+			w6.Position = 0;
+			w6.Expand = false;
+			w6.Fill = false;
 			// Container child vbox2.Gtk.Box+BoxChild
+			this.frame1 = new global::Gtk.Frame ();
+			this.frame1.Name = "frame1";
+			this.frame1.ShadowType = ((global::Gtk.ShadowType)(1));
+			// Container child frame1.Gtk.Container+ContainerChild
+			this.GtkAlignment2 = new global::Gtk.Alignment (0f, 0f, 1f, 1f);
+			this.GtkAlignment2.Name = "GtkAlignment2";
+			this.GtkAlignment2.LeftPadding = ((uint)(12));
+			// Container child GtkAlignment2.Gtk.Container+ContainerChild
+			this.vbox3 = new global::Gtk.VBox ();
+			this.vbox3.Name = "vbox3";
+			this.vbox3.Spacing = 6;
+			// Container child vbox3.Gtk.Box+BoxChild
 			this.scrolledwindow1 = new global::Gtk.ScrolledWindow ();
 			this.scrolledwindow1.CanFocus = true;
 			this.scrolledwindow1.Name = "scrolledwindow1";
 			// Container child scrolledwindow1.Gtk.Container+ContainerChild
-			global::Gtk.Viewport w5 = new global::Gtk.Viewport ();
-			w5.ShadowType = ((global::Gtk.ShadowType)(0));
+			global::Gtk.Viewport w7 = new global::Gtk.Viewport ();
+			w7.ShadowType = ((global::Gtk.ShadowType)(0));
 			// Container child GtkViewport.Gtk.Container+ContainerChild
 			this.tagsbox = new global::Gtk.VBox ();
 			this.tagsbox.Name = "tagsbox";
 			this.tagsbox.Spacing = 6;
-			w5.Add (this.tagsbox);
-			this.scrolledwindow1.Add (w5);
-			this.vbox2.Add (this.scrolledwindow1);
-			global::Gtk.Box.BoxChild w8 = ((global::Gtk.Box.BoxChild)(this.vbox2[this.scrolledwindow1]));
-			w8.Position = 1;
-			// Container child vbox2.Gtk.Box+BoxChild
+			w7.Add (this.tagsbox);
+			this.scrolledwindow1.Add (w7);
+			this.vbox3.Add (this.scrolledwindow1);
+			global::Gtk.Box.BoxChild w10 = ((global::Gtk.Box.BoxChild)(this.vbox3[this.scrolledwindow1]));
+			w10.Position = 0;
+			// Container child vbox3.Gtk.Box+BoxChild
 			this.hbox1 = new global::Gtk.HBox ();
 			this.hbox1.Name = "hbox1";
 			this.hbox1.Spacing = 6;
@@ -100,48 +157,58 @@ namespace LongoMatch.Gui.Dialog
 			this.tagentry.IsEditable = true;
 			this.tagentry.InvisibleChar = 'â?¢';
 			this.hbox1.Add (this.tagentry);
-			global::Gtk.Box.BoxChild w9 = ((global::Gtk.Box.BoxChild)(this.hbox1[this.tagentry]));
-			w9.Position = 0;
+			global::Gtk.Box.BoxChild w11 = ((global::Gtk.Box.BoxChild)(this.hbox1[this.tagentry]));
+			w11.Position = 0;
 			// Container child hbox1.Gtk.Box+BoxChild
 			this.addtagbutton = new global::Gtk.Button ();
 			this.addtagbutton.CanFocus = true;
 			this.addtagbutton.Name = "addtagbutton";
 			this.addtagbutton.UseUnderline = true;
 			// Container child addtagbutton.Gtk.Container+ContainerChild
-			global::Gtk.Alignment w10 = new global::Gtk.Alignment (0.5f, 0.5f, 0f, 0f);
+			global::Gtk.Alignment w12 = new global::Gtk.Alignment (0.5f, 0.5f, 0f, 0f);
 			// Container child GtkAlignment.Gtk.Container+ContainerChild
-			global::Gtk.HBox w11 = new global::Gtk.HBox ();
-			w11.Spacing = 2;
+			global::Gtk.HBox w13 = new global::Gtk.HBox ();
+			w13.Spacing = 2;
 			// Container child GtkHBox.Gtk.Container+ContainerChild
-			global::Gtk.Image w12 = new global::Gtk.Image ();
-			w12.Pixbuf = global::Stetic.IconLoader.LoadIcon (this, "gtk-add", global::Gtk.IconSize.Menu);
-			w11.Add (w12);
+			global::Gtk.Image w14 = new global::Gtk.Image ();
+			w14.Pixbuf = global::Stetic.IconLoader.LoadIcon (this, "gtk-add", global::Gtk.IconSize.Menu);
+			w13.Add (w14);
 			// Container child GtkHBox.Gtk.Container+ContainerChild
-			global::Gtk.Label w14 = new global::Gtk.Label ();
-			w14.LabelProp = global::Mono.Unix.Catalog.GetString ("Add tag");
-			w14.UseUnderline = true;
-			w11.Add (w14);
-			w10.Add (w11);
-			this.addtagbutton.Add (w10);
+			global::Gtk.Label w16 = new global::Gtk.Label ();
+			w16.LabelProp = global::Mono.Unix.Catalog.GetString ("Add tag");
+			w16.UseUnderline = true;
+			w13.Add (w16);
+			w12.Add (w13);
+			this.addtagbutton.Add (w12);
 			this.hbox1.Add (this.addtagbutton);
-			global::Gtk.Box.BoxChild w18 = ((global::Gtk.Box.BoxChild)(this.hbox1[this.addtagbutton]));
-			w18.Position = 1;
-			w18.Expand = false;
-			w18.Fill = false;
-			this.vbox2.Add (this.hbox1);
-			global::Gtk.Box.BoxChild w19 = ((global::Gtk.Box.BoxChild)(this.vbox2[this.hbox1]));
-			w19.Position = 2;
-			w19.Expand = false;
-			w19.Fill = false;
+			global::Gtk.Box.BoxChild w20 = ((global::Gtk.Box.BoxChild)(this.hbox1[this.addtagbutton]));
+			w20.Position = 1;
+			w20.Expand = false;
+			w20.Fill = false;
+			this.vbox3.Add (this.hbox1);
+			global::Gtk.Box.BoxChild w21 = ((global::Gtk.Box.BoxChild)(this.vbox3[this.hbox1]));
+			w21.Position = 1;
+			w21.Expand = false;
+			w21.Fill = false;
+			this.GtkAlignment2.Add (this.vbox3);
+			this.frame1.Add (this.GtkAlignment2);
+			this.GtkLabel4 = new global::Gtk.Label ();
+			this.GtkLabel4.Name = "GtkLabel4";
+			this.GtkLabel4.LabelProp = global::Mono.Unix.Catalog.GetString ("<b>Tags</b>");
+			this.GtkLabel4.UseMarkup = true;
+			this.frame1.LabelWidget = this.GtkLabel4;
+			this.vbox2.Add (this.frame1);
+			global::Gtk.Box.BoxChild w24 = ((global::Gtk.Box.BoxChild)(this.vbox2[this.frame1]));
+			w24.Position = 1;
 			w1.Add (this.vbox2);
-			global::Gtk.Box.BoxChild w20 = ((global::Gtk.Box.BoxChild)(w1[this.vbox2]));
-			w20.Position = 0;
+			global::Gtk.Box.BoxChild w25 = ((global::Gtk.Box.BoxChild)(w1[this.vbox2]));
+			w25.Position = 0;
 			// Internal child LongoMatch.Gui.Dialog.SubCategoryTagsEditor.ActionArea
-			global::Gtk.HButtonBox w21 = this.ActionArea;
-			w21.Name = "dialog1_ActionArea";
-			w21.Spacing = 10;
-			w21.BorderWidth = ((uint)(5));
-			w21.LayoutStyle = ((global::Gtk.ButtonBoxStyle)(4));
+			global::Gtk.HButtonBox w26 = this.ActionArea;
+			w26.Name = "dialog1_ActionArea";
+			w26.Spacing = 10;
+			w26.BorderWidth = ((uint)(5));
+			w26.LayoutStyle = ((global::Gtk.ButtonBoxStyle)(4));
 			// Container child dialog1_ActionArea.Gtk.ButtonBox+ButtonBoxChild
 			this.buttonOk = new global::Gtk.Button ();
 			this.buttonOk.CanDefault = true;
@@ -151,13 +218,13 @@ namespace LongoMatch.Gui.Dialog
 			this.buttonOk.UseUnderline = true;
 			this.buttonOk.Label = "gtk-ok";
 			this.AddActionWidget (this.buttonOk, -5);
-			global::Gtk.ButtonBox.ButtonBoxChild w22 = ((global::Gtk.ButtonBox.ButtonBoxChild)(w21[this.buttonOk]));
-			w22.Expand = false;
-			w22.Fill = false;
+			global::Gtk.ButtonBox.ButtonBoxChild w27 = ((global::Gtk.ButtonBox.ButtonBoxChild)(w26[this.buttonOk]));
+			w27.Expand = false;
+			w27.Fill = false;
 			if ((this.Child != null)) {
 				this.Child.ShowAll ();
 			}
-			this.DefaultWidth = 272;
+			this.DefaultWidth = 294;
 			this.DefaultHeight = 304;
 			this.Show ();
 		}
diff --git a/LongoMatch/gtk-gui/gui.stetic b/LongoMatch/gtk-gui/gui.stetic
index eeb33a5..e3df376 100644
--- a/LongoMatch/gtk-gui/gui.stetic
+++ b/LongoMatch/gtk-gui/gui.stetic
@@ -2115,7 +2115,7 @@
       </widget>
     </child>
   </widget>
-  <widget class="Gtk.Bin" id="LongoMatch.Gui.Component.CategoryProperties" design-size="438 364">
+  <widget class="Gtk.Bin" id="LongoMatch.Gui.Component.CategoryProperties" design-size="438 392">
     <property name="MemberName" />
     <child>
       <widget class="Gtk.VBox" id="vbox2">
@@ -6054,7 +6054,7 @@ You can continue with the current capture, cancel it or save your project.
       </widget>
     </child>
   </widget>
-  <widget class="Gtk.Dialog" id="LongoMatch.Gui.Dialog.SubCategoryTagsEditor" design-size="272 304">
+  <widget class="Gtk.Dialog" id="LongoMatch.Gui.Dialog.SubCategoryTagsEditor" design-size="294 304">
     <property name="MemberName" />
     <property name="Title" translatable="yes">Edit sub category tags</property>
     <property name="Icon">resource:longomatch.png</property>
@@ -6074,19 +6074,78 @@ You can continue with the current capture, cancel it or save your project.
             <property name="MemberName" />
             <property name="Spacing">6</property>
             <child>
-              <widget class="Gtk.HBox" id="hbox2">
+              <widget class="Gtk.Table" id="table1">
                 <property name="MemberName" />
-                <property name="Spacing">6</property>
+                <property name="NRows">2</property>
+                <property name="NColumns">2</property>
+                <property name="RowSpacing">6</property>
+                <property name="ColumnSpacing">6</property>
+                <child>
+                  <widget class="Gtk.CheckButton" id="fastcheckbutton">
+                    <property name="MemberName" />
+                    <property name="Tooltip" translatable="yes">When this option is selected, the sub category can be tagged right after creating a new play</property>
+                    <property name="CanFocus">True</property>
+                    <property name="Label" translatable="yes">Fast tag</property>
+                    <property name="Active">True</property>
+                    <property name="DrawIndicator">True</property>
+                    <property name="HasLabel">True</property>
+                    <property name="UseUnderline">True</property>
+                  </widget>
+                  <packing>
+                    <property name="TopAttach">1</property>
+                    <property name="BottomAttach">2</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">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="label1">
                     <property name="MemberName" />
                     <property name="LabelProp" translatable="yes">Sub category name:</property>
                   </widget>
                   <packing>
-                    <property name="Position">0</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>
+                <child>
+                  <widget class="Gtk.CheckButton" id="multicheckbutton">
+                    <property name="MemberName" />
+                    <property name="Tooltip" translatable="yes">This options allows you to select multiple tags instead of just one</property>
+                    <property name="CanFocus">True</property>
+                    <property name="Label" translatable="yes">Multiple selections</property>
+                    <property name="Active">True</property>
+                    <property name="DrawIndicator">True</property>
+                    <property name="HasLabel">True</property>
+                    <property name="UseUnderline">True</property>
+                  </widget>
+                  <packing>
+                    <property name="TopAttach">1</property>
+                    <property name="BottomAttach">2</property>
                     <property name="AutoSize">True</property>
-                    <property name="Expand">False</property>
-                    <property name="Fill">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>
@@ -6098,91 +6157,133 @@ You can continue with the current capture, cancel it or save your project.
                     <property name="InvisibleChar">â?¢</property>
                   </widget>
                   <packing>
-                    <property name="Position">1</property>
-                    <property name="AutoSize">True</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>
+                    <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="AutoSize">True</property>
                 <property name="Expand">False</property>
                 <property name="Fill">False</property>
               </packing>
             </child>
             <child>
-              <widget class="Gtk.ScrolledWindow" id="scrolledwindow1">
+              <widget class="Gtk.Frame" id="frame1">
                 <property name="MemberName" />
-                <property name="CanFocus">True</property>
+                <property name="ShadowType">In</property>
                 <child>
-                  <widget class="Gtk.Viewport" id="GtkViewport">
+                  <widget class="Gtk.Alignment" id="GtkAlignment2">
                     <property name="MemberName" />
-                    <property name="ShadowType">None</property>
+                    <property name="Xalign">0</property>
+                    <property name="Yalign">0</property>
+                    <property name="LeftPadding">12</property>
                     <child>
-                      <widget class="Gtk.VBox" id="tagsbox">
+                      <widget class="Gtk.VBox" id="vbox3">
                         <property name="MemberName" />
                         <property name="Spacing">6</property>
                         <child>
-                          <placeholder />
-                        </child>
-                        <child>
-                          <placeholder />
-                        </child>
-                        <child>
-                          <placeholder />
+                          <widget class="Gtk.ScrolledWindow" id="scrolledwindow1">
+                            <property name="MemberName" />
+                            <property name="CanFocus">True</property>
+                            <child>
+                              <widget class="Gtk.Viewport" id="GtkViewport">
+                                <property name="MemberName" />
+                                <property name="ShadowType">None</property>
+                                <child>
+                                  <widget class="Gtk.VBox" id="tagsbox">
+                                    <property name="MemberName" />
+                                    <property name="Spacing">6</property>
+                                    <child>
+                                      <placeholder />
+                                    </child>
+                                    <child>
+                                      <placeholder />
+                                    </child>
+                                    <child>
+                                      <placeholder />
+                                    </child>
+                                    <child>
+                                      <placeholder />
+                                    </child>
+                                  </widget>
+                                </child>
+                              </widget>
+                            </child>
+                          </widget>
+                          <packing>
+                            <property name="Position">0</property>
+                            <property name="AutoSize">True</property>
+                          </packing>
                         </child>
                         <child>
-                          <placeholder />
+                          <widget class="Gtk.HBox" id="hbox1">
+                            <property name="MemberName" />
+                            <property name="Spacing">6</property>
+                            <child>
+                              <widget class="Gtk.Entry" id="tagentry">
+                                <property name="MemberName" />
+                                <property name="CanFocus">True</property>
+                                <property name="Text" translatable="yes">Penalty</property>
+                                <property name="IsEditable">True</property>
+                                <property name="InvisibleChar">â?¢</property>
+                              </widget>
+                              <packing>
+                                <property name="Position">0</property>
+                                <property name="AutoSize">True</property>
+                              </packing>
+                            </child>
+                            <child>
+                              <widget class="Gtk.Button" id="addtagbutton">
+                                <property name="MemberName" />
+                                <property name="CanFocus">True</property>
+                                <property name="Type">TextAndIcon</property>
+                                <property name="Icon">stock:gtk-add Menu</property>
+                                <property name="Label" translatable="yes">Add tag</property>
+                                <property name="UseUnderline">True</property>
+                              </widget>
+                              <packing>
+                                <property name="Position">1</property>
+                                <property name="AutoSize">False</property>
+                                <property name="Expand">False</property>
+                                <property name="Fill">False</property>
+                              </packing>
+                            </child>
+                          </widget>
+                          <packing>
+                            <property name="Position">1</property>
+                            <property name="AutoSize">True</property>
+                            <property name="Expand">False</property>
+                            <property name="Fill">False</property>
+                          </packing>
                         </child>
                       </widget>
                     </child>
                   </widget>
                 </child>
-              </widget>
-              <packing>
-                <property name="Position">1</property>
-                <property name="AutoSize">True</property>
-              </packing>
-            </child>
-            <child>
-              <widget class="Gtk.HBox" id="hbox1">
-                <property name="MemberName" />
-                <property name="Spacing">6</property>
-                <child>
-                  <widget class="Gtk.Entry" id="tagentry">
-                    <property name="MemberName" />
-                    <property name="CanFocus">True</property>
-                    <property name="Text" translatable="yes">Penalty</property>
-                    <property name="IsEditable">True</property>
-                    <property name="InvisibleChar">â?¢</property>
-                  </widget>
-                  <packing>
-                    <property name="Position">0</property>
-                    <property name="AutoSize">True</property>
-                  </packing>
-                </child>
                 <child>
-                  <widget class="Gtk.Button" id="addtagbutton">
+                  <widget class="Gtk.Label" id="GtkLabel4">
                     <property name="MemberName" />
-                    <property name="CanFocus">True</property>
-                    <property name="Type">TextAndIcon</property>
-                    <property name="Icon">stock:gtk-add Menu</property>
-                    <property name="Label" translatable="yes">Add tag</property>
-                    <property name="UseUnderline">True</property>
+                    <property name="LabelProp" translatable="yes">&lt;b&gt;Tags&lt;/b&gt;</property>
+                    <property name="UseMarkup">True</property>
                   </widget>
                   <packing>
-                    <property name="Position">1</property>
-                    <property name="AutoSize">False</property>
-                    <property name="Expand">False</property>
-                    <property name="Fill">False</property>
+                    <property name="type">label_item</property>
                   </packing>
                 </child>
               </widget>
               <packing>
-                <property name="Position">2</property>
+                <property name="Position">1</property>
                 <property name="AutoSize">True</property>
-                <property name="Expand">False</property>
-                <property name="Fill">False</property>
               </packing>
             </child>
           </widget>



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