comparison gtk-gui/IBBoard.WarFoundry.GUI.GTK.FrmNewUnit.cs @ 143:aca4623b7bdf

Re #344: Show unit requirement failures * Hide warning widget by default
author IBBoard <dev@ibboard.co.uk>
date Wed, 19 Oct 2011 20:35:31 +0100
parents f23e5b40ca9d
children 135491fd1830
comparison
equal deleted inserted replaced
142:f23e5b40ca9d 143:aca4623b7bdf
110 if ((this.Child != null)) { 110 if ((this.Child != null)) {
111 this.Child.ShowAll (); 111 this.Child.ShowAll ();
112 } 112 }
113 this.DefaultWidth = 403; 113 this.DefaultWidth = 403;
114 this.DefaultHeight = 311; 114 this.DefaultHeight = 311;
115 this.validationWidget.Hide ();
115 this.Show (); 116 this.Show ();
116 this.lstUnitTypes.RowActivated += new global::Gtk.RowActivatedHandler (this.OnRowActivated); 117 this.lstUnitTypes.RowActivated += new global::Gtk.RowActivatedHandler (this.OnRowActivated);
117 this.bttnCancel.Clicked += new global::System.EventHandler (this.OnButtonCancelActivated); 118 this.bttnCancel.Clicked += new global::System.EventHandler (this.OnButtonCancelActivated);
118 this.bttnCreate.Clicked += new global::System.EventHandler (this.OnButtonOkClicked); 119 this.bttnCreate.Clicked += new global::System.EventHandler (this.OnButtonOkClicked);
119 } 120 }