diff options
author | Lluis Sanchez <lluis@novell.com> | 2010-05-18 21:24:43 +0400 |
---|---|---|
committer | Lluis Sanchez <lluis@novell.com> | 2010-05-18 21:24:43 +0400 |
commit | 28809d5afd227badaff99b35e7a1fb1eee14164d (patch) | |
tree | ed139ddbd11a1b46f35760e1cdc81b6b6ddec6c2 /main/src/core/MonoDevelop.Ide/gtk-gui | |
parent | 1fd40ae7c0278e1978764d4a03f1c7a1b16e76ae (diff) |
* MonoDevelop.Ide/Ide.cs: Track api change.
* gtk-gui/gui.stetic:
* MonoDevelop.Ide/IdePreferences.cs:
* MonoDevelop.Ide.Gui.OptionPanels/MaintenanceOptionsPanel.cs:
* gtk-gui/MonoDevelop.Ide.Gui.OptionPanels.MaintenanceOptionsPanelWidget.cs:
Added option for enabling automated testing.
svn path=/trunk/monodevelop/; revision=157509
Diffstat (limited to 'main/src/core/MonoDevelop.Ide/gtk-gui')
-rw-r--r-- | main/src/core/MonoDevelop.Ide/gtk-gui/MonoDevelop.Ide.Gui.OptionPanels.MaintenanceOptionsPanelWidget.cs | 14 | ||||
-rw-r--r-- | main/src/core/MonoDevelop.Ide/gtk-gui/gui.stetic | 16 |
2 files changed, 28 insertions, 2 deletions
diff --git a/main/src/core/MonoDevelop.Ide/gtk-gui/MonoDevelop.Ide.Gui.OptionPanels.MaintenanceOptionsPanelWidget.cs b/main/src/core/MonoDevelop.Ide/gtk-gui/MonoDevelop.Ide.Gui.OptionPanels.MaintenanceOptionsPanelWidget.cs index e75793c684..d84712d73b 100644 --- a/main/src/core/MonoDevelop.Ide/gtk-gui/MonoDevelop.Ide.Gui.OptionPanels.MaintenanceOptionsPanelWidget.cs +++ b/main/src/core/MonoDevelop.Ide/gtk-gui/MonoDevelop.Ide.Gui.OptionPanels.MaintenanceOptionsPanelWidget.cs @@ -8,6 +8,8 @@ namespace MonoDevelop.Ide.Gui.OptionPanels private global::Gtk.CheckButton checkInstr; + private global::Gtk.CheckButton checkAutoTest; + protected virtual void Build () { global::Stetic.Gui.Initialize (this); @@ -30,6 +32,18 @@ namespace MonoDevelop.Ide.Gui.OptionPanels w1.Position = 0; w1.Expand = false; w1.Fill = false; + // Container child vbox2.Gtk.Box+BoxChild + this.checkAutoTest = new global::Gtk.CheckButton (); + this.checkAutoTest.CanFocus = true; + this.checkAutoTest.Name = "checkAutoTest"; + this.checkAutoTest.Label = global::MonoDevelop.Core.GettextCatalog.GetString ("Enable automated test support"); + this.checkAutoTest.DrawIndicator = true; + this.checkAutoTest.UseUnderline = true; + this.vbox2.Add (this.checkAutoTest); + global::Gtk.Box.BoxChild w2 = ((global::Gtk.Box.BoxChild)(this.vbox2[this.checkAutoTest])); + w2.Position = 1; + w2.Expand = false; + w2.Fill = false; this.Add (this.vbox2); if ((this.Child != null)) { this.Child.ShowAll (); diff --git a/main/src/core/MonoDevelop.Ide/gtk-gui/gui.stetic b/main/src/core/MonoDevelop.Ide/gtk-gui/gui.stetic index fb1b5190f5..86a7219168 100644 --- a/main/src/core/MonoDevelop.Ide/gtk-gui/gui.stetic +++ b/main/src/core/MonoDevelop.Ide/gtk-gui/gui.stetic @@ -5,7 +5,6 @@ <target-gtk-version>2.12</target-gtk-version> </configuration> <import> - <widget-library name="Mono.Addins.Gui, Version=0.4.0.0, Culture=neutral, PublicKeyToken=0738eb9f132ed756" /> <widget-library name="../../../../build/bin/Mono.TextEditor.dll" /> <widget-library name="../../../../build/bin/MonoDevelop.Ide.dll" internal="true" /> </import> @@ -6972,7 +6971,20 @@ All solutions</property> </packing> </child> <child> - <placeholder /> + <widget class="Gtk.CheckButton" id="checkAutoTest"> + <property name="MemberName" /> + <property name="CanFocus">True</property> + <property name="Label" translatable="yes">Enable automated test support</property> + <property name="DrawIndicator">True</property> + <property name="HasLabel">True</property> + <property name="UseUnderline">True</property> + </widget> + <packing> + <property name="Position">1</property> + <property name="AutoSize">True</property> + <property name="Expand">False</property> + <property name="Fill">False</property> + </packing> </child> <child> <placeholder /> |