diff options
author | Michael Hutchinson <m.j.hutchinson@gmail.com> | 2013-08-12 09:24:47 +0400 |
---|---|---|
committer | Michael Hutchinson <m.j.hutchinson@gmail.com> | 2013-08-12 19:57:27 +0400 |
commit | bf7965392d264094dfbe0178b2e536c357b59290 (patch) | |
tree | 1c78b02db3ce27d59a96102d45ff6c7beab39af3 /main/src/core/MonoDevelop.Ide/gtk-gui | |
parent | 1db8e4676941210b5bf7c68e01f70e1b85cd2a41 (diff) |
Flush more stetic button-with-image generation fixes
Diffstat (limited to 'main/src/core/MonoDevelop.Ide/gtk-gui')
7 files changed, 151 insertions, 239 deletions
diff --git a/main/src/core/MonoDevelop.Ide/gtk-gui/MonoDevelop.Ide.Execution.MonoExecutionParametersWidget.cs b/main/src/core/MonoDevelop.Ide/gtk-gui/MonoDevelop.Ide.Execution.MonoExecutionParametersWidget.cs index cf85076dcc..9d8eaea9db 100644 --- a/main/src/core/MonoDevelop.Ide/gtk-gui/MonoDevelop.Ide.Execution.MonoExecutionParametersWidget.cs +++ b/main/src/core/MonoDevelop.Ide/gtk-gui/MonoDevelop.Ide.Execution.MonoExecutionParametersWidget.cs @@ -38,27 +38,15 @@ namespace MonoDevelop.Ide.Execution this.buttonReset.CanFocus = true; this.buttonReset.Name = "buttonReset"; this.buttonReset.UseUnderline = true; - // Container child buttonReset.Gtk.Container+ContainerChild - global::Gtk.Alignment w2 = new global::Gtk.Alignment (0.5F, 0.5F, 0F, 0F); - // Container child GtkAlignment.Gtk.Container+ContainerChild - global::Gtk.HBox w3 = new global::Gtk.HBox (); - w3.Spacing = 2; - // Container child GtkHBox.Gtk.Container+ContainerChild - global::Gtk.Image w4 = new global::Gtk.Image (); - w4.Pixbuf = global::Stetic.IconLoader.LoadIcon (this, "gtk-clear", global::Gtk.IconSize.Menu); - w3.Add (w4); - // Container child GtkHBox.Gtk.Container+ContainerChild - global::Gtk.Label w6 = new global::Gtk.Label (); - w6.LabelProp = global::Mono.Unix.Catalog.GetString ("Clear All Options"); - w6.UseUnderline = true; - w3.Add (w6); - w2.Add (w3); - this.buttonReset.Add (w2); + this.buttonReset.Label = global::Mono.Unix.Catalog.GetString ("Clear All Options"); + global::Gtk.Image w2 = new global::Gtk.Image (); + w2.Pixbuf = global::Stetic.IconLoader.LoadIcon (this, "gtk-clear", global::Gtk.IconSize.Menu); + this.buttonReset.Image = w2; this.vbox4.Add (this.buttonReset); - global::Gtk.Box.BoxChild w10 = ((global::Gtk.Box.BoxChild)(this.vbox4 [this.buttonReset])); - w10.Position = 0; - w10.Expand = false; - w10.Fill = false; + global::Gtk.Box.BoxChild w3 = ((global::Gtk.Box.BoxChild)(this.vbox4 [this.buttonReset])); + w3.Position = 0; + w3.Expand = false; + w3.Fill = false; // Container child vbox4.Gtk.Box+BoxChild this.buttonPreview = new global::Gtk.Button (); this.buttonPreview.CanFocus = true; @@ -66,15 +54,15 @@ namespace MonoDevelop.Ide.Execution this.buttonPreview.UseUnderline = true; this.buttonPreview.Label = global::Mono.Unix.Catalog.GetString ("Preview Options"); this.vbox4.Add (this.buttonPreview); - global::Gtk.Box.BoxChild w11 = ((global::Gtk.Box.BoxChild)(this.vbox4 [this.buttonPreview])); - w11.Position = 1; - w11.Expand = false; - w11.Fill = false; + global::Gtk.Box.BoxChild w4 = ((global::Gtk.Box.BoxChild)(this.vbox4 [this.buttonPreview])); + w4.Position = 1; + w4.Expand = false; + w4.Fill = false; this.hbox1.Add (this.vbox4); - global::Gtk.Box.BoxChild w12 = ((global::Gtk.Box.BoxChild)(this.hbox1 [this.vbox4])); - w12.Position = 1; - w12.Expand = false; - w12.Fill = false; + global::Gtk.Box.BoxChild w5 = ((global::Gtk.Box.BoxChild)(this.hbox1 [this.vbox4])); + w5.Position = 1; + w5.Expand = false; + w5.Fill = false; this.Add (this.hbox1); if ((this.Child != null)) { this.Child.ShowAll (); diff --git a/main/src/core/MonoDevelop.Ide/gtk-gui/MonoDevelop.Ide.Gui.Dialogs.NewLayoutDialog.cs b/main/src/core/MonoDevelop.Ide/gtk-gui/MonoDevelop.Ide.Gui.Dialogs.NewLayoutDialog.cs index b4650911de..f4fdbc339a 100644 --- a/main/src/core/MonoDevelop.Ide/gtk-gui/MonoDevelop.Ide.Gui.Dialogs.NewLayoutDialog.cs +++ b/main/src/core/MonoDevelop.Ide/gtk-gui/MonoDevelop.Ide.Gui.Dialogs.NewLayoutDialog.cs @@ -103,27 +103,15 @@ namespace MonoDevelop.Ide.Gui.Dialogs this.newButton.CanFocus = true; this.newButton.Name = "newButton"; this.newButton.UseUnderline = true; - // Container child newButton.Gtk.Container+ContainerChild - global::Gtk.Alignment w10 = 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; - // Container child GtkHBox.Gtk.Container+ContainerChild - global::Gtk.Image w12 = new global::Gtk.Image (); - w12.Pixbuf = global::Stetic.IconLoader.LoadIcon (this, "gtk-new", global::Gtk.IconSize.Menu); - w11.Add (w12); - // Container child GtkHBox.Gtk.Container+ContainerChild - global::Gtk.Label w14 = new global::Gtk.Label (); - w14.LabelProp = global::Mono.Unix.Catalog.GetString ("Create _Layout"); - w14.UseUnderline = true; - w11.Add (w14); - w10.Add (w11); - this.newButton.Add (w10); + this.newButton.Label = global::Mono.Unix.Catalog.GetString ("Create _Layout"); + global::Gtk.Image w10 = new global::Gtk.Image (); + w10.Pixbuf = global::Stetic.IconLoader.LoadIcon (this, "gtk-new", global::Gtk.IconSize.Menu); + this.newButton.Image = w10; this.AddActionWidget (this.newButton, -5); - global::Gtk.ButtonBox.ButtonBoxChild w18 = ((global::Gtk.ButtonBox.ButtonBoxChild)(w8 [this.newButton])); - w18.Position = 1; - w18.Expand = false; - w18.Fill = false; + global::Gtk.ButtonBox.ButtonBoxChild w11 = ((global::Gtk.ButtonBox.ButtonBoxChild)(w8 [this.newButton])); + w11.Position = 1; + w11.Expand = false; + w11.Fill = false; if ((this.Child != null)) { this.Child.ShowAll (); } diff --git a/main/src/core/MonoDevelop.Ide/gtk-gui/MonoDevelop.Ide.Gui.Dialogs.TipOfTheDayWindow.cs b/main/src/core/MonoDevelop.Ide/gtk-gui/MonoDevelop.Ide.Gui.Dialogs.TipOfTheDayWindow.cs index fd4b331896..dc7193ad18 100644 --- a/main/src/core/MonoDevelop.Ide/gtk-gui/MonoDevelop.Ide.Gui.Dialogs.TipOfTheDayWindow.cs +++ b/main/src/core/MonoDevelop.Ide/gtk-gui/MonoDevelop.Ide.Gui.Dialogs.TipOfTheDayWindow.cs @@ -106,26 +106,14 @@ namespace MonoDevelop.Ide.Gui.Dialogs this.nextButton = new global::Gtk.Button (); this.nextButton.Name = "nextButton"; this.nextButton.UseUnderline = true; - // Container child nextButton.Gtk.Container+ContainerChild - global::Gtk.Alignment w8 = new global::Gtk.Alignment (0.5F, 0.5F, 0F, 0F); - // Container child GtkAlignment.Gtk.Container+ContainerChild - global::Gtk.HBox w9 = new global::Gtk.HBox (); - w9.Spacing = 2; - // Container child GtkHBox.Gtk.Container+ContainerChild - global::Gtk.Image w10 = new global::Gtk.Image (); - w10.Pixbuf = global::Stetic.IconLoader.LoadIcon (this, "gtk-go-forward", global::Gtk.IconSize.Button); - w9.Add (w10); - // Container child GtkHBox.Gtk.Container+ContainerChild - global::Gtk.Label w12 = new global::Gtk.Label (); - w12.LabelProp = global::Mono.Unix.Catalog.GetString ("_Next Tip"); - w12.UseUnderline = true; - w9.Add (w12); - w8.Add (w9); - this.nextButton.Add (w8); + this.nextButton.Label = global::Mono.Unix.Catalog.GetString ("_Next Tip"); + global::Gtk.Image w8 = new global::Gtk.Image (); + w8.Pixbuf = global::Stetic.IconLoader.LoadIcon (this, "gtk-go-forward", global::Gtk.IconSize.Button); + this.nextButton.Image = w8; this.hbuttonbox1.Add (this.nextButton); - global::Gtk.ButtonBox.ButtonBoxChild w16 = ((global::Gtk.ButtonBox.ButtonBoxChild)(this.hbuttonbox1 [this.nextButton])); - w16.Expand = false; - w16.Fill = false; + global::Gtk.ButtonBox.ButtonBoxChild w9 = ((global::Gtk.ButtonBox.ButtonBoxChild)(this.hbuttonbox1 [this.nextButton])); + w9.Expand = false; + w9.Fill = false; // Container child hbuttonbox1.Gtk.ButtonBox+ButtonBoxChild this.closeButton = new global::Gtk.Button (); this.closeButton.CanDefault = true; @@ -134,17 +122,17 @@ namespace MonoDevelop.Ide.Gui.Dialogs this.closeButton.UseUnderline = true; this.closeButton.Label = "gtk-close"; this.hbuttonbox1.Add (this.closeButton); - global::Gtk.ButtonBox.ButtonBoxChild w17 = ((global::Gtk.ButtonBox.ButtonBoxChild)(this.hbuttonbox1 [this.closeButton])); - w17.Position = 1; - w17.Expand = false; - w17.Fill = false; + global::Gtk.ButtonBox.ButtonBoxChild w10 = ((global::Gtk.ButtonBox.ButtonBoxChild)(this.hbuttonbox1 [this.closeButton])); + w10.Position = 1; + w10.Expand = false; + w10.Fill = false; this.hbox5.Add (this.hbuttonbox1); - global::Gtk.Box.BoxChild w18 = ((global::Gtk.Box.BoxChild)(this.hbox5 [this.hbuttonbox1])); - w18.Position = 1; + global::Gtk.Box.BoxChild w11 = ((global::Gtk.Box.BoxChild)(this.hbox5 [this.hbuttonbox1])); + w11.Position = 1; this.vbox2.Add (this.hbox5); - global::Gtk.Box.BoxChild w19 = ((global::Gtk.Box.BoxChild)(this.vbox2 [this.hbox5])); - w19.Position = 1; - w19.Expand = false; + global::Gtk.Box.BoxChild w12 = ((global::Gtk.Box.BoxChild)(this.vbox2 [this.hbox5])); + w12.Position = 1; + w12.Expand = false; this.Add (this.vbox2); if ((this.Child != null)) { this.Child.ShowAll (); diff --git a/main/src/core/MonoDevelop.Ide/gtk-gui/MonoDevelop.Ide.Gui.OptionPanels.KeyBindingsPanel.cs b/main/src/core/MonoDevelop.Ide/gtk-gui/MonoDevelop.Ide.Gui.OptionPanels.KeyBindingsPanel.cs index 5cfdb51f6d..83b1385aab 100644 --- a/main/src/core/MonoDevelop.Ide/gtk-gui/MonoDevelop.Ide.Gui.OptionPanels.KeyBindingsPanel.cs +++ b/main/src/core/MonoDevelop.Ide/gtk-gui/MonoDevelop.Ide.Gui.OptionPanels.KeyBindingsPanel.cs @@ -224,32 +224,20 @@ namespace MonoDevelop.Ide.Gui.OptionPanels this.updateButton.CanFocus = true; this.updateButton.Name = "updateButton"; this.updateButton.UseUnderline = true; - // Container child updateButton.Gtk.Container+ContainerChild - global::Gtk.Alignment w22 = new global::Gtk.Alignment (0.5F, 0.5F, 0F, 0F); - // Container child GtkAlignment.Gtk.Container+ContainerChild - global::Gtk.HBox w23 = new global::Gtk.HBox (); - w23.Spacing = 2; - // Container child GtkHBox.Gtk.Container+ContainerChild - global::Gtk.Image w24 = new global::Gtk.Image (); - w24.Pixbuf = global::Stetic.IconLoader.LoadIcon (this, "gtk-apply", global::Gtk.IconSize.Button); - w23.Add (w24); - // Container child GtkHBox.Gtk.Container+ContainerChild - global::Gtk.Label w26 = new global::Gtk.Label (); - w26.LabelProp = global::Mono.Unix.Catalog.GetString ("Apply"); - w26.UseUnderline = true; - w23.Add (w26); - w22.Add (w23); - this.updateButton.Add (w22); + this.updateButton.Label = global::Mono.Unix.Catalog.GetString ("Apply"); + global::Gtk.Image w22 = new global::Gtk.Image (); + w22.Pixbuf = global::Stetic.IconLoader.LoadIcon (this, "gtk-apply", global::Gtk.IconSize.Button); + this.updateButton.Image = w22; this.hbox.Add (this.updateButton); - global::Gtk.Box.BoxChild w30 = ((global::Gtk.Box.BoxChild)(this.hbox [this.updateButton])); - w30.Position = 2; - w30.Expand = false; - w30.Fill = false; + global::Gtk.Box.BoxChild w23 = ((global::Gtk.Box.BoxChild)(this.hbox [this.updateButton])); + w23.Position = 2; + w23.Expand = false; + w23.Fill = false; this.vbox.Add (this.hbox); - global::Gtk.Box.BoxChild w31 = ((global::Gtk.Box.BoxChild)(this.vbox [this.hbox])); - w31.Position = 6; - w31.Expand = false; - w31.Fill = false; + global::Gtk.Box.BoxChild w24 = ((global::Gtk.Box.BoxChild)(this.vbox [this.hbox])); + w24.Position = 6; + w24.Expand = false; + w24.Fill = false; this.Add (this.vbox); if ((this.Child != null)) { this.Child.ShowAll (); diff --git a/main/src/core/MonoDevelop.Ide/gtk-gui/MonoDevelop.Ide.ProgressMonitoring.ProgressBarMonitor.cs b/main/src/core/MonoDevelop.Ide/gtk-gui/MonoDevelop.Ide.ProgressMonitoring.ProgressBarMonitor.cs index 486c712222..dae4d14160 100644 --- a/main/src/core/MonoDevelop.Ide/gtk-gui/MonoDevelop.Ide.ProgressMonitoring.ProgressBarMonitor.cs +++ b/main/src/core/MonoDevelop.Ide/gtk-gui/MonoDevelop.Ide.ProgressMonitoring.ProgressBarMonitor.cs @@ -30,25 +30,15 @@ namespace MonoDevelop.Ide.ProgressMonitoring this.buttonCancel.Name = "buttonCancel"; this.buttonCancel.UseUnderline = true; this.buttonCancel.Relief = ((global::Gtk.ReliefStyle)(2)); - // Container child buttonCancel.Gtk.Container+ContainerChild - global::Gtk.Alignment w2 = new global::Gtk.Alignment (0.5F, 0.5F, 0F, 0F); - // Container child GtkAlignment.Gtk.Container+ContainerChild - global::Gtk.HBox w3 = new global::Gtk.HBox (); - w3.Spacing = 2; - // Container child GtkHBox.Gtk.Container+ContainerChild - global::Gtk.Image w4 = new global::Gtk.Image (); - w4.Pixbuf = global::Stetic.IconLoader.LoadIcon (this, "gtk-cancel", global::Gtk.IconSize.Menu); - w3.Add (w4); - // Container child GtkHBox.Gtk.Container+ContainerChild - global::Gtk.Label w6 = new global::Gtk.Label (); - w3.Add (w6); - w2.Add (w3); - this.buttonCancel.Add (w2); + this.buttonCancel.Label = ""; + global::Gtk.Image w2 = new global::Gtk.Image (); + w2.Pixbuf = global::Stetic.IconLoader.LoadIcon (this, "gtk-cancel", global::Gtk.IconSize.Menu); + this.buttonCancel.Image = w2; this.hbox1.Add (this.buttonCancel); - global::Gtk.Box.BoxChild w10 = ((global::Gtk.Box.BoxChild)(this.hbox1 [this.buttonCancel])); - w10.Position = 1; - w10.Expand = false; - w10.Fill = false; + global::Gtk.Box.BoxChild w3 = ((global::Gtk.Box.BoxChild)(this.hbox1 [this.buttonCancel])); + w3.Position = 1; + w3.Expand = false; + w3.Fill = false; this.Add (this.hbox1); if ((this.Child != null)) { this.Child.ShowAll (); diff --git a/main/src/core/MonoDevelop.Ide/gtk-gui/MonoDevelop.Ide.Projects.ProjectFileSelectorDialog.cs b/main/src/core/MonoDevelop.Ide/gtk-gui/MonoDevelop.Ide.Projects.ProjectFileSelectorDialog.cs index c2adb690d3..2b8d39186d 100644 --- a/main/src/core/MonoDevelop.Ide/gtk-gui/MonoDevelop.Ide.Projects.ProjectFileSelectorDialog.cs +++ b/main/src/core/MonoDevelop.Ide/gtk-gui/MonoDevelop.Ide.Projects.ProjectFileSelectorDialog.cs @@ -82,25 +82,15 @@ namespace MonoDevelop.Ide.Projects this.AddFileButton.Name = "AddFileButton"; this.AddFileButton.UseUnderline = true; this.AddFileButton.Relief = ((global::Gtk.ReliefStyle)(2)); - // Container child AddFileButton.Gtk.Container+ContainerChild - global::Gtk.Alignment w7 = new global::Gtk.Alignment (0.5F, 0.5F, 0F, 0F); - // Container child GtkAlignment.Gtk.Container+ContainerChild - global::Gtk.HBox w8 = new global::Gtk.HBox (); - w8.Spacing = 2; - // Container child GtkHBox.Gtk.Container+ContainerChild - global::Gtk.Image w9 = new global::Gtk.Image (); - w9.Pixbuf = global::Stetic.IconLoader.LoadIcon (this, "gtk-add", global::Gtk.IconSize.Menu); - w8.Add (w9); - // Container child GtkHBox.Gtk.Container+ContainerChild - global::Gtk.Label w11 = new global::Gtk.Label (); - w8.Add (w11); - w7.Add (w8); - this.AddFileButton.Add (w7); + this.AddFileButton.Label = ""; + global::Gtk.Image w7 = new global::Gtk.Image (); + w7.Pixbuf = global::Stetic.IconLoader.LoadIcon (this, "gtk-add", global::Gtk.IconSize.Menu); + this.AddFileButton.Image = w7; this.hbox2.Add (this.AddFileButton); - global::Gtk.Box.BoxChild w15 = ((global::Gtk.Box.BoxChild)(this.hbox2 [this.AddFileButton])); - w15.Position = 0; - w15.Expand = false; - w15.Fill = false; + global::Gtk.Box.BoxChild w8 = ((global::Gtk.Box.BoxChild)(this.hbox2 [this.AddFileButton])); + w8.Position = 0; + w8.Expand = false; + w8.Fill = false; // Container child hbox2.Gtk.Box+BoxChild this.typeBox = new global::Gtk.HBox (); this.typeBox.Name = "typeBox"; @@ -111,37 +101,37 @@ namespace MonoDevelop.Ide.Projects this.label2.LabelProp = global::Mono.Unix.Catalog.GetString ("File _type:"); this.label2.UseUnderline = true; this.typeBox.Add (this.label2); - global::Gtk.Box.BoxChild w16 = ((global::Gtk.Box.BoxChild)(this.typeBox [this.label2])); - w16.Position = 0; - w16.Expand = false; - w16.Fill = false; + global::Gtk.Box.BoxChild w9 = ((global::Gtk.Box.BoxChild)(this.typeBox [this.label2])); + w9.Position = 0; + w9.Expand = false; + w9.Fill = false; // Container child typeBox.Gtk.Box+BoxChild this.fileTypeCombo = global::Gtk.ComboBox.NewText (); this.fileTypeCombo.Name = "fileTypeCombo"; this.typeBox.Add (this.fileTypeCombo); - global::Gtk.Box.BoxChild w17 = ((global::Gtk.Box.BoxChild)(this.typeBox [this.fileTypeCombo])); - w17.Position = 1; - w17.Expand = false; - w17.Fill = false; + global::Gtk.Box.BoxChild w10 = ((global::Gtk.Box.BoxChild)(this.typeBox [this.fileTypeCombo])); + w10.Position = 1; + w10.Expand = false; + w10.Fill = false; this.hbox2.Add (this.typeBox); - global::Gtk.Box.BoxChild w18 = ((global::Gtk.Box.BoxChild)(this.hbox2 [this.typeBox])); - w18.PackType = ((global::Gtk.PackType)(1)); - w18.Position = 1; + global::Gtk.Box.BoxChild w11 = ((global::Gtk.Box.BoxChild)(this.hbox2 [this.typeBox])); + w11.PackType = ((global::Gtk.PackType)(1)); + w11.Position = 1; this.vbox4.Add (this.hbox2); - global::Gtk.Box.BoxChild w19 = ((global::Gtk.Box.BoxChild)(this.vbox4 [this.hbox2])); - w19.Position = 1; - w19.Expand = false; - w19.Fill = false; + global::Gtk.Box.BoxChild w12 = ((global::Gtk.Box.BoxChild)(this.vbox4 [this.hbox2])); + w12.Position = 1; + w12.Expand = false; + w12.Fill = false; this.hpaned1.Add (this.vbox4); w1.Add (this.hpaned1); - global::Gtk.Box.BoxChild w21 = ((global::Gtk.Box.BoxChild)(w1 [this.hpaned1])); - w21.Position = 0; + global::Gtk.Box.BoxChild w14 = ((global::Gtk.Box.BoxChild)(w1 [this.hpaned1])); + w14.Position = 0; // Internal child MonoDevelop.Ide.Projects.ProjectFileSelectorDialog.ActionArea - global::Gtk.HButtonBox w22 = this.ActionArea; - w22.Name = "dialog1_ActionArea"; - w22.Spacing = 6; - w22.BorderWidth = ((uint)(5)); - w22.LayoutStyle = ((global::Gtk.ButtonBoxStyle)(4)); + global::Gtk.HButtonBox w15 = this.ActionArea; + w15.Name = "dialog1_ActionArea"; + w15.Spacing = 6; + w15.BorderWidth = ((uint)(5)); + w15.LayoutStyle = ((global::Gtk.ButtonBoxStyle)(4)); // Container child dialog1_ActionArea.Gtk.ButtonBox+ButtonBoxChild this.buttonCancel = new global::Gtk.Button (); this.buttonCancel.CanDefault = true; @@ -151,9 +141,9 @@ namespace MonoDevelop.Ide.Projects this.buttonCancel.UseUnderline = true; this.buttonCancel.Label = "gtk-cancel"; this.AddActionWidget (this.buttonCancel, -6); - global::Gtk.ButtonBox.ButtonBoxChild w23 = ((global::Gtk.ButtonBox.ButtonBoxChild)(w22 [this.buttonCancel])); - w23.Expand = false; - w23.Fill = false; + global::Gtk.ButtonBox.ButtonBoxChild w16 = ((global::Gtk.ButtonBox.ButtonBoxChild)(w15 [this.buttonCancel])); + w16.Expand = false; + w16.Fill = false; // Container child dialog1_ActionArea.Gtk.ButtonBox+ButtonBoxChild this.buttonOk = new global::Gtk.Button (); this.buttonOk.CanDefault = true; @@ -163,10 +153,10 @@ namespace MonoDevelop.Ide.Projects this.buttonOk.UseUnderline = true; this.buttonOk.Label = "gtk-ok"; this.AddActionWidget (this.buttonOk, -5); - global::Gtk.ButtonBox.ButtonBoxChild w24 = ((global::Gtk.ButtonBox.ButtonBoxChild)(w22 [this.buttonOk])); - w24.Position = 1; - w24.Expand = false; - w24.Fill = false; + global::Gtk.ButtonBox.ButtonBoxChild w17 = ((global::Gtk.ButtonBox.ButtonBoxChild)(w15 [this.buttonOk])); + w17.Position = 1; + w17.Expand = false; + w17.Fill = false; if ((this.Child != null)) { this.Child.ShowAll (); } diff --git a/main/src/core/MonoDevelop.Ide/gtk-gui/MonoDevelop.Ide.SelectEncodingsDialog.cs b/main/src/core/MonoDevelop.Ide/gtk-gui/MonoDevelop.Ide.SelectEncodingsDialog.cs index 7716b6fc5a..addc17c850 100644 --- a/main/src/core/MonoDevelop.Ide/gtk-gui/MonoDevelop.Ide.SelectEncodingsDialog.cs +++ b/main/src/core/MonoDevelop.Ide/gtk-gui/MonoDevelop.Ide.SelectEncodingsDialog.cs @@ -112,63 +112,43 @@ namespace MonoDevelop.Ide this.btnAdd = new global::Gtk.Button (); this.btnAdd.Name = "btnAdd"; this.btnAdd.UseUnderline = true; - // Container child btnAdd.Gtk.Container+ContainerChild - global::Gtk.Alignment w9 = new global::Gtk.Alignment (0.5F, 0.5F, 0F, 0F); - // Container child GtkAlignment.Gtk.Container+ContainerChild - global::Gtk.HBox w10 = new global::Gtk.HBox (); - w10.Spacing = 2; - // Container child GtkHBox.Gtk.Container+ContainerChild - global::Gtk.Image w11 = new global::Gtk.Image (); - w11.Pixbuf = global::Stetic.IconLoader.LoadIcon (this, "gtk-go-forward", global::Gtk.IconSize.Button); - w10.Add (w11); - // Container child GtkHBox.Gtk.Container+ContainerChild - global::Gtk.Label w13 = new global::Gtk.Label (); - w10.Add (w13); - w9.Add (w10); - this.btnAdd.Add (w9); + this.btnAdd.Label = ""; + global::Gtk.Image w9 = new global::Gtk.Image (); + w9.Pixbuf = global::Stetic.IconLoader.LoadIcon (this, "gtk-go-forward", global::Gtk.IconSize.Button); + this.btnAdd.Image = w9; this.vbox74.Add (this.btnAdd); - global::Gtk.Box.BoxChild w17 = ((global::Gtk.Box.BoxChild)(this.vbox74 [this.btnAdd])); - w17.Position = 1; - w17.Expand = false; - w17.Fill = false; + global::Gtk.Box.BoxChild w10 = ((global::Gtk.Box.BoxChild)(this.vbox74 [this.btnAdd])); + w10.Position = 1; + w10.Expand = false; + w10.Fill = false; // Container child vbox74.Gtk.Box+BoxChild this.btnRemove = new global::Gtk.Button (); this.btnRemove.Name = "btnRemove"; - // Container child btnRemove.Gtk.Container+ContainerChild - global::Gtk.Alignment w18 = new global::Gtk.Alignment (0.5F, 0.5F, 0F, 0F); - // Container child GtkAlignment.Gtk.Container+ContainerChild - global::Gtk.HBox w19 = new global::Gtk.HBox (); - w19.Spacing = 2; - // Container child GtkHBox.Gtk.Container+ContainerChild - global::Gtk.Image w20 = new global::Gtk.Image (); - w20.Pixbuf = global::Stetic.IconLoader.LoadIcon (this, "gtk-go-back", global::Gtk.IconSize.SmallToolbar); - w19.Add (w20); - // Container child GtkHBox.Gtk.Container+ContainerChild - global::Gtk.Label w22 = new global::Gtk.Label (); - w19.Add (w22); - w18.Add (w19); - this.btnRemove.Add (w18); + this.btnRemove.Label = null; + global::Gtk.Image w11 = new global::Gtk.Image (); + w11.Pixbuf = global::Stetic.IconLoader.LoadIcon (this, "gtk-go-back", global::Gtk.IconSize.SmallToolbar); + this.btnRemove.Image = w11; this.vbox74.Add (this.btnRemove); - global::Gtk.Box.BoxChild w26 = ((global::Gtk.Box.BoxChild)(this.vbox74 [this.btnRemove])); - w26.Position = 2; - w26.Expand = false; - w26.Fill = false; + global::Gtk.Box.BoxChild w12 = ((global::Gtk.Box.BoxChild)(this.vbox74 [this.btnRemove])); + w12.Position = 2; + w12.Expand = false; + w12.Fill = false; // Container child vbox74.Gtk.Box+BoxChild this.label109 = new global::Gtk.Label (); this.label109.Name = "label109"; this.label109.Xalign = 0F; this.label109.Yalign = 0F; this.vbox74.Add (this.label109); - global::Gtk.Box.BoxChild w27 = ((global::Gtk.Box.BoxChild)(this.vbox74 [this.label109])); - w27.Position = 3; + global::Gtk.Box.BoxChild w13 = ((global::Gtk.Box.BoxChild)(this.vbox74 [this.label109])); + w13.Position = 3; this.table5.Add (this.vbox74); - global::Gtk.Table.TableChild w28 = ((global::Gtk.Table.TableChild)(this.table5 [this.vbox74])); - w28.TopAttach = ((uint)(1)); - w28.BottomAttach = ((uint)(2)); - w28.LeftAttach = ((uint)(1)); - w28.RightAttach = ((uint)(2)); - w28.XOptions = ((global::Gtk.AttachOptions)(0)); - w28.YOptions = ((global::Gtk.AttachOptions)(0)); + global::Gtk.Table.TableChild w14 = ((global::Gtk.Table.TableChild)(this.table5 [this.vbox74])); + w14.TopAttach = ((uint)(1)); + w14.BottomAttach = ((uint)(2)); + w14.LeftAttach = ((uint)(1)); + w14.RightAttach = ((uint)(2)); + w14.XOptions = ((global::Gtk.AttachOptions)(0)); + w14.YOptions = ((global::Gtk.AttachOptions)(0)); // Container child table5.Gtk.Table+TableChild this.vbox75 = new global::Gtk.VBox (); this.vbox75.Name = "vbox75"; @@ -185,10 +165,10 @@ namespace MonoDevelop.Ide this.btnUp.Add (this.image9); this.btnUp.Label = null; this.vbox75.Add (this.btnUp); - global::Gtk.Box.BoxChild w30 = ((global::Gtk.Box.BoxChild)(this.vbox75 [this.btnUp])); - w30.Position = 0; - w30.Expand = false; - w30.Fill = false; + global::Gtk.Box.BoxChild w16 = ((global::Gtk.Box.BoxChild)(this.vbox75 [this.btnUp])); + w16.Position = 0; + w16.Expand = false; + w16.Fill = false; // Container child vbox75.Gtk.Box+BoxChild this.btnDown = new global::Gtk.Button (); this.btnDown.Name = "btnDown"; @@ -201,27 +181,27 @@ namespace MonoDevelop.Ide this.btnDown.Add (this.image10); this.btnDown.Label = null; this.vbox75.Add (this.btnDown); - global::Gtk.Box.BoxChild w32 = ((global::Gtk.Box.BoxChild)(this.vbox75 [this.btnDown])); - w32.Position = 1; - w32.Expand = false; - w32.Fill = false; + global::Gtk.Box.BoxChild w18 = ((global::Gtk.Box.BoxChild)(this.vbox75 [this.btnDown])); + w18.Position = 1; + w18.Expand = false; + w18.Fill = false; this.table5.Add (this.vbox75); - global::Gtk.Table.TableChild w33 = ((global::Gtk.Table.TableChild)(this.table5 [this.vbox75])); - w33.TopAttach = ((uint)(1)); - w33.BottomAttach = ((uint)(2)); - w33.LeftAttach = ((uint)(3)); - w33.RightAttach = ((uint)(4)); - w33.XOptions = ((global::Gtk.AttachOptions)(0)); - w33.YOptions = ((global::Gtk.AttachOptions)(0)); + global::Gtk.Table.TableChild w19 = ((global::Gtk.Table.TableChild)(this.table5 [this.vbox75])); + w19.TopAttach = ((uint)(1)); + w19.BottomAttach = ((uint)(2)); + w19.LeftAttach = ((uint)(3)); + w19.RightAttach = ((uint)(4)); + w19.XOptions = ((global::Gtk.AttachOptions)(0)); + w19.YOptions = ((global::Gtk.AttachOptions)(0)); w1.Add (this.table5); - global::Gtk.Box.BoxChild w34 = ((global::Gtk.Box.BoxChild)(w1 [this.table5])); - w34.Position = 0; + global::Gtk.Box.BoxChild w20 = ((global::Gtk.Box.BoxChild)(w1 [this.table5])); + w20.Position = 0; // Internal child MonoDevelop.Ide.SelectEncodingsDialog.ActionArea - global::Gtk.HButtonBox w35 = this.ActionArea; - w35.Name = "dialog-action_area5"; - w35.Spacing = 6; - w35.BorderWidth = ((uint)(5)); - w35.LayoutStyle = ((global::Gtk.ButtonBoxStyle)(4)); + global::Gtk.HButtonBox w21 = this.ActionArea; + w21.Name = "dialog-action_area5"; + w21.Spacing = 6; + w21.BorderWidth = ((uint)(5)); + w21.LayoutStyle = ((global::Gtk.ButtonBoxStyle)(4)); // Container child dialog-action_area5.Gtk.ButtonBox+ButtonBoxChild this.cancelbutton1 = new global::Gtk.Button (); this.cancelbutton1.Name = "cancelbutton1"; @@ -229,9 +209,9 @@ namespace MonoDevelop.Ide this.cancelbutton1.UseUnderline = true; this.cancelbutton1.Label = "gtk-cancel"; this.AddActionWidget (this.cancelbutton1, -6); - global::Gtk.ButtonBox.ButtonBoxChild w36 = ((global::Gtk.ButtonBox.ButtonBoxChild)(w35 [this.cancelbutton1])); - w36.Expand = false; - w36.Fill = false; + global::Gtk.ButtonBox.ButtonBoxChild w22 = ((global::Gtk.ButtonBox.ButtonBoxChild)(w21 [this.cancelbutton1])); + w22.Expand = false; + w22.Fill = false; // Container child dialog-action_area5.Gtk.ButtonBox+ButtonBoxChild this.okbutton1 = new global::Gtk.Button (); this.okbutton1.Name = "okbutton1"; @@ -239,10 +219,10 @@ namespace MonoDevelop.Ide this.okbutton1.UseUnderline = true; this.okbutton1.Label = "gtk-ok"; this.AddActionWidget (this.okbutton1, -5); - global::Gtk.ButtonBox.ButtonBoxChild w37 = ((global::Gtk.ButtonBox.ButtonBoxChild)(w35 [this.okbutton1])); - w37.Position = 1; - w37.Expand = false; - w37.Fill = false; + global::Gtk.ButtonBox.ButtonBoxChild w23 = ((global::Gtk.ButtonBox.ButtonBoxChild)(w21 [this.okbutton1])); + w23.Position = 1; + w23.Expand = false; + w23.Fill = false; if ((this.Child != null)) { this.Child.ShowAll (); } |