Author: mkrueger
Date: 2007-08-31 10:03:13 -0400 (Fri, 31 Aug 2007)
New Revision: 85108
Modified:
trunk/monodevelop/Extras/CSharpBinding/CSharpAmbience.cs
trunk/monodevelop/Extras/CSharpBinding/ChangeLog
trunk/monodevelop/Extras/CSharpBinding/FormattingStrategy/CSharpFormattingProperties.cs
trunk/monodevelop/Extras/CSharpBinding/FormattingStrategy/CSharpFormattingStrategy.cs
trunk/monodevelop/Extras/CSharpBinding/Gui/ChooseRuntimePanel.cs
trunk/monodevelop/Extras/CSharpBinding/Gui/CodeGenerationPanel.cs
trunk/monodevelop/Extras/CSharpBinding/Gui/FormattingPanel.cs
trunk/monodevelop/Extras/CSharpBinding/Parser/Resolver.cs
trunk/monodevelop/Extras/CSharpBinding/gtk-gui/CSharpBinding.CodeGenerationPanelWidget.cs
trunk/monodevelop/Extras/CSharpBinding/gtk-gui/CSharpBinding.FormattingPanelWidget.cs
trunk/monodevelop/Extras/CSharpBinding/gtk-gui/gui.stetic
Log:
* Gui/ChooseRuntimePanel.cs, Gui/CodeGenerationPanel.cs,
Gui/FormattingPanel.cs, Parser/Resolver.cs,
FormattingStrategy/CSharpFormattingStrategy.cs,
FormattingStrategy/CSharpFormattingProperties.cs,
gtk-gui/CSharpBinding.CodeGenerationPanelWidget.cs,
gtk-gui/CSharpBinding.FormattingPanelWidget.cs, CSharpAmbience.cs:
Changes due to new property infrastructure.
Modified: trunk/monodevelop/Extras/CSharpBinding/CSharpAmbience.cs
===================================================================
--- trunk/monodevelop/Extras/CSharpBinding/CSharpAmbience.cs 2007-08-31
14:02:42 UTC (rev 85107)
+++ trunk/monodevelop/Extras/CSharpBinding/CSharpAmbience.cs 2007-08-31
14:03:13 UTC (rev 85108)
@@ -10,8 +10,8 @@
using System.Text;
using MonoDevelop.Projects.Parser;
-using MonoDevelop.Core.Properties;
using MonoDevelop.Core;
+using MonoDevelop.Core;
using MonoDevelop.Projects.Ambience;
namespace CSharpBinding
Modified: trunk/monodevelop/Extras/CSharpBinding/ChangeLog
===================================================================
--- trunk/monodevelop/Extras/CSharpBinding/ChangeLog 2007-08-31 14:02:42 UTC
(rev 85107)
+++ trunk/monodevelop/Extras/CSharpBinding/ChangeLog 2007-08-31 14:03:13 UTC
(rev 85108)
@@ -1,3 +1,13 @@
+2007-08-31 Mike Krüger <[EMAIL PROTECTED]>
+
+ * Gui/ChooseRuntimePanel.cs, Gui/CodeGenerationPanel.cs,
+ Gui/FormattingPanel.cs, Parser/Resolver.cs,
+ FormattingStrategy/CSharpFormattingStrategy.cs,
+ FormattingStrategy/CSharpFormattingProperties.cs,
+ gtk-gui/CSharpBinding.CodeGenerationPanelWidget.cs,
+ gtk-gui/CSharpBinding.FormattingPanelWidget.cs, CSharpAmbience.cs:
+ Changes due to new property infrastructure.
+
2007-08-24 Mike Krüger <[EMAIL PROTECTED]>
* Gui/CSharpTextEditorExtension.cs: Fixed 82555: Xml comments activating
Modified:
trunk/monodevelop/Extras/CSharpBinding/FormattingStrategy/CSharpFormattingProperties.cs
===================================================================
---
trunk/monodevelop/Extras/CSharpBinding/FormattingStrategy/CSharpFormattingProperties.cs
2007-08-31 14:02:42 UTC (rev 85107)
+++
trunk/monodevelop/Extras/CSharpBinding/FormattingStrategy/CSharpFormattingProperties.cs
2007-08-31 14:03:13 UTC (rev 85108)
@@ -28,7 +28,6 @@
using System;
using MonoDevelop.Core;
-using MonoDevelop.Core.Properties;
namespace CSharpBinding.FormattingStrategy.Properties {
public enum GotoLabelIndentStyle {
@@ -43,32 +42,28 @@
}
public class FormattingProperties {
- static PropertyService propertyService;
- static IProperties properties;
+ static MonoDevelop.Core.Properties properties;
static FormattingProperties ()
{
- propertyService = (PropertyService)
ServiceManager.GetService (typeof (PropertyService));
- properties = ((IProperties) propertyService.GetProperty
("CSharpBinding.FormattingProperties",
-
new DefaultProperties ()));
+ properties = PropertyService.Get
("CSharpBinding.FormattingProperties", new MonoDevelop.Core.Properties ());
}
public static bool IndentCaseLabels {
get {
- return (bool) properties.GetProperty
("IndentCaseLabels", false);
+ return properties.Get ("IndentCaseLabels",
false);
}
set {
- properties.SetProperty ("IndentCaseLabels",
value);
+ properties.Set ("IndentCaseLabels", value);
}
}
public static GotoLabelIndentStyle GotoLabelIndentStyle {
get {
- return (GotoLabelIndentStyle)
- properties.GetProperty
("GotoLabelIndentStyle", GotoLabelIndentStyle.OneLess);
+ return properties.Get ("GotoLabelIndentStyle",
GotoLabelIndentStyle.OneLess);
}
set {
- properties.SetProperty ("GotoLabelIndentStyle",
value);
+ properties.Set ("GotoLabelIndentStyle", value);
}
}
}
Modified:
trunk/monodevelop/Extras/CSharpBinding/FormattingStrategy/CSharpFormattingStrategy.cs
===================================================================
---
trunk/monodevelop/Extras/CSharpBinding/FormattingStrategy/CSharpFormattingStrategy.cs
2007-08-31 14:02:42 UTC (rev 85107)
+++
trunk/monodevelop/Extras/CSharpBinding/FormattingStrategy/CSharpFormattingStrategy.cs
2007-08-31 14:03:13 UTC (rev 85108)
@@ -13,8 +13,8 @@
using MonoDevelop.SourceEditor;
using MonoDevelop.SourceEditor.FormattingStrategy;
-using MonoDevelop.Core.Properties;
using MonoDevelop.Core;
+using MonoDevelop.Core;
using MonoDevelop.Ide.Gui;
namespace CSharpBinding.FormattingStrategy {
Modified: trunk/monodevelop/Extras/CSharpBinding/Gui/ChooseRuntimePanel.cs
===================================================================
--- trunk/monodevelop/Extras/CSharpBinding/Gui/ChooseRuntimePanel.cs
2007-08-31 14:02:42 UTC (rev 85107)
+++ trunk/monodevelop/Extras/CSharpBinding/Gui/ChooseRuntimePanel.cs
2007-08-31 14:03:13 UTC (rev 85108)
@@ -10,7 +10,7 @@
using System.Collections;
using MonoDevelop.Projects;
-using MonoDevelop.Core.Properties;
+using MonoDevelop.Core;
using Mono.Addins;
using MonoDevelop.Core.Gui.Dialogs;
using MonoDevelop.Core;
@@ -33,7 +33,7 @@
public override void LoadPanelContents()
{
- config =
(DotNetProjectConfiguration)((IProperties)CustomizationObject).GetProperty("Config");
+ config =
((Properties)CustomizationObject).Get<DotNetProjectConfiguration> ("Config");
parameters = (CSharpCompilerParameters)
config.CompilationParameters;
msnetRadioButton.Active = config.NetRuntime ==
NetRuntime.MsNet;
Modified: trunk/monodevelop/Extras/CSharpBinding/Gui/CodeGenerationPanel.cs
===================================================================
--- trunk/monodevelop/Extras/CSharpBinding/Gui/CodeGenerationPanel.cs
2007-08-31 14:02:42 UTC (rev 85107)
+++ trunk/monodevelop/Extras/CSharpBinding/Gui/CodeGenerationPanel.cs
2007-08-31 14:03:13 UTC (rev 85108)
@@ -13,7 +13,7 @@
using MonoDevelop.Projects;
using MonoDevelop.Core.Gui.Dialogs;
using MonoDevelop.Core;
-using MonoDevelop.Core.Properties;
+using MonoDevelop.Core;
using Mono.Addins;
using MonoDevelop.Projects.Parser;
using MonoDevelop.Projects.Text;
@@ -33,12 +33,12 @@
bool classListFilled;
public
- CodeGenerationPanelWidget (IProperties CustomizationObject)
+ CodeGenerationPanelWidget (Properties CustomizationObject)
{
Build ();
- configuration =
(DotNetProjectConfiguration)((IProperties)CustomizationObject).GetProperty("Config");
- project =
(Project)((IProperties)CustomizationObject).GetProperty("Project");
+ configuration =
((Properties)CustomizationObject).Get<DotNetProjectConfiguration> ("Config");
+ project =
((Properties)CustomizationObject).Get<Project> ("Project");
compilerParameters = (CSharpCompilerParameters)
configuration.CompilationParameters;
ListStore store = new ListStore (typeof (string));
@@ -178,7 +178,7 @@
public override void LoadPanelContents()
{
- Add (widget = new CodeGenerationPanelWidget
((IProperties) CustomizationObject));
+ Add (widget = new CodeGenerationPanelWidget
((Properties) CustomizationObject));
}
public override bool StorePanelContents()
Modified: trunk/monodevelop/Extras/CSharpBinding/Gui/FormattingPanel.cs
===================================================================
--- trunk/monodevelop/Extras/CSharpBinding/Gui/FormattingPanel.cs
2007-08-31 14:02:42 UTC (rev 85107)
+++ trunk/monodevelop/Extras/CSharpBinding/Gui/FormattingPanel.cs
2007-08-31 14:03:13 UTC (rev 85108)
@@ -3,7 +3,7 @@
using Gtk;
using MonoDevelop.Core;
-using MonoDevelop.Core.Properties;
+using MonoDevelop.Core;
using MonoDevelop.Core.Gui.Dialogs;
using MonoDevelop.Ide.Gui.Content;
Modified: trunk/monodevelop/Extras/CSharpBinding/Parser/Resolver.cs
===================================================================
--- trunk/monodevelop/Extras/CSharpBinding/Parser/Resolver.cs 2007-08-31
14:02:42 UTC (rev 85107)
+++ trunk/monodevelop/Extras/CSharpBinding/Parser/Resolver.cs 2007-08-31
14:03:13 UTC (rev 85108)
@@ -804,7 +804,7 @@
return null;
}
- IProperty GetProperty()
+ IProperty Get()
{
foreach (IProperty property in callingClass.Properties)
{
if (property.BodyRegion != null &&
property.BodyRegion.IsInside(caretLine, caretColumn)) {
@@ -829,7 +829,7 @@
IProperty SearchProperty ()
{
- IProperty property = GetProperty();
+ IProperty property = Get();
if (property == null) {
return null;
}
Modified:
trunk/monodevelop/Extras/CSharpBinding/gtk-gui/CSharpBinding.CodeGenerationPanelWidget.cs
===================================================================
---
trunk/monodevelop/Extras/CSharpBinding/gtk-gui/CSharpBinding.CodeGenerationPanelWidget.cs
2007-08-31 14:02:42 UTC (rev 85107)
+++
trunk/monodevelop/Extras/CSharpBinding/gtk-gui/CSharpBinding.CodeGenerationPanelWidget.cs
2007-08-31 14:03:13 UTC (rev 85108)
@@ -79,16 +79,13 @@
Stetic.Gui.Initialize();
// Widget CSharpBinding.CodeGenerationPanelWidget
Stetic.BinContainer.Attach(this);
- this.Events = ((Gdk.EventMask)(0));
this.Name = "CSharpBinding.CodeGenerationPanelWidget";
// Container child
CSharpBinding.CodeGenerationPanelWidget.Gtk.Container+ContainerChild
this.vbox62 = new Gtk.VBox();
- this.vbox62.Events = ((Gdk.EventMask)(0));
this.vbox62.Name = "vbox62";
this.vbox62.Spacing = 12;
// Container child vbox62.Gtk.Box+BoxChild
this.label82 = new Gtk.Label();
- this.label82.Events = ((Gdk.EventMask)(0));
this.label82.Name = "label82";
this.label82.Xalign = 0F;
this.label82.LabelProp = Mono.Unix.Catalog.GetString("<b>Code
Generation</b>");
@@ -100,12 +97,10 @@
w1.Fill = false;
// Container child vbox62.Gtk.Box+BoxChild
this.hbox56 = new Gtk.HBox();
- this.hbox56.Events = ((Gdk.EventMask)(0));
this.hbox56.Name = "hbox56";
// Container child hbox56.Gtk.Box+BoxChild
this.label81 = new Gtk.Label();
this.label81.WidthRequest = 18;
- this.label81.Events = ((Gdk.EventMask)(0));
this.label81.Name = "label81";
this.label81.LabelProp = "";
this.hbox56.Add(this.label81);
@@ -115,22 +110,18 @@
w2.Fill = false;
// Container child hbox56.Gtk.Box+BoxChild
this.vbox65 = new Gtk.VBox();
- this.vbox65.Events = ((Gdk.EventMask)(0));
this.vbox65.Name = "vbox65";
this.vbox65.Spacing = 6;
// Container child vbox65.Gtk.Box+BoxChild
this.table7 = new Gtk.Table(((uint)(5)), ((uint)(2)), false);
- this.table7.Events = ((Gdk.EventMask)(0));
this.table7.Name = "table7";
this.table7.RowSpacing = ((uint)(6));
this.table7.ColumnSpacing = ((uint)(6));
// Container child table7.Gtk.Table+TableChild
this.hbox1 = new Gtk.HBox();
- this.hbox1.Events = ((Gdk.EventMask)(0));
this.hbox1.Name = "hbox1";
// Container child hbox1.Gtk.Box+BoxChild
this.codepageEntry = Gtk.ComboBoxEntry.NewText();
- this.codepageEntry.Events = ((Gdk.EventMask)(0));
this.codepageEntry.Name = "codepageEntry";
this.hbox1.Add(this.codepageEntry);
Gtk.Box.BoxChild w3 =
((Gtk.Box.BoxChild)(this.hbox1[this.codepageEntry]));
@@ -147,11 +138,9 @@
w4.YOptions = ((Gtk.AttachOptions)(4));
// Container child table7.Gtk.Table+TableChild
this.hbox57 = new Gtk.HBox();
- this.hbox57.Events = ((Gdk.EventMask)(0));
this.hbox57.Name = "hbox57";
// Container child hbox57.Gtk.Box+BoxChild
this.compileTargetCombo = new Gtk.ComboBox();
- this.compileTargetCombo.Events = ((Gdk.EventMask)(0));
this.compileTargetCombo.Name = "compileTargetCombo";
this.hbox57.Add(this.compileTargetCombo);
Gtk.Box.BoxChild w5 =
((Gtk.Box.BoxChild)(this.hbox57[this.compileTargetCombo]));
@@ -166,7 +155,6 @@
w6.YOptions = ((Gtk.AttachOptions)(4));
// Container child table7.Gtk.Table+TableChild
this.iconEntry = new MonoDevelop.Components.FileEntry();
- this.iconEntry.Events = ((Gdk.EventMask)(0));
this.iconEntry.Name = "iconEntry";
this.table7.Add(this.iconEntry);
Gtk.Table.TableChild w7 =
((Gtk.Table.TableChild)(this.table7[this.iconEntry]));
@@ -178,7 +166,6 @@
w7.YOptions = ((Gtk.AttachOptions)(4));
// Container child table7.Gtk.Table+TableChild
this.label1 = new Gtk.Label();
- this.label1.Events = ((Gdk.EventMask)(0));
this.label1.Name = "label1";
this.label1.Xalign = 0F;
this.label1.LabelProp = Mono.Unix.Catalog.GetString("Compiler Code
Page:");
@@ -190,7 +177,6 @@
w8.YOptions = ((Gtk.AttachOptions)(4));
// Container child table7.Gtk.Table+TableChild
this.label2 = new Gtk.Label();
- this.label2.Events = ((Gdk.EventMask)(0));
this.label2.Name = "label2";
this.label2.Xalign = 0F;
this.label2.LabelProp = Mono.Unix.Catalog.GetString("Win32 Icon:");
@@ -202,7 +188,6 @@
w9.YOptions = ((Gtk.AttachOptions)(4));
// Container child table7.Gtk.Table+TableChild
this.label86 = new Gtk.Label();
- this.label86.Events = ((Gdk.EventMask)(0));
this.label86.Name = "label86";
this.label86.Xalign = 0F;
this.label86.LabelProp = Mono.Unix.Catalog.GetString("Compile
_Target:");
@@ -213,7 +198,6 @@
w10.YOptions = ((Gtk.AttachOptions)(0));
// Container child table7.Gtk.Table+TableChild
this.label87 = new Gtk.Label();
- this.label87.Events = ((Gdk.EventMask)(0));
this.label87.Name = "label87";
this.label87.Xalign = 0F;
this.label87.LabelProp = Mono.Unix.Catalog.GetString("Define
S_ymbols:");
@@ -226,7 +210,6 @@
w11.YOptions = ((Gtk.AttachOptions)(0));
// Container child table7.Gtk.Table+TableChild
this.label88 = new Gtk.Label();
- this.label88.Events = ((Gdk.EventMask)(0));
this.label88.Name = "label88";
this.label88.Xalign = 0F;
this.label88.LabelProp = Mono.Unix.Catalog.GetString("_Main
Class:");
@@ -239,7 +222,6 @@
w12.YOptions = ((Gtk.AttachOptions)(0));
// Container child table7.Gtk.Table+TableChild
this.mainClassEntry = new Gtk.ComboBoxEntry();
- this.mainClassEntry.Events = ((Gdk.EventMask)(0));
this.mainClassEntry.Name = "mainClassEntry";
this.table7.Add(this.mainClassEntry);
Gtk.Table.TableChild w13 =
((Gtk.Table.TableChild)(this.table7[this.mainClassEntry]));
@@ -252,7 +234,6 @@
// Container child table7.Gtk.Table+TableChild
this.symbolsEntry = new Gtk.Entry();
this.symbolsEntry.CanFocus = true;
- this.symbolsEntry.Events = ((Gdk.EventMask)(0));
this.symbolsEntry.Name = "symbolsEntry";
this.symbolsEntry.IsEditable = true;
this.symbolsEntry.InvisibleChar = '●';
@@ -276,7 +257,6 @@
w17.Fill = false;
// Container child vbox62.Gtk.Box+BoxChild
this.label90 = new Gtk.Label();
- this.label90.Events = ((Gdk.EventMask)(0));
this.label90.Name = "label90";
this.label90.Xalign = 0F;
this.label90.LabelProp =
Mono.Unix.Catalog.GetString("<b>Warnings</b>");
@@ -289,12 +269,10 @@
w18.Fill = false;
// Container child vbox62.Gtk.Box+BoxChild
this.hbox47 = new Gtk.HBox();
- this.hbox47.Events = ((Gdk.EventMask)(0));
this.hbox47.Name = "hbox47";
// Container child hbox47.Gtk.Box+BoxChild
this.label72 = new Gtk.Label();
this.label72.WidthRequest = 18;
- this.label72.Events = ((Gdk.EventMask)(0));
this.label72.Name = "label72";
this.label72.LabelProp = "";
this.hbox47.Add(this.label72);
@@ -304,17 +282,14 @@
w19.Fill = false;
// Container child hbox47.Gtk.Box+BoxChild
this.vbox64 = new Gtk.VBox();
- this.vbox64.Events = ((Gdk.EventMask)(0));
this.vbox64.Name = "vbox64";
this.vbox64.Spacing = 6;
// Container child vbox64.Gtk.Box+BoxChild
this.hbox55 = new Gtk.HBox();
- this.hbox55.Events = ((Gdk.EventMask)(0));
this.hbox55.Name = "hbox55";
this.hbox55.Spacing = 6;
// Container child hbox55.Gtk.Box+BoxChild
this.label80 = new Gtk.Label();
- this.label80.Events = ((Gdk.EventMask)(0));
this.label80.Name = "label80";
this.label80.LabelProp = Mono.Unix.Catalog.GetString("_Warning
Level:");
this.label80.UseUnderline = true;
@@ -326,7 +301,6 @@
// Container child hbox55.Gtk.Box+BoxChild
this.warningLevelSpinButton = new Gtk.SpinButton(0, 4, 1);
this.warningLevelSpinButton.CanFocus = true;
- this.warningLevelSpinButton.Events = ((Gdk.EventMask)(0));
this.warningLevelSpinButton.Name = "warningLevelSpinButton";
this.warningLevelSpinButton.Adjustment.PageIncrement = 1;
this.warningLevelSpinButton.Adjustment.PageSize = 1;
@@ -346,7 +320,6 @@
// Container child vbox64.Gtk.Box+BoxChild
this.generateOverflowChecksCheckButton = new Gtk.CheckButton();
this.generateOverflowChecksCheckButton.CanFocus = true;
- this.generateOverflowChecksCheckButton.Events =
((Gdk.EventMask)(0));
this.generateOverflowChecksCheckButton.Name =
"generateOverflowChecksCheckButton";
this.generateOverflowChecksCheckButton.Label =
Mono.Unix.Catalog.GetString("_Generate overflow checks");
this.generateOverflowChecksCheckButton.DrawIndicator = true;
@@ -359,7 +332,6 @@
// Container child vbox64.Gtk.Box+BoxChild
this.allowUnsafeCodeCheckButton = new Gtk.CheckButton();
this.allowUnsafeCodeCheckButton.CanFocus = true;
- this.allowUnsafeCodeCheckButton.Events = ((Gdk.EventMask)(0));
this.allowUnsafeCodeCheckButton.Name =
"allowUnsafeCodeCheckButton";
this.allowUnsafeCodeCheckButton.Label =
Mono.Unix.Catalog.GetString("Allow '_unsafe' code");
this.allowUnsafeCodeCheckButton.DrawIndicator = true;
@@ -372,7 +344,6 @@
// Container child vbox64.Gtk.Box+BoxChild
this.enableOptimizationCheckButton = new Gtk.CheckButton();
this.enableOptimizationCheckButton.CanFocus = true;
- this.enableOptimizationCheckButton.Events = ((Gdk.EventMask)(0));
this.enableOptimizationCheckButton.Name =
"enableOptimizationCheckButton";
this.enableOptimizationCheckButton.Label =
Mono.Unix.Catalog.GetString("Enable _optimizations");
this.enableOptimizationCheckButton.DrawIndicator = true;
@@ -385,7 +356,6 @@
// Container child vbox64.Gtk.Box+BoxChild
this.warningsAsErrorsCheckButton = new Gtk.CheckButton();
this.warningsAsErrorsCheckButton.CanFocus = true;
- this.warningsAsErrorsCheckButton.Events = ((Gdk.EventMask)(0));
this.warningsAsErrorsCheckButton.Name =
"warningsAsErrorsCheckButton";
this.warningsAsErrorsCheckButton.Label =
Mono.Unix.Catalog.GetString("Treat warnings as _errors");
this.warningsAsErrorsCheckButton.DrawIndicator = true;
@@ -398,7 +368,6 @@
// Container child vbox64.Gtk.Box+BoxChild
this.generateDebugInformationCheckButton = new Gtk.CheckButton();
this.generateDebugInformationCheckButton.CanFocus = true;
- this.generateDebugInformationCheckButton.Events =
((Gdk.EventMask)(0));
this.generateDebugInformationCheckButton.Name =
"generateDebugInformationCheckButton";
this.generateDebugInformationCheckButton.Label =
Mono.Unix.Catalog.GetString("Emit _debugging information");
this.generateDebugInformationCheckButton.DrawIndicator = true;
@@ -411,7 +380,6 @@
// Container child vbox64.Gtk.Box+BoxChild
this.generateXmlOutputCheckButton = new Gtk.CheckButton();
this.generateXmlOutputCheckButton.CanFocus = true;
- this.generateXmlOutputCheckButton.Events = ((Gdk.EventMask)(0));
this.generateXmlOutputCheckButton.Name =
"generateXmlOutputCheckButton";
this.generateXmlOutputCheckButton.Label =
Mono.Unix.Catalog.GetString("Generate _xml documentation");
this.generateXmlOutputCheckButton.DrawIndicator = true;
Modified:
trunk/monodevelop/Extras/CSharpBinding/gtk-gui/CSharpBinding.FormattingPanelWidget.cs
===================================================================
---
trunk/monodevelop/Extras/CSharpBinding/gtk-gui/CSharpBinding.FormattingPanelWidget.cs
2007-08-31 14:02:42 UTC (rev 85107)
+++
trunk/monodevelop/Extras/CSharpBinding/gtk-gui/CSharpBinding.FormattingPanelWidget.cs
2007-08-31 14:03:13 UTC (rev 85108)
@@ -43,16 +43,13 @@
Stetic.Gui.Initialize();
// Widget CSharpBinding.FormattingPanelWidget
Stetic.BinContainer.Attach(this);
- this.Events = ((Gdk.EventMask)(0));
this.Name = "CSharpBinding.FormattingPanelWidget";
// Container child
CSharpBinding.FormattingPanelWidget.Gtk.Container+ContainerChild
this.container = new Gtk.VBox();
- this.container.Events = ((Gdk.EventMask)(0));
this.container.Name = "container";
this.container.Spacing = 12;
// Container child container.Gtk.Box+BoxChild
this.Indentation = new Gtk.Label();
- this.Indentation.Events = ((Gdk.EventMask)(0));
this.Indentation.Name = "Indentation";
this.Indentation.Xalign = 0F;
this.Indentation.LabelProp =
Mono.Unix.Catalog.GetString("<b>Indentation</b>");
@@ -64,12 +61,10 @@
w1.Fill = false;
// Container child container.Gtk.Box+BoxChild
this.hboxIndentation = new Gtk.HBox();
- this.hboxIndentation.Events = ((Gdk.EventMask)(0));
this.hboxIndentation.Name = "hboxIndentation";
// Container child hboxIndentation.Gtk.Box+BoxChild
this.indentationSpacer = new Gtk.Label();
this.indentationSpacer.WidthRequest = 18;
- this.indentationSpacer.Events = ((Gdk.EventMask)(0));
this.indentationSpacer.Name = "indentationSpacer";
this.indentationSpacer.LabelProp = "";
this.hboxIndentation.Add(this.indentationSpacer);
@@ -79,13 +74,11 @@
w2.Fill = false;
// Container child hboxIndentation.Gtk.Box+BoxChild
this.vboxIndentation = new Gtk.VBox();
- this.vboxIndentation.Events = ((Gdk.EventMask)(0));
this.vboxIndentation.Name = "vboxIndentation";
this.vboxIndentation.Spacing = 6;
// Container child vboxIndentation.Gtk.Box+BoxChild
this.indentCaseLabels = new Gtk.CheckButton();
this.indentCaseLabels.CanFocus = true;
- this.indentCaseLabels.Events = ((Gdk.EventMask)(0));
this.indentCaseLabels.Name = "indentCaseLabels";
this.indentCaseLabels.Label = Mono.Unix.Catalog.GetString("Indent
case labels");
this.indentCaseLabels.DrawIndicator = true;
@@ -107,7 +100,6 @@
w5.Fill = false;
// Container child container.Gtk.Box+BoxChild
this.LabelIndentation = new Gtk.Label();
- this.LabelIndentation.Events = ((Gdk.EventMask)(0));
this.LabelIndentation.Name = "LabelIndentation";
this.LabelIndentation.Xalign = 0F;
this.LabelIndentation.LabelProp =
Mono.Unix.Catalog.GetString("<b>Label Indentation</b>");
@@ -119,12 +111,10 @@
w6.Fill = false;
// Container child container.Gtk.Box+BoxChild
this.hboxLabelIndentation = new Gtk.HBox();
- this.hboxLabelIndentation.Events = ((Gdk.EventMask)(0));
this.hboxLabelIndentation.Name = "hboxLabelIndentation";
// Container child hboxLabelIndentation.Gtk.Box+BoxChild
this.labelIndentationSpacer = new Gtk.Label();
this.labelIndentationSpacer.WidthRequest = 18;
- this.labelIndentationSpacer.Events = ((Gdk.EventMask)(0));
this.labelIndentationSpacer.Name = "labelIndentationSpacer";
this.labelIndentationSpacer.LabelProp = "";
this.hboxLabelIndentation.Add(this.labelIndentationSpacer);
@@ -134,13 +124,11 @@
w7.Fill = false;
// Container child hboxLabelIndentation.Gtk.Box+BoxChild
this.vboxLabelIndentation = new Gtk.VBox();
- this.vboxLabelIndentation.Events = ((Gdk.EventMask)(0));
this.vboxLabelIndentation.Name = "vboxLabelIndentation";
this.vboxLabelIndentation.Spacing = 6;
// Container child vboxLabelIndentation.Gtk.Box+BoxChild
this.indentGotoLabelsLeftJustify = new
Gtk.RadioButton(Mono.Unix.Catalog.GetString("Place goto labels in leftmost
column"));
this.indentGotoLabelsLeftJustify.CanFocus = true;
- this.indentGotoLabelsLeftJustify.Events = ((Gdk.EventMask)(0));
this.indentGotoLabelsLeftJustify.Name =
"indentGotoLabelsLeftJustify";
this.indentGotoLabelsLeftJustify.Active = true;
this.indentGotoLabelsLeftJustify.DrawIndicator = true;
@@ -154,7 +142,6 @@
// Container child vboxLabelIndentation.Gtk.Box+BoxChild
this.indentGotoLabelsUpOneLevel = new
Gtk.RadioButton(Mono.Unix.Catalog.GetString("Place goto labels one indent less
than current"));
this.indentGotoLabelsUpOneLevel.CanFocus = true;
- this.indentGotoLabelsUpOneLevel.Events = ((Gdk.EventMask)(0));
this.indentGotoLabelsUpOneLevel.Name =
"indentGotoLabelsUpOneLevel";
this.indentGotoLabelsUpOneLevel.DrawIndicator = true;
this.indentGotoLabelsUpOneLevel.UseUnderline = true;
@@ -167,7 +154,6 @@
// Container child vboxLabelIndentation.Gtk.Box+BoxChild
this.indentGotoLabelsNormally = new
Gtk.RadioButton(Mono.Unix.Catalog.GetString("Indent goto labels normally"));
this.indentGotoLabelsNormally.CanFocus = true;
- this.indentGotoLabelsNormally.Events = ((Gdk.EventMask)(0));
this.indentGotoLabelsNormally.Name = "indentGotoLabelsNormally";
this.indentGotoLabelsNormally.DrawIndicator = true;
this.indentGotoLabelsNormally.UseUnderline = true;
Modified: trunk/monodevelop/Extras/CSharpBinding/gtk-gui/gui.stetic
===================================================================
--- trunk/monodevelop/Extras/CSharpBinding/gtk-gui/gui.stetic 2007-08-31
14:02:42 UTC (rev 85107)
+++ trunk/monodevelop/Extras/CSharpBinding/gtk-gui/gui.stetic 2007-08-31
14:03:13 UTC (rev 85108)
@@ -1,9 +1,13 @@
<?xml version="1.0" encoding="utf-8"?>
<stetic-interface>
+ <configuration>
+ <images-root-path>../</images-root-path>
+ <target-gtk-version>2.10.0</target-gtk-version>
+ </configuration>
<import>
- <widget-library name="../../../build/AddIns/MonoDevelop.Ide.dll" />
- <widget-library name="../../../build/AddIns/MonoDevelop.Components.dll" />
- <widget-library name="../../../build/AddIns/MonoDevelop.Projects.Gui.dll"
/>
+ <widget-library name="../../../build/bin/MonoDevelop.Ide.dll" />
+ <widget-library name="../../../build/bin/MonoDevelop.Components.dll" />
+ <widget-library name="../../../build/bin/MonoDevelop.Projects.Gui.dll" />
</import>
<widget class="Gtk.Bin" id="CSharpBinding.CodeGenerationPanelWidget"
design-size="356 416">
<property name="MemberName" />
_______________________________________________
Mono-patches maillist - [email protected]
http://lists.ximian.com/mailman/listinfo/mono-patches