diff options
Diffstat (limited to 'main/src/addins/MonoDevelop.SourceEditor2/gtk-gui/MonoDevelop.SourceEditor.OptionPanels.ColorShemeEditor.cs')
-rw-r--r-- | main/src/addins/MonoDevelop.SourceEditor2/gtk-gui/MonoDevelop.SourceEditor.OptionPanels.ColorShemeEditor.cs | 273 |
1 files changed, 154 insertions, 119 deletions
diff --git a/main/src/addins/MonoDevelop.SourceEditor2/gtk-gui/MonoDevelop.SourceEditor.OptionPanels.ColorShemeEditor.cs b/main/src/addins/MonoDevelop.SourceEditor2/gtk-gui/MonoDevelop.SourceEditor.OptionPanels.ColorShemeEditor.cs index 4b433ec225..d20c095ede 100644 --- a/main/src/addins/MonoDevelop.SourceEditor2/gtk-gui/MonoDevelop.SourceEditor.OptionPanels.ColorShemeEditor.cs +++ b/main/src/addins/MonoDevelop.SourceEditor2/gtk-gui/MonoDevelop.SourceEditor.OptionPanels.ColorShemeEditor.cs @@ -5,46 +5,79 @@ namespace MonoDevelop.SourceEditor.OptionPanels public partial class ColorShemeEditor { private global::Gtk.HBox hbox1; + private global::Gtk.Label label2; + private global::Gtk.Entry entryName; + private global::Gtk.Label label3; + private global::Gtk.Entry entryDescription; + private global::Gtk.HPaned hpaned1; + private global::Gtk.VBox vbox2; + private global::Gtk.Label label1; + private global::Gtk.ScrolledWindow GtkScrolledWindow; + private global::Gtk.TreeView treeviewColors; + private global::Gtk.VBox vbox3; + private global::Gtk.Notebook notebookColorChooser; + private global::Gtk.VBox vbox4; + private global::Gtk.Table table1; + private global::Gtk.ColorButton colorbuttonBg; + private global::Gtk.ColorButton colorbuttonFg; + private global::Gtk.Label label5; + private global::Gtk.Label label7; + private global::Gtk.CheckButton checkbuttonBold; + private global::Gtk.CheckButton checkbuttonItalic; + private global::Gtk.Label label4; + private global::Gtk.VBox vbox5; + private global::Gtk.Table table2; + private global::Gtk.ColorButton colorbuttonBorder; + private global::Gtk.ColorButton colorbuttonPrimary; + private global::Gtk.ColorButton colorbuttonSecondary; + private global::Gtk.Label label10; + private global::Gtk.Label label11; + private global::Gtk.Label label9; + private global::Gtk.Label label6; + private global::Gtk.Label label8; + private global::Gtk.ScrolledWindow scrolledwindowTextEditor; + private global::Gtk.Button buttonCancel; + private global::Gtk.Button buttonOk; - - protected virtual void Build () + + protected virtual void Build() { - global::Stetic.Gui.Initialize (this); + global::Stetic.Gui.Initialize(this); // Widget MonoDevelop.SourceEditor.OptionPanels.ColorShemeEditor this.Name = "MonoDevelop.SourceEditor.OptionPanels.ColorShemeEditor"; - this.Title = global::Mono.Unix.Catalog.GetString ("Edit color sheme"); + this.Title = global::Mono.Unix.Catalog.GetString("Edit color sheme"); this.WindowPosition = ((global::Gtk.WindowPosition)(4)); this.BorderWidth = ((uint)(6)); // Internal child MonoDevelop.SourceEditor.OptionPanels.ColorShemeEditor.VBox @@ -52,115 +85,116 @@ namespace MonoDevelop.SourceEditor.OptionPanels w1.Name = "dialog1_VBox"; w1.BorderWidth = ((uint)(2)); // Container child dialog1_VBox.Gtk.Box+BoxChild - this.hbox1 = new global::Gtk.HBox (); + this.hbox1 = new global::Gtk.HBox(); this.hbox1.Name = "hbox1"; this.hbox1.Spacing = 6; this.hbox1.BorderWidth = ((uint)(6)); // Container child hbox1.Gtk.Box+BoxChild - this.label2 = new global::Gtk.Label (); + this.label2 = new global::Gtk.Label(); this.label2.Name = "label2"; this.label2.Xalign = 0F; - this.label2.LabelProp = global::Mono.Unix.Catalog.GetString ("_Name:"); + this.label2.LabelProp = global::Mono.Unix.Catalog.GetString("_Name:"); this.label2.UseUnderline = true; - this.hbox1.Add (this.label2); - global::Gtk.Box.BoxChild w2 = ((global::Gtk.Box.BoxChild)(this.hbox1 [this.label2])); + this.hbox1.Add(this.label2); + global::Gtk.Box.BoxChild w2 = ((global::Gtk.Box.BoxChild)(this.hbox1[this.label2])); w2.Position = 0; w2.Expand = false; w2.Fill = false; // Container child hbox1.Gtk.Box+BoxChild - this.entryName = new global::Gtk.Entry (); + this.entryName = new global::Gtk.Entry(); this.entryName.CanFocus = true; this.entryName.Name = "entryName"; this.entryName.IsEditable = true; this.entryName.InvisibleChar = '●'; - this.hbox1.Add (this.entryName); - global::Gtk.Box.BoxChild w3 = ((global::Gtk.Box.BoxChild)(this.hbox1 [this.entryName])); + this.hbox1.Add(this.entryName); + global::Gtk.Box.BoxChild w3 = ((global::Gtk.Box.BoxChild)(this.hbox1[this.entryName])); w3.Position = 1; // Container child hbox1.Gtk.Box+BoxChild - this.label3 = new global::Gtk.Label (); + this.label3 = new global::Gtk.Label(); this.label3.Name = "label3"; - this.label3.LabelProp = global::Mono.Unix.Catalog.GetString ("_Description:"); + this.label3.LabelProp = global::Mono.Unix.Catalog.GetString("_Description:"); this.label3.UseUnderline = true; - this.hbox1.Add (this.label3); - global::Gtk.Box.BoxChild w4 = ((global::Gtk.Box.BoxChild)(this.hbox1 [this.label3])); + this.hbox1.Add(this.label3); + global::Gtk.Box.BoxChild w4 = ((global::Gtk.Box.BoxChild)(this.hbox1[this.label3])); w4.Position = 2; w4.Expand = false; w4.Fill = false; // Container child hbox1.Gtk.Box+BoxChild - this.entryDescription = new global::Gtk.Entry (); + this.entryDescription = new global::Gtk.Entry(); this.entryDescription.CanFocus = true; this.entryDescription.Name = "entryDescription"; this.entryDescription.IsEditable = true; this.entryDescription.InvisibleChar = '●'; - this.hbox1.Add (this.entryDescription); - global::Gtk.Box.BoxChild w5 = ((global::Gtk.Box.BoxChild)(this.hbox1 [this.entryDescription])); + this.hbox1.Add(this.entryDescription); + global::Gtk.Box.BoxChild w5 = ((global::Gtk.Box.BoxChild)(this.hbox1[this.entryDescription])); w5.Position = 3; - w1.Add (this.hbox1); - global::Gtk.Box.BoxChild w6 = ((global::Gtk.Box.BoxChild)(w1 [this.hbox1])); + w1.Add(this.hbox1); + global::Gtk.Box.BoxChild w6 = ((global::Gtk.Box.BoxChild)(w1[this.hbox1])); w6.Position = 0; w6.Expand = false; w6.Fill = false; // 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 = 415; // Container child hpaned1.Gtk.Paned+PanedChild - this.vbox2 = new global::Gtk.VBox (); + this.vbox2 = new global::Gtk.VBox(); this.vbox2.Name = "vbox2"; this.vbox2.Spacing = 6; // Container child vbox2.Gtk.Box+BoxChild - this.label1 = new global::Gtk.Label (); + this.label1 = new global::Gtk.Label(); this.label1.Name = "label1"; this.label1.Xalign = 0F; - this.label1.LabelProp = global::Mono.Unix.Catalog.GetString ("_Colors"); + this.label1.LabelProp = global::Mono.Unix.Catalog.GetString("_Colors"); this.label1.UseUnderline = true; - this.vbox2.Add (this.label1); - global::Gtk.Box.BoxChild w7 = ((global::Gtk.Box.BoxChild)(this.vbox2 [this.label1])); + this.vbox2.Add(this.label1); + global::Gtk.Box.BoxChild w7 = ((global::Gtk.Box.BoxChild)(this.vbox2[this.label1])); w7.Position = 0; w7.Expand = false; w7.Fill = false; // Container child vbox2.Gtk.Box+BoxChild - 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.treeviewColors = new global::Gtk.TreeView (); + this.treeviewColors = new global::Gtk.TreeView(); this.treeviewColors.CanFocus = true; this.treeviewColors.Name = "treeviewColors"; - this.GtkScrolledWindow.Add (this.treeviewColors); - this.vbox2.Add (this.GtkScrolledWindow); - global::Gtk.Box.BoxChild w9 = ((global::Gtk.Box.BoxChild)(this.vbox2 [this.GtkScrolledWindow])); + this.GtkScrolledWindow.Add(this.treeviewColors); + this.vbox2.Add(this.GtkScrolledWindow); + global::Gtk.Box.BoxChild w9 = ((global::Gtk.Box.BoxChild)(this.vbox2[this.GtkScrolledWindow])); w9.Position = 1; - this.hpaned1.Add (this.vbox2); - global::Gtk.Paned.PanedChild w10 = ((global::Gtk.Paned.PanedChild)(this.hpaned1 [this.vbox2])); + this.hpaned1.Add(this.vbox2); + global::Gtk.Paned.PanedChild w10 = ((global::Gtk.Paned.PanedChild)(this.hpaned1[this.vbox2])); w10.Resize = false; // Container child hpaned1.Gtk.Paned+PanedChild - this.vbox3 = new global::Gtk.VBox (); + this.vbox3 = new global::Gtk.VBox(); this.vbox3.Name = "vbox3"; this.vbox3.Spacing = 6; // Container child vbox3.Gtk.Box+BoxChild - this.notebookColorChooser = new global::Gtk.Notebook (); + this.notebookColorChooser = new global::Gtk.Notebook(); this.notebookColorChooser.CanFocus = true; this.notebookColorChooser.Name = "notebookColorChooser"; this.notebookColorChooser.CurrentPage = 1; this.notebookColorChooser.ShowBorder = false; this.notebookColorChooser.BorderWidth = ((uint)(8)); // Container child notebookColorChooser.Gtk.Notebook+NotebookChild - this.vbox4 = new global::Gtk.VBox (); + this.vbox4 = new global::Gtk.VBox(); this.vbox4.Name = "vbox4"; this.vbox4.Spacing = 6; // Container child vbox4.Gtk.Box+BoxChild - this.table1 = new global::Gtk.Table (((uint)(2)), ((uint)(2)), false); + 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.colorbuttonBg = new global::Gtk.ColorButton (); + this.colorbuttonBg = new global::Gtk.ColorButton(); this.colorbuttonBg.CanFocus = true; this.colorbuttonBg.Events = ((global::Gdk.EventMask)(784)); this.colorbuttonBg.Name = "colorbuttonBg"; - this.table1.Add (this.colorbuttonBg); - global::Gtk.Table.TableChild w11 = ((global::Gtk.Table.TableChild)(this.table1 [this.colorbuttonBg])); + this.table1.Add(this.colorbuttonBg); + global::Gtk.Table.TableChild w11 = ((global::Gtk.Table.TableChild)(this.table1[this.colorbuttonBg])); w11.TopAttach = ((uint)(1)); w11.BottomAttach = ((uint)(2)); w11.LeftAttach = ((uint)(1)); @@ -168,90 +202,90 @@ namespace MonoDevelop.SourceEditor.OptionPanels w11.XOptions = ((global::Gtk.AttachOptions)(4)); w11.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild - this.colorbuttonFg = new global::Gtk.ColorButton (); + this.colorbuttonFg = new global::Gtk.ColorButton(); this.colorbuttonFg.CanFocus = true; this.colorbuttonFg.Events = ((global::Gdk.EventMask)(784)); this.colorbuttonFg.Name = "colorbuttonFg"; - this.table1.Add (this.colorbuttonFg); - global::Gtk.Table.TableChild w12 = ((global::Gtk.Table.TableChild)(this.table1 [this.colorbuttonFg])); + this.table1.Add(this.colorbuttonFg); + global::Gtk.Table.TableChild w12 = ((global::Gtk.Table.TableChild)(this.table1[this.colorbuttonFg])); w12.LeftAttach = ((uint)(1)); w12.RightAttach = ((uint)(2)); w12.XOptions = ((global::Gtk.AttachOptions)(4)); w12.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild - this.label5 = new global::Gtk.Label (); + this.label5 = new global::Gtk.Label(); this.label5.Name = "label5"; this.label5.Xalign = 1F; - this.label5.LabelProp = global::Mono.Unix.Catalog.GetString ("_Background:"); + this.label5.LabelProp = global::Mono.Unix.Catalog.GetString("_Background:"); this.label5.UseUnderline = true; - this.table1.Add (this.label5); - global::Gtk.Table.TableChild w13 = ((global::Gtk.Table.TableChild)(this.table1 [this.label5])); + this.table1.Add(this.label5); + global::Gtk.Table.TableChild w13 = ((global::Gtk.Table.TableChild)(this.table1[this.label5])); w13.TopAttach = ((uint)(1)); w13.BottomAttach = ((uint)(2)); w13.XOptions = ((global::Gtk.AttachOptions)(4)); w13.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild - this.label7 = new global::Gtk.Label (); + this.label7 = new global::Gtk.Label(); this.label7.Name = "label7"; this.label7.Xalign = 1F; - this.label7.LabelProp = global::Mono.Unix.Catalog.GetString ("_Foreground:"); + this.label7.LabelProp = global::Mono.Unix.Catalog.GetString("_Foreground:"); this.label7.UseUnderline = true; - this.table1.Add (this.label7); - global::Gtk.Table.TableChild w14 = ((global::Gtk.Table.TableChild)(this.table1 [this.label7])); + this.table1.Add(this.label7); + global::Gtk.Table.TableChild w14 = ((global::Gtk.Table.TableChild)(this.table1[this.label7])); w14.XOptions = ((global::Gtk.AttachOptions)(4)); w14.YOptions = ((global::Gtk.AttachOptions)(4)); - this.vbox4.Add (this.table1); - global::Gtk.Box.BoxChild w15 = ((global::Gtk.Box.BoxChild)(this.vbox4 [this.table1])); + this.vbox4.Add(this.table1); + global::Gtk.Box.BoxChild w15 = ((global::Gtk.Box.BoxChild)(this.vbox4[this.table1])); w15.Position = 0; w15.Expand = false; w15.Fill = false; // Container child vbox4.Gtk.Box+BoxChild - this.checkbuttonBold = new global::Gtk.CheckButton (); + this.checkbuttonBold = new global::Gtk.CheckButton(); this.checkbuttonBold.CanFocus = true; this.checkbuttonBold.Name = "checkbuttonBold"; - this.checkbuttonBold.Label = global::Mono.Unix.Catalog.GetString ("B_old"); + this.checkbuttonBold.Label = global::Mono.Unix.Catalog.GetString("B_old"); this.checkbuttonBold.DrawIndicator = true; this.checkbuttonBold.UseUnderline = true; - this.vbox4.Add (this.checkbuttonBold); - global::Gtk.Box.BoxChild w16 = ((global::Gtk.Box.BoxChild)(this.vbox4 [this.checkbuttonBold])); + this.vbox4.Add(this.checkbuttonBold); + global::Gtk.Box.BoxChild w16 = ((global::Gtk.Box.BoxChild)(this.vbox4[this.checkbuttonBold])); w16.Position = 1; w16.Expand = false; w16.Fill = false; // Container child vbox4.Gtk.Box+BoxChild - this.checkbuttonItalic = new global::Gtk.CheckButton (); + this.checkbuttonItalic = new global::Gtk.CheckButton(); this.checkbuttonItalic.CanFocus = true; this.checkbuttonItalic.Name = "checkbuttonItalic"; - this.checkbuttonItalic.Label = global::Mono.Unix.Catalog.GetString ("Italic"); + this.checkbuttonItalic.Label = global::Mono.Unix.Catalog.GetString("Italic"); this.checkbuttonItalic.DrawIndicator = true; this.checkbuttonItalic.UseUnderline = true; - this.vbox4.Add (this.checkbuttonItalic); - global::Gtk.Box.BoxChild w17 = ((global::Gtk.Box.BoxChild)(this.vbox4 [this.checkbuttonItalic])); + this.vbox4.Add(this.checkbuttonItalic); + global::Gtk.Box.BoxChild w17 = ((global::Gtk.Box.BoxChild)(this.vbox4[this.checkbuttonItalic])); w17.Position = 2; w17.Expand = false; w17.Fill = false; - this.notebookColorChooser.Add (this.vbox4); + this.notebookColorChooser.Add(this.vbox4); // Notebook tab - this.label4 = new global::Gtk.Label (); + this.label4 = new global::Gtk.Label(); this.label4.Name = "label4"; - this.label4.LabelProp = global::Mono.Unix.Catalog.GetString ("page1"); - this.notebookColorChooser.SetTabLabel (this.vbox4, this.label4); - this.label4.ShowAll (); + this.label4.LabelProp = global::Mono.Unix.Catalog.GetString("page1"); + this.notebookColorChooser.SetTabLabel(this.vbox4, this.label4); + this.label4.ShowAll(); // Container child notebookColorChooser.Gtk.Notebook+NotebookChild - this.vbox5 = new global::Gtk.VBox (); + this.vbox5 = new global::Gtk.VBox(); this.vbox5.Name = "vbox5"; this.vbox5.Spacing = 6; // Container child vbox5.Gtk.Box+BoxChild - this.table2 = new global::Gtk.Table (((uint)(3)), ((uint)(2)), false); + this.table2 = new global::Gtk.Table(((uint)(3)), ((uint)(2)), false); this.table2.Name = "table2"; this.table2.RowSpacing = ((uint)(6)); this.table2.ColumnSpacing = ((uint)(6)); // Container child table2.Gtk.Table+TableChild - this.colorbuttonBorder = new global::Gtk.ColorButton (); + this.colorbuttonBorder = new global::Gtk.ColorButton(); this.colorbuttonBorder.CanFocus = true; this.colorbuttonBorder.Events = ((global::Gdk.EventMask)(784)); this.colorbuttonBorder.Name = "colorbuttonBorder"; - this.table2.Add (this.colorbuttonBorder); - global::Gtk.Table.TableChild w19 = ((global::Gtk.Table.TableChild)(this.table2 [this.colorbuttonBorder])); + this.table2.Add(this.colorbuttonBorder); + global::Gtk.Table.TableChild w19 = ((global::Gtk.Table.TableChild)(this.table2[this.colorbuttonBorder])); w19.TopAttach = ((uint)(2)); w19.BottomAttach = ((uint)(3)); w19.LeftAttach = ((uint)(1)); @@ -259,23 +293,23 @@ namespace MonoDevelop.SourceEditor.OptionPanels w19.XOptions = ((global::Gtk.AttachOptions)(4)); w19.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table2.Gtk.Table+TableChild - this.colorbuttonPrimary = new global::Gtk.ColorButton (); + this.colorbuttonPrimary = new global::Gtk.ColorButton(); this.colorbuttonPrimary.CanFocus = true; this.colorbuttonPrimary.Events = ((global::Gdk.EventMask)(784)); this.colorbuttonPrimary.Name = "colorbuttonPrimary"; - this.table2.Add (this.colorbuttonPrimary); - global::Gtk.Table.TableChild w20 = ((global::Gtk.Table.TableChild)(this.table2 [this.colorbuttonPrimary])); + this.table2.Add(this.colorbuttonPrimary); + global::Gtk.Table.TableChild w20 = ((global::Gtk.Table.TableChild)(this.table2[this.colorbuttonPrimary])); w20.LeftAttach = ((uint)(1)); w20.RightAttach = ((uint)(2)); w20.XOptions = ((global::Gtk.AttachOptions)(4)); w20.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table2.Gtk.Table+TableChild - this.colorbuttonSecondary = new global::Gtk.ColorButton (); + this.colorbuttonSecondary = new global::Gtk.ColorButton(); this.colorbuttonSecondary.CanFocus = true; this.colorbuttonSecondary.Events = ((global::Gdk.EventMask)(784)); this.colorbuttonSecondary.Name = "colorbuttonSecondary"; - this.table2.Add (this.colorbuttonSecondary); - global::Gtk.Table.TableChild w21 = ((global::Gtk.Table.TableChild)(this.table2 [this.colorbuttonSecondary])); + this.table2.Add(this.colorbuttonSecondary); + global::Gtk.Table.TableChild w21 = ((global::Gtk.Table.TableChild)(this.table2[this.colorbuttonSecondary])); w21.TopAttach = ((uint)(1)); w21.BottomAttach = ((uint)(2)); w21.LeftAttach = ((uint)(1)); @@ -283,80 +317,80 @@ namespace MonoDevelop.SourceEditor.OptionPanels w21.XOptions = ((global::Gtk.AttachOptions)(4)); w21.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table2.Gtk.Table+TableChild - this.label10 = new global::Gtk.Label (); + this.label10 = new global::Gtk.Label(); this.label10.Name = "label10"; this.label10.Xalign = 1F; - this.label10.LabelProp = global::Mono.Unix.Catalog.GetString ("_Secondary Color:"); + this.label10.LabelProp = global::Mono.Unix.Catalog.GetString("_Secondary Color:"); this.label10.UseUnderline = true; - this.table2.Add (this.label10); - global::Gtk.Table.TableChild w22 = ((global::Gtk.Table.TableChild)(this.table2 [this.label10])); + this.table2.Add(this.label10); + global::Gtk.Table.TableChild w22 = ((global::Gtk.Table.TableChild)(this.table2[this.label10])); w22.TopAttach = ((uint)(1)); w22.BottomAttach = ((uint)(2)); w22.XOptions = ((global::Gtk.AttachOptions)(4)); w22.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table2.Gtk.Table+TableChild - this.label11 = new global::Gtk.Label (); + this.label11 = new global::Gtk.Label(); this.label11.Name = "label11"; this.label11.Xalign = 1F; - this.label11.LabelProp = global::Mono.Unix.Catalog.GetString ("_Border Color:"); + this.label11.LabelProp = global::Mono.Unix.Catalog.GetString("_Border Color:"); this.label11.UseUnderline = true; - this.table2.Add (this.label11); - global::Gtk.Table.TableChild w23 = ((global::Gtk.Table.TableChild)(this.table2 [this.label11])); + this.table2.Add(this.label11); + global::Gtk.Table.TableChild w23 = ((global::Gtk.Table.TableChild)(this.table2[this.label11])); w23.TopAttach = ((uint)(2)); w23.BottomAttach = ((uint)(3)); w23.XOptions = ((global::Gtk.AttachOptions)(4)); w23.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table2.Gtk.Table+TableChild - this.label9 = new global::Gtk.Label (); + this.label9 = new global::Gtk.Label(); this.label9.Name = "label9"; this.label9.Xalign = 1F; - this.label9.LabelProp = global::Mono.Unix.Catalog.GetString ("_Primary Color:"); + this.label9.LabelProp = global::Mono.Unix.Catalog.GetString("_Primary Color:"); this.label9.UseUnderline = true; - this.table2.Add (this.label9); - global::Gtk.Table.TableChild w24 = ((global::Gtk.Table.TableChild)(this.table2 [this.label9])); + this.table2.Add(this.label9); + global::Gtk.Table.TableChild w24 = ((global::Gtk.Table.TableChild)(this.table2[this.label9])); w24.XOptions = ((global::Gtk.AttachOptions)(4)); w24.YOptions = ((global::Gtk.AttachOptions)(4)); - this.vbox5.Add (this.table2); - global::Gtk.Box.BoxChild w25 = ((global::Gtk.Box.BoxChild)(this.vbox5 [this.table2])); + this.vbox5.Add(this.table2); + global::Gtk.Box.BoxChild w25 = ((global::Gtk.Box.BoxChild)(this.vbox5[this.table2])); w25.Position = 0; w25.Expand = false; w25.Fill = false; - this.notebookColorChooser.Add (this.vbox5); - global::Gtk.Notebook.NotebookChild w26 = ((global::Gtk.Notebook.NotebookChild)(this.notebookColorChooser [this.vbox5])); + this.notebookColorChooser.Add(this.vbox5); + global::Gtk.Notebook.NotebookChild w26 = ((global::Gtk.Notebook.NotebookChild)(this.notebookColorChooser[this.vbox5])); w26.Position = 1; // Notebook tab - this.label6 = new global::Gtk.Label (); + this.label6 = new global::Gtk.Label(); this.label6.Name = "label6"; - this.label6.LabelProp = global::Mono.Unix.Catalog.GetString ("page2"); - this.notebookColorChooser.SetTabLabel (this.vbox5, this.label6); - this.label6.ShowAll (); - this.vbox3.Add (this.notebookColorChooser); - global::Gtk.Box.BoxChild w27 = ((global::Gtk.Box.BoxChild)(this.vbox3 [this.notebookColorChooser])); + this.label6.LabelProp = global::Mono.Unix.Catalog.GetString("page2"); + this.notebookColorChooser.SetTabLabel(this.vbox5, this.label6); + this.label6.ShowAll(); + this.vbox3.Add(this.notebookColorChooser); + global::Gtk.Box.BoxChild w27 = ((global::Gtk.Box.BoxChild)(this.vbox3[this.notebookColorChooser])); w27.Position = 0; w27.Expand = false; w27.Fill = false; // Container child vbox3.Gtk.Box+BoxChild - this.label8 = new global::Gtk.Label (); + this.label8 = new global::Gtk.Label(); this.label8.Name = "label8"; this.label8.Xalign = 0F; - this.label8.LabelProp = global::Mono.Unix.Catalog.GetString ("_Preview:"); + this.label8.LabelProp = global::Mono.Unix.Catalog.GetString("_Preview:"); this.label8.UseUnderline = true; - this.vbox3.Add (this.label8); - global::Gtk.Box.BoxChild w28 = ((global::Gtk.Box.BoxChild)(this.vbox3 [this.label8])); + this.vbox3.Add(this.label8); + global::Gtk.Box.BoxChild w28 = ((global::Gtk.Box.BoxChild)(this.vbox3[this.label8])); w28.Position = 1; w28.Expand = false; w28.Fill = false; // Container child vbox3.Gtk.Box+BoxChild - this.scrolledwindowTextEditor = new global::Gtk.ScrolledWindow (); + this.scrolledwindowTextEditor = new global::Gtk.ScrolledWindow(); this.scrolledwindowTextEditor.CanFocus = true; this.scrolledwindowTextEditor.Name = "scrolledwindowTextEditor"; this.scrolledwindowTextEditor.ShadowType = ((global::Gtk.ShadowType)(1)); - this.vbox3.Add (this.scrolledwindowTextEditor); - global::Gtk.Box.BoxChild w29 = ((global::Gtk.Box.BoxChild)(this.vbox3 [this.scrolledwindowTextEditor])); + this.vbox3.Add(this.scrolledwindowTextEditor); + global::Gtk.Box.BoxChild w29 = ((global::Gtk.Box.BoxChild)(this.vbox3[this.scrolledwindowTextEditor])); w29.Position = 2; - this.hpaned1.Add (this.vbox3); - w1.Add (this.hpaned1); - global::Gtk.Box.BoxChild w31 = ((global::Gtk.Box.BoxChild)(w1 [this.hpaned1])); + this.hpaned1.Add(this.vbox3); + w1.Add(this.hpaned1); + global::Gtk.Box.BoxChild w31 = ((global::Gtk.Box.BoxChild)(w1[this.hpaned1])); w31.Position = 1; // Internal child MonoDevelop.SourceEditor.OptionPanels.ColorShemeEditor.ActionArea global::Gtk.HButtonBox w32 = this.ActionArea; @@ -365,38 +399,39 @@ namespace MonoDevelop.SourceEditor.OptionPanels w32.BorderWidth = ((uint)(5)); w32.LayoutStyle = ((global::Gtk.ButtonBoxStyle)(4)); // Container child dialog1_ActionArea.Gtk.ButtonBox+ButtonBoxChild - this.buttonCancel = new global::Gtk.Button (); + this.buttonCancel = new global::Gtk.Button(); this.buttonCancel.CanDefault = true; this.buttonCancel.CanFocus = true; this.buttonCancel.Name = "buttonCancel"; this.buttonCancel.UseStock = true; this.buttonCancel.UseUnderline = true; this.buttonCancel.Label = "gtk-cancel"; - this.AddActionWidget (this.buttonCancel, -6); - global::Gtk.ButtonBox.ButtonBoxChild w33 = ((global::Gtk.ButtonBox.ButtonBoxChild)(w32 [this.buttonCancel])); + this.AddActionWidget(this.buttonCancel, -6); + global::Gtk.ButtonBox.ButtonBoxChild w33 = ((global::Gtk.ButtonBox.ButtonBoxChild)(w32[this.buttonCancel])); w33.Expand = false; w33.Fill = false; // Container child dialog1_ActionArea.Gtk.ButtonBox+ButtonBoxChild - this.buttonOk = new global::Gtk.Button (); + this.buttonOk = new global::Gtk.Button(); this.buttonOk.CanDefault = true; this.buttonOk.CanFocus = true; this.buttonOk.Name = "buttonOk"; this.buttonOk.UseStock = true; this.buttonOk.UseUnderline = true; this.buttonOk.Label = "gtk-ok"; - this.AddActionWidget (this.buttonOk, -5); - global::Gtk.ButtonBox.ButtonBoxChild w34 = ((global::Gtk.ButtonBox.ButtonBoxChild)(w32 [this.buttonOk])); + this.AddActionWidget(this.buttonOk, -5); + global::Gtk.ButtonBox.ButtonBoxChild w34 = ((global::Gtk.ButtonBox.ButtonBoxChild)(w32[this.buttonOk])); w34.Position = 1; w34.Expand = false; w34.Fill = false; - if ((this.Child != null)) { - this.Child.ShowAll (); + if ((this.Child != null)) + { + this.Child.ShowAll(); } this.DefaultWidth = 760; this.DefaultHeight = 458; this.label2.MnemonicWidget = this.entryName; this.label3.MnemonicWidget = this.entryDescription; - this.Show (); + this.Show(); } } } |