diff options
Diffstat (limited to 'main/src/addins/MonoDevelop.Debugger/gtk-gui/MonoDevelop.Debugger.BusyEvaluatorDialog.cs')
-rw-r--r-- | main/src/addins/MonoDevelop.Debugger/gtk-gui/MonoDevelop.Debugger.BusyEvaluatorDialog.cs | 110 |
1 files changed, 31 insertions, 79 deletions
diff --git a/main/src/addins/MonoDevelop.Debugger/gtk-gui/MonoDevelop.Debugger.BusyEvaluatorDialog.cs b/main/src/addins/MonoDevelop.Debugger/gtk-gui/MonoDevelop.Debugger.BusyEvaluatorDialog.cs index 20c77c6ed8..ea62abdeb4 100644 --- a/main/src/addins/MonoDevelop.Debugger/gtk-gui/MonoDevelop.Debugger.BusyEvaluatorDialog.cs +++ b/main/src/addins/MonoDevelop.Debugger/gtk-gui/MonoDevelop.Debugger.BusyEvaluatorDialog.cs @@ -5,113 +5,65 @@ namespace MonoDevelop.Debugger public partial class BusyEvaluatorDialog { private global::Gtk.VBox vbox2; + private global::Gtk.Label label1; - private global::Gtk.HBox hbox1; - private global::Gtk.Label label2; - private global::Gtk.Label labelMethod; + 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.Debugger.BusyEvaluatorDialog this.Name = "MonoDevelop.Debugger.BusyEvaluatorDialog"; - this.Title = global::Mono.Unix.Catalog.GetString ("The Debugger is Busy"); + this.Title = global::Mono.Unix.Catalog.GetString("The Debugger is Busy"); this.WindowPosition = ((global::Gtk.WindowPosition)(4)); // Internal child MonoDevelop.Debugger.BusyEvaluatorDialog.VBox global::Gtk.VBox w1 = this.VBox; w1.Name = "dialog1_VBox"; w1.BorderWidth = ((uint)(2)); // Container child dialog1_VBox.Gtk.Box+BoxChild - this.vbox2 = new global::Gtk.VBox (); + this.vbox2 = new global::Gtk.VBox(); this.vbox2.Name = "vbox2"; this.vbox2.Spacing = 6; this.vbox2.BorderWidth = ((uint)(9)); // 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 ("The Debugger is waiting for an expression evaluation to finish."); - this.vbox2.Add (this.label1); - global::Gtk.Box.BoxChild w2 = ((global::Gtk.Box.BoxChild)(this.vbox2 [this.label1])); + this.label1.LabelProp = global::Mono.Unix.Catalog.GetString("The debugger runtime is not responding. You can wait for it to recover, or stop debugging."); + this.vbox2.Add(this.label1); + global::Gtk.Box.BoxChild w2 = ((global::Gtk.Box.BoxChild)(this.vbox2[this.label1])); w2.Position = 0; w2.Expand = false; w2.Fill = false; - // Container child vbox2.Gtk.Box+BoxChild - this.hbox1 = new global::Gtk.HBox (); - this.hbox1.Name = "hbox1"; - this.hbox1.Spacing = 6; - // Container child hbox1.Gtk.Box+BoxChild - this.label2 = new global::Gtk.Label (); - this.label2.Name = "label2"; - this.label2.Xalign = 0F; - this.label2.LabelProp = global::Mono.Unix.Catalog.GetString ("Method:"); - this.hbox1.Add (this.label2); - global::Gtk.Box.BoxChild w3 = ((global::Gtk.Box.BoxChild)(this.hbox1 [this.label2])); + w1.Add(this.vbox2); + global::Gtk.Box.BoxChild w3 = ((global::Gtk.Box.BoxChild)(w1[this.vbox2])); w3.Position = 0; - w3.Expand = false; - w3.Fill = false; - // Container child hbox1.Gtk.Box+BoxChild - this.labelMethod = new global::Gtk.Label (); - this.labelMethod.Name = "labelMethod"; - this.labelMethod.Xalign = 0F; - this.labelMethod.LabelProp = "<method>"; - this.labelMethod.Wrap = true; - this.labelMethod.Selectable = true; - this.labelMethod.MaxWidthChars = 120; - this.hbox1.Add (this.labelMethod); - global::Gtk.Box.BoxChild w4 = ((global::Gtk.Box.BoxChild)(this.hbox1 [this.labelMethod])); - w4.Position = 1; - w4.Expand = false; - w4.Fill = false; - this.vbox2.Add (this.hbox1); - global::Gtk.Box.BoxChild w5 = ((global::Gtk.Box.BoxChild)(this.vbox2 [this.hbox1])); - w5.Position = 1; - w5.Expand = false; - w5.Fill = false; - w1.Add (this.vbox2); - global::Gtk.Box.BoxChild w6 = ((global::Gtk.Box.BoxChild)(w1 [this.vbox2])); - w6.Position = 0; - w6.Expand = false; - w6.Fill = false; // Internal child MonoDevelop.Debugger.BusyEvaluatorDialog.ActionArea - global::Gtk.HButtonBox w7 = this.ActionArea; - w7.Name = "dialog1_ActionArea"; - w7.Spacing = 10; - w7.BorderWidth = ((uint)(5)); - w7.LayoutStyle = ((global::Gtk.ButtonBoxStyle)(4)); + global::Gtk.HButtonBox w4 = this.ActionArea; + w4.Name = "dialog1_ActionArea"; + w4.Spacing = 10; + w4.BorderWidth = ((uint)(5)); + w4.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.UseUnderline = true; - this.buttonCancel.Label = global::Mono.Unix.Catalog.GetString ("Stop Debugger"); - w7.Add (this.buttonCancel); - global::Gtk.ButtonBox.ButtonBoxChild w8 = ((global::Gtk.ButtonBox.ButtonBoxChild)(w7 [this.buttonCancel])); - w8.Expand = false; - w8.Fill = false; - // Container child dialog1_ActionArea.Gtk.ButtonBox+ButtonBoxChild - this.buttonOk = new global::Gtk.Button (); - this.buttonOk.CanDefault = true; - this.buttonOk.CanFocus = true; - this.buttonOk.Name = "buttonOk"; - this.buttonOk.UseUnderline = true; - this.buttonOk.Label = global::Mono.Unix.Catalog.GetString ("Keep Waiting"); - w7.Add (this.buttonOk); - global::Gtk.ButtonBox.ButtonBoxChild w9 = ((global::Gtk.ButtonBox.ButtonBoxChild)(w7 [this.buttonOk])); - w9.Position = 1; - w9.Expand = false; - w9.Fill = false; - if ((this.Child != null)) { - this.Child.ShowAll (); + this.buttonCancel.Label = global::Mono.Unix.Catalog.GetString("Stop Debugger"); + w4.Add(this.buttonCancel); + global::Gtk.ButtonBox.ButtonBoxChild w5 = ((global::Gtk.ButtonBox.ButtonBoxChild)(w4[this.buttonCancel])); + w5.Expand = false; + w5.Fill = false; + if ((this.Child != null)) + { + this.Child.ShowAll(); } - this.DefaultWidth = 381; - this.DefaultHeight = 126; - this.Hide (); - this.buttonCancel.Clicked += new global::System.EventHandler (this.OnButtonCancelClicked); - this.buttonOk.Clicked += new global::System.EventHandler (this.OnButtonOkClicked); + this.DefaultWidth = 548; + this.DefaultHeight = 98; + this.Hide(); + this.buttonCancel.Clicked += new global::System.EventHandler(this.OnButtonCancelClicked); } } } |