diff options
author | Mike Krüger <mkrueger@novell.com> | 2009-03-13 15:41:48 +0300 |
---|---|---|
committer | Mike Krüger <mkrueger@novell.com> | 2009-03-13 15:41:48 +0300 |
commit | 10760cdf22e64155ab8d844155b159728ce21e03 (patch) | |
tree | 93276c9cc0d9fe3f52c9605b10f0c5de1d722239 /main/src/core/MonoDevelop.Ide/gtk-gui/MonoDevelop.Ide.CodeFormatting.CodeFormattingPolicyPanelWidget.cs | |
parent | 48f335b094a6428adc2dd7df3be1bba4bbb7bc04 (diff) |
* gtk-gui/gui.stetic:
* gtk-gui/MonoDevelop.Ide.DocumentSwitcher.cs:
* gtk-gui/MonoDevelop.Ide.SelectEncodingsDialog.cs:
* gtk-gui/MonoDevelop.Ide.Gui.Dialogs.NewFileDialog.cs:
* gtk-gui/MonoDevelop.Ide.Gui.Dialogs.TipOfTheDayWindow.cs:
* gtk-gui/MonoDevelop.Ide.Gui.Dialogs.ExportProjectDialog.cs:
* MonoDevelop.Ide.CodeFormatting/CodeFormattingPolicyPanel.cs:
* gtk-gui/MonoDevelop.Ide.Gui.OptionPanels.KeyBindingsPanel.cs:
* gtk-gui/MonoDevelop.Ide.Gui.OptionPanels.AddInsPanelWidget.cs:
* gtk-gui/MonoDevelop.Ide.Gui.Dialogs.EncapsulateFieldDialog.cs:
* gtk-gui/MonoDevelop.Ide.CodeFormatting.CodeFormattingPolicyPanelWidget.cs:
Worked on code format panel.
svn path=/trunk/monodevelop/; revision=129272
Diffstat (limited to 'main/src/core/MonoDevelop.Ide/gtk-gui/MonoDevelop.Ide.CodeFormatting.CodeFormattingPolicyPanelWidget.cs')
-rw-r--r-- | main/src/core/MonoDevelop.Ide/gtk-gui/MonoDevelop.Ide.CodeFormatting.CodeFormattingPolicyPanelWidget.cs | 111 |
1 files changed, 70 insertions, 41 deletions
diff --git a/main/src/core/MonoDevelop.Ide/gtk-gui/MonoDevelop.Ide.CodeFormatting.CodeFormattingPolicyPanelWidget.cs b/main/src/core/MonoDevelop.Ide/gtk-gui/MonoDevelop.Ide.CodeFormatting.CodeFormattingPolicyPanelWidget.cs index c9aa882b27..acfde52b0f 100644 --- a/main/src/core/MonoDevelop.Ide/gtk-gui/MonoDevelop.Ide.CodeFormatting.CodeFormattingPolicyPanelWidget.cs +++ b/main/src/core/MonoDevelop.Ide/gtk-gui/MonoDevelop.Ide.CodeFormatting.CodeFormattingPolicyPanelWidget.cs @@ -19,6 +19,12 @@ namespace MonoDevelop.Ide.CodeFormatting { private Gtk.Label label; + private Gtk.ScrolledWindow GtkScrolledWindow; + + private Gtk.TreeView treeviewUsedProfiles; + + private Gtk.Label label1; + private Gtk.HBox hbox3; private Gtk.ComboBox comboboxFormattingPolicies; @@ -58,18 +64,41 @@ namespace MonoDevelop.Ide.CodeFormatting { this.label.Name = "label"; this.label.Xalign = 0F; this.label.Yalign = 0F; - this.label.LabelProp = "Active profile:"; + this.label.LabelProp = "Used profiles:"; this.label.Wrap = true; this.vbox2.Add(this.label); Gtk.Box.BoxChild w1 = ((Gtk.Box.BoxChild)(this.vbox2[this.label])); w1.Position = 0; w1.Expand = false; w1.Fill = false; + // Container child vbox2.Gtk.Box+BoxChild + this.GtkScrolledWindow = new Gtk.ScrolledWindow(); + this.GtkScrolledWindow.Name = "GtkScrolledWindow"; + this.GtkScrolledWindow.ShadowType = ((Gtk.ShadowType)(1)); + // Container child GtkScrolledWindow.Gtk.Container+ContainerChild + this.treeviewUsedProfiles = new Gtk.TreeView(); + this.treeviewUsedProfiles.CanFocus = true; + this.treeviewUsedProfiles.Name = "treeviewUsedProfiles"; + this.GtkScrolledWindow.Add(this.treeviewUsedProfiles); + this.vbox2.Add(this.GtkScrolledWindow); + Gtk.Box.BoxChild w3 = ((Gtk.Box.BoxChild)(this.vbox2[this.GtkScrolledWindow])); + w3.Position = 1; + // Container child vbox2.Gtk.Box+BoxChild + this.label1 = new Gtk.Label(); + this.label1.WidthRequest = 580; + this.label1.Name = "label1"; + this.label1.Xalign = 0F; + this.label1.Yalign = 0F; + this.label1.LabelProp = "Active profile:"; + this.label1.Wrap = true; + this.vbox2.Add(this.label1); + Gtk.Box.BoxChild w4 = ((Gtk.Box.BoxChild)(this.vbox2[this.label1])); + w4.Position = 2; + w4.Expand = false; + w4.Fill = false; this.vbox1.Add(this.vbox2); - Gtk.Box.BoxChild w2 = ((Gtk.Box.BoxChild)(this.vbox1[this.vbox2])); - w2.Position = 0; - w2.Expand = false; - w2.Fill = false; + Gtk.Box.BoxChild w5 = ((Gtk.Box.BoxChild)(this.vbox1[this.vbox2])); + w5.Position = 0; // Container child vbox1.Gtk.Box+BoxChild this.hbox3 = new Gtk.HBox(); this.hbox3.Name = "hbox3"; @@ -78,8 +107,8 @@ namespace MonoDevelop.Ide.CodeFormatting { this.comboboxFormattingPolicies = Gtk.ComboBox.NewText(); this.comboboxFormattingPolicies.Name = "comboboxFormattingPolicies"; this.hbox3.Add(this.comboboxFormattingPolicies); - Gtk.Box.BoxChild w3 = ((Gtk.Box.BoxChild)(this.hbox3[this.comboboxFormattingPolicies])); - w3.Position = 0; + Gtk.Box.BoxChild w6 = ((Gtk.Box.BoxChild)(this.hbox3[this.comboboxFormattingPolicies])); + w6.Position = 0; // Container child hbox3.Gtk.Box+BoxChild this.table1 = new Gtk.Table(((uint)(1)), ((uint)(2)), true); this.table1.Name = "table1"; @@ -92,9 +121,9 @@ namespace MonoDevelop.Ide.CodeFormatting { this.buttonEdit.UseUnderline = true; this.buttonEdit.Label = Mono.Unix.Catalog.GetString("_Edit..."); this.table1.Add(this.buttonEdit); - Gtk.Table.TableChild w4 = ((Gtk.Table.TableChild)(this.table1[this.buttonEdit])); - w4.XOptions = ((Gtk.AttachOptions)(4)); - w4.YOptions = ((Gtk.AttachOptions)(4)); + Gtk.Table.TableChild w7 = ((Gtk.Table.TableChild)(this.table1[this.buttonEdit])); + w7.XOptions = ((Gtk.AttachOptions)(4)); + w7.YOptions = ((Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.buttonRemove = new Gtk.Button(); this.buttonRemove.CanFocus = true; @@ -103,20 +132,20 @@ namespace MonoDevelop.Ide.CodeFormatting { this.buttonRemove.UseUnderline = true; this.buttonRemove.Label = "gtk-remove"; this.table1.Add(this.buttonRemove); - Gtk.Table.TableChild w5 = ((Gtk.Table.TableChild)(this.table1[this.buttonRemove])); - w5.LeftAttach = ((uint)(1)); - w5.RightAttach = ((uint)(2)); - w5.XOptions = ((Gtk.AttachOptions)(4)); - w5.YOptions = ((Gtk.AttachOptions)(4)); + Gtk.Table.TableChild w8 = ((Gtk.Table.TableChild)(this.table1[this.buttonRemove])); + w8.LeftAttach = ((uint)(1)); + w8.RightAttach = ((uint)(2)); + w8.XOptions = ((Gtk.AttachOptions)(4)); + w8.YOptions = ((Gtk.AttachOptions)(4)); this.hbox3.Add(this.table1); - Gtk.Box.BoxChild w6 = ((Gtk.Box.BoxChild)(this.hbox3[this.table1])); - w6.Position = 1; - w6.Expand = false; + Gtk.Box.BoxChild w9 = ((Gtk.Box.BoxChild)(this.hbox3[this.table1])); + w9.Position = 1; + w9.Expand = false; this.vbox1.Add(this.hbox3); - Gtk.Box.BoxChild w7 = ((Gtk.Box.BoxChild)(this.vbox1[this.hbox3])); - w7.Position = 1; - w7.Expand = false; - w7.Fill = false; + Gtk.Box.BoxChild w10 = ((Gtk.Box.BoxChild)(this.vbox1[this.hbox3])); + w10.Position = 1; + w10.Expand = false; + w10.Fill = false; // Container child vbox1.Gtk.Box+BoxChild this.table2 = new Gtk.Table(((uint)(1)), ((uint)(2)), true); this.table2.Name = "table2"; @@ -130,9 +159,9 @@ namespace MonoDevelop.Ide.CodeFormatting { this.buttonAdd.UseUnderline = true; this.buttonAdd.Label = "gtk-add"; this.table2.Add(this.buttonAdd); - Gtk.Table.TableChild w8 = ((Gtk.Table.TableChild)(this.table2[this.buttonAdd])); - w8.XOptions = ((Gtk.AttachOptions)(4)); - w8.YOptions = ((Gtk.AttachOptions)(4)); + Gtk.Table.TableChild w11 = ((Gtk.Table.TableChild)(this.table2[this.buttonAdd])); + w11.XOptions = ((Gtk.AttachOptions)(4)); + w11.YOptions = ((Gtk.AttachOptions)(4)); // Container child table2.Gtk.Table+TableChild this.buttonImport = new Gtk.Button(); this.buttonImport.CanFocus = true; @@ -140,16 +169,16 @@ namespace MonoDevelop.Ide.CodeFormatting { this.buttonImport.UseUnderline = true; this.buttonImport.Label = Mono.Unix.Catalog.GetString("_Import..."); this.table2.Add(this.buttonImport); - Gtk.Table.TableChild w9 = ((Gtk.Table.TableChild)(this.table2[this.buttonImport])); - w9.LeftAttach = ((uint)(1)); - w9.RightAttach = ((uint)(2)); - w9.XOptions = ((Gtk.AttachOptions)(4)); - w9.YOptions = ((Gtk.AttachOptions)(4)); + Gtk.Table.TableChild w12 = ((Gtk.Table.TableChild)(this.table2[this.buttonImport])); + w12.LeftAttach = ((uint)(1)); + w12.RightAttach = ((uint)(2)); + w12.XOptions = ((Gtk.AttachOptions)(4)); + w12.YOptions = ((Gtk.AttachOptions)(4)); this.vbox1.Add(this.table2); - Gtk.Box.BoxChild w10 = ((Gtk.Box.BoxChild)(this.vbox1[this.table2])); - w10.Position = 2; - w10.Expand = false; - w10.Fill = false; + Gtk.Box.BoxChild w13 = ((Gtk.Box.BoxChild)(this.vbox1[this.table2])); + w13.Position = 2; + w13.Expand = false; + w13.Fill = false; // Container child vbox1.Gtk.Box+BoxChild this.lbl_will_save_in1 = new Gtk.Label(); this.lbl_will_save_in1.WidthRequest = 580; @@ -159,19 +188,19 @@ namespace MonoDevelop.Ide.CodeFormatting { this.lbl_will_save_in1.LabelProp = "Preview:"; this.lbl_will_save_in1.Wrap = true; this.vbox1.Add(this.lbl_will_save_in1); - Gtk.Box.BoxChild w11 = ((Gtk.Box.BoxChild)(this.vbox1[this.lbl_will_save_in1])); - w11.Position = 3; - w11.Expand = false; - w11.Fill = false; + Gtk.Box.BoxChild w14 = ((Gtk.Box.BoxChild)(this.vbox1[this.lbl_will_save_in1])); + w14.Position = 3; + w14.Expand = false; + w14.Fill = false; // Container child vbox1.Gtk.Box+BoxChild this.scrolledwindow1 = new Gtk.ScrolledWindow(); this.scrolledwindow1.CanFocus = true; this.scrolledwindow1.Name = "scrolledwindow1"; this.scrolledwindow1.ShadowType = ((Gtk.ShadowType)(1)); this.vbox1.Add(this.scrolledwindow1); - Gtk.Box.BoxChild w12 = ((Gtk.Box.BoxChild)(this.vbox1[this.scrolledwindow1])); - w12.Position = 4; - w12.Padding = ((uint)(6)); + Gtk.Box.BoxChild w15 = ((Gtk.Box.BoxChild)(this.vbox1[this.scrolledwindow1])); + w15.Position = 4; + w15.Padding = ((uint)(6)); this.Add(this.vbox1); if ((this.Child != null)) { this.Child.ShowAll(); |