diff gtk-gui/IBBoard.WarFoundry.GUI.GTK.FrmPreferences.cs @ 145:135491fd1830

* Commit reformatted auto-generated code, because MonoDevelop changed its behaviour and now always uses its own format, not user format, for autogen code
author IBBoard <dev@ibboard.co.uk>
date Sat, 12 Nov 2011 19:53:26 +0000
parents b4416ca69153
children
line wrap: on
line diff
--- a/gtk-gui/IBBoard.WarFoundry.GUI.GTK.FrmPreferences.cs	Tue Oct 25 20:32:47 2011 +0100
+++ b/gtk-gui/IBBoard.WarFoundry.GUI.GTK.FrmPreferences.cs	Sat Nov 12 19:53:26 2011 +0000
@@ -15,10 +15,10 @@
 		private global::Gtk.Label frameLabel;
 		private global::IBBoard.GtkSharp.Translatable.TranslatableButton bttnCancel;
 		private global::IBBoard.GtkSharp.Translatable.TranslatableButton bttnOkay;
-
-		protected virtual void Build()
+		
+		protected virtual void Build ()
 		{
-			global::Stetic.Gui.Initialize(this);
+			global::Stetic.Gui.Initialize (this);
 			// Widget IBBoard.WarFoundry.GUI.GTK.FrmPreferences
 			this.Name = "IBBoard.WarFoundry.GUI.GTK.FrmPreferences";
 			this.TypeHint = ((global::Gdk.WindowTypeHint)(1));
@@ -30,64 +30,64 @@
 			w1.Name = "dialog1_VBox";
 			w1.BorderWidth = ((uint)(2));
 			// Container child dialog1_VBox.Gtk.Box+BoxChild
-			this.hpaned1 = new global::Gtk.HPaned();
+			this.hpaned1 = new global::Gtk.HPaned ();
 			this.hpaned1.CanFocus = true;
 			this.hpaned1.Name = "hpaned1";
 			this.hpaned1.Position = 164;
 			// Container child hpaned1.Gtk.Paned+PanedChild
-			this.GtkScrolledWindow = new global::Gtk.ScrolledWindow();
+			this.GtkScrolledWindow = new global::Gtk.ScrolledWindow ();
 			this.GtkScrolledWindow.Name = "GtkScrolledWindow";
 			this.GtkScrolledWindow.ShadowType = ((global::Gtk.ShadowType)(1));
 			// Container child GtkScrolledWindow.Gtk.Container+ContainerChild
-			this.preferencesTree = new global::Gtk.TreeView();
+			this.preferencesTree = new global::Gtk.TreeView ();
 			this.preferencesTree.CanFocus = true;
 			this.preferencesTree.Name = "preferencesTree";
 			this.preferencesTree.HeadersVisible = false;
-			this.GtkScrolledWindow.Add(this.preferencesTree);
-			this.hpaned1.Add(this.GtkScrolledWindow);
-			global::Gtk.Paned.PanedChild w3 = ((global::Gtk.Paned.PanedChild)(this.hpaned1[this.GtkScrolledWindow]));
+			this.GtkScrolledWindow.Add (this.preferencesTree);
+			this.hpaned1.Add (this.GtkScrolledWindow);
+			global::Gtk.Paned.PanedChild w3 = ((global::Gtk.Paned.PanedChild)(this.hpaned1 [this.GtkScrolledWindow]));
 			w3.Resize = false;
 			// Container child hpaned1.Gtk.Paned+PanedChild
-			this.prefsFrame = new global::Gtk.Frame();
+			this.prefsFrame = new global::Gtk.Frame ();
 			this.prefsFrame.Name = "prefsFrame";
 			this.prefsFrame.ShadowType = ((global::Gtk.ShadowType)(1));
 			this.prefsFrame.BorderWidth = ((uint)(2));
 			// Container child prefsFrame.Gtk.Container+ContainerChild
-			this.GtkAlignment2 = new global::Gtk.Alignment(0F, 0F, 1F, 1F);
+			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.table1 = new global::Gtk.Table(((uint)(3)), ((uint)(2)), false);
+			this.table1 = new global::Gtk.Table (((uint)(3)), ((uint)(2)), false);
 			this.table1.Name = "table1";
 			this.table1.RowSpacing = ((uint)(6));
 			this.table1.ColumnSpacing = ((uint)(6));
 			// Container child table1.Gtk.Table+TableChild
-			this.languageList = global::Gtk.ComboBox.NewText();
+			this.languageList = global::Gtk.ComboBox.NewText ();
 			this.languageList.Name = "languageList";
-			this.table1.Add(this.languageList);
-			global::Gtk.Table.TableChild w4 = ((global::Gtk.Table.TableChild)(this.table1[this.languageList]));
+			this.table1.Add (this.languageList);
+			global::Gtk.Table.TableChild w4 = ((global::Gtk.Table.TableChild)(this.table1 [this.languageList]));
 			w4.LeftAttach = ((uint)(1));
 			w4.RightAttach = ((uint)(2));
 			w4.XOptions = ((global::Gtk.AttachOptions)(4));
 			w4.YOptions = ((global::Gtk.AttachOptions)(4));
 			// Container child table1.Gtk.Table+TableChild
-			this.lblLanguage = new global::IBBoard.GtkSharp.Translatable.TranslatableLabel();
+			this.lblLanguage = new global::IBBoard.GtkSharp.Translatable.TranslatableLabel ();
 			this.lblLanguage.Name = "lblLanguage";
-			this.lblLanguage.LabelProp = global::Mono.Unix.Catalog.GetString("language:");
-			this.table1.Add(this.lblLanguage);
-			global::Gtk.Table.TableChild w5 = ((global::Gtk.Table.TableChild)(this.table1[this.lblLanguage]));
+			this.lblLanguage.LabelProp = global::Mono.Unix.Catalog.GetString ("language:");
+			this.table1.Add (this.lblLanguage);
+			global::Gtk.Table.TableChild w5 = ((global::Gtk.Table.TableChild)(this.table1 [this.lblLanguage]));
 			w5.XOptions = ((global::Gtk.AttachOptions)(4));
 			w5.YOptions = ((global::Gtk.AttachOptions)(4));
-			this.GtkAlignment2.Add(this.table1);
-			this.prefsFrame.Add(this.GtkAlignment2);
-			this.frameLabel = new global::Gtk.Label();
+			this.GtkAlignment2.Add (this.table1);
+			this.prefsFrame.Add (this.GtkAlignment2);
+			this.frameLabel = new global::Gtk.Label ();
 			this.frameLabel.Name = "frameLabel";
-			this.frameLabel.LabelProp = global::Mono.Unix.Catalog.GetString("<b>language</b>");
+			this.frameLabel.LabelProp = global::Mono.Unix.Catalog.GetString ("<b>language</b>");
 			this.frameLabel.UseMarkup = true;
 			this.prefsFrame.LabelWidget = this.frameLabel;
-			this.hpaned1.Add(this.prefsFrame);
-			w1.Add(this.hpaned1);
-			global::Gtk.Box.BoxChild w9 = ((global::Gtk.Box.BoxChild)(w1[this.hpaned1]));
+			this.hpaned1.Add (this.prefsFrame);
+			w1.Add (this.hpaned1);
+			global::Gtk.Box.BoxChild w9 = ((global::Gtk.Box.BoxChild)(w1 [this.hpaned1]));
 			w9.Position = 0;
 			// Internal child IBBoard.WarFoundry.GUI.GTK.FrmPreferences.ActionArea
 			global::Gtk.HButtonBox w10 = this.ActionArea;
@@ -96,40 +96,39 @@
 			w10.BorderWidth = ((uint)(5));
 			w10.LayoutStyle = ((global::Gtk.ButtonBoxStyle)(4));
 			// Container child dialog1_ActionArea.Gtk.ButtonBox+ButtonBoxChild
-			this.bttnCancel = new global::IBBoard.GtkSharp.Translatable.TranslatableButton();
+			this.bttnCancel = new global::IBBoard.GtkSharp.Translatable.TranslatableButton ();
 			this.bttnCancel.CanDefault = true;
 			this.bttnCancel.CanFocus = true;
 			this.bttnCancel.Name = "bttnCancel";
 			this.bttnCancel.UseStock = true;
 			this.bttnCancel.UseUnderline = true;
 			this.bttnCancel.Label = "gtk-cancel";
-			this.AddActionWidget(this.bttnCancel, -6);
-			global::Gtk.ButtonBox.ButtonBoxChild w11 = ((global::Gtk.ButtonBox.ButtonBoxChild)(w10[this.bttnCancel]));
+			this.AddActionWidget (this.bttnCancel, -6);
+			global::Gtk.ButtonBox.ButtonBoxChild w11 = ((global::Gtk.ButtonBox.ButtonBoxChild)(w10 [this.bttnCancel]));
 			w11.Expand = false;
 			w11.Fill = false;
 			// Container child dialog1_ActionArea.Gtk.ButtonBox+ButtonBoxChild
-			this.bttnOkay = new global::IBBoard.GtkSharp.Translatable.TranslatableButton();
+			this.bttnOkay = new global::IBBoard.GtkSharp.Translatable.TranslatableButton ();
 			this.bttnOkay.CanDefault = true;
 			this.bttnOkay.CanFocus = true;
 			this.bttnOkay.Name = "bttnOkay";
 			this.bttnOkay.UseStock = true;
 			this.bttnOkay.UseUnderline = true;
 			this.bttnOkay.Label = "gtk-ok";
-			this.AddActionWidget(this.bttnOkay, -5);
-			global::Gtk.ButtonBox.ButtonBoxChild w12 = ((global::Gtk.ButtonBox.ButtonBoxChild)(w10[this.bttnOkay]));
+			this.AddActionWidget (this.bttnOkay, -5);
+			global::Gtk.ButtonBox.ButtonBoxChild w12 = ((global::Gtk.ButtonBox.ButtonBoxChild)(w10 [this.bttnOkay]));
 			w12.Position = 1;
 			w12.Expand = false;
 			w12.Fill = false;
-			if ((this.Child != null))
-			{
-				this.Child.ShowAll();
+			if ((this.Child != null)) {
+				this.Child.ShowAll ();
 			}
 			this.DefaultWidth = 400;
 			this.DefaultHeight = 300;
-			this.Show();
-			this.languageList.Changed += new global::System.EventHandler(this.languageListChanged);
-			this.bttnCancel.Clicked += new global::System.EventHandler(this.bttnCancelClicked);
-			this.bttnOkay.Clicked += new global::System.EventHandler(this.bttnOkayClicked);
+			this.Show ();
+			this.languageList.Changed += new global::System.EventHandler (this.languageListChanged);
+			this.bttnCancel.Clicked += new global::System.EventHandler (this.bttnCancelClicked);
+			this.bttnOkay.Clicked += new global::System.EventHandler (this.bttnOkayClicked);
 		}
 	}
 }