Author: mkrueger
Date: 2007-08-31 10:08:47 -0400 (Fri, 31 Aug 2007)
New Revision: 85119
Modified:
trunk/monodevelop/Extras/MonoDevelop.GtkCore/ChangeLog
trunk/monodevelop/Extras/MonoDevelop.GtkCore/MonoDevelop.GtkCore.Dialogs/WidgetBuilderOptionPanel.cs
trunk/monodevelop/Extras/MonoDevelop.GtkCore/MonoDevelop.GtkCore.GuiBuilder/GuiBuilderService.cs
trunk/monodevelop/Extras/MonoDevelop.GtkCore/MonoDevelop.GtkCore.GuiBuilder/PropertiesWidget.cs
Log:
* MonoDevelop.GtkCore.Dialogs/WidgetBuilderOptionPanel.cs,
MonoDevelop.GtkCore.GuiBuilder/GuiBuilderService.cs,
MonoDevelop.GtkCore.GuiBuilder/PropertiesWidget.cs: Changes due to
new property infrastructure.
Modified: trunk/monodevelop/Extras/MonoDevelop.GtkCore/ChangeLog
===================================================================
--- trunk/monodevelop/Extras/MonoDevelop.GtkCore/ChangeLog 2007-08-31
14:08:25 UTC (rev 85118)
+++ trunk/monodevelop/Extras/MonoDevelop.GtkCore/ChangeLog 2007-08-31
14:08:47 UTC (rev 85119)
@@ -1,3 +1,10 @@
+2007-08-31 Mike Krüger <[EMAIL PROTECTED]>
+
+ * MonoDevelop.GtkCore.Dialogs/WidgetBuilderOptionPanel.cs,
+ MonoDevelop.GtkCore.GuiBuilder/GuiBuilderService.cs,
+ MonoDevelop.GtkCore.GuiBuilder/PropertiesWidget.cs: Changes due to new
+ property infrastructure.
+
2007-08-16 Lluis Sanchez Gual <[EMAIL PROTECTED]>
* MonoDevelop.GtkCore/GtkDesignInfo.cs,
Modified:
trunk/monodevelop/Extras/MonoDevelop.GtkCore/MonoDevelop.GtkCore.Dialogs/WidgetBuilderOptionPanel.cs
===================================================================
---
trunk/monodevelop/Extras/MonoDevelop.GtkCore/MonoDevelop.GtkCore.Dialogs/WidgetBuilderOptionPanel.cs
2007-08-31 14:08:25 UTC (rev 85118)
+++
trunk/monodevelop/Extras/MonoDevelop.GtkCore/MonoDevelop.GtkCore.Dialogs/WidgetBuilderOptionPanel.cs
2007-08-31 14:08:47 UTC (rev 85119)
@@ -34,7 +34,7 @@
using Gdk;
using Glade;
-using MonoDevelop.Core.Properties;
+using MonoDevelop.Core;
using MonoDevelop.Projects;
using MonoDevelop.Projects.Parser;
using MonoDevelop.Ide.Gui;
@@ -65,7 +65,7 @@
ArrayList selection;
GtkDesignInfo designInfo;
- public WidgetBuilderOptionPanelWidget (IProperties
customizationObject) : base ("gui.glade", "WidgetBuilderOptions")
+ public WidgetBuilderOptionPanelWidget (Properties
customizationObject) : base ("gui.glade", "WidgetBuilderOptions")
{
store = new ListStore (typeof(bool),
typeof(Pixbuf), typeof(string), typeof(object));
tree.Model = store;
@@ -89,7 +89,7 @@
tree.AppendColumn (column);
- this.project =
(Project)((IProperties)customizationObject).GetProperty("Project");
+ this.project =
((Properties)customizationObject).Get<Project> ("Project");
designInfo = GtkCoreService.GetGtkInfo
(project);
selection = new ArrayList ();
@@ -149,7 +149,7 @@
}
}
- public void Store (IProperties customizationObject)
+ public void Store (Properties customizationObject)
{
if (checkGtkEnabled.Active) {
if (designInfo == null)
@@ -183,7 +183,7 @@
public override void LoadPanelContents()
{
try {
- Add (widget = new
WidgetBuilderOptionPanelWidget ((IProperties) CustomizationObject));
+ Add (widget = new
WidgetBuilderOptionPanelWidget ((Properties) CustomizationObject));
} catch (Exception ex) {
Console.WriteLine (ex);
}
@@ -191,7 +191,7 @@
public override bool StorePanelContents()
{
- widget.Store ((IProperties) CustomizationObject);
+ widget.Store ((Properties) CustomizationObject);
return true;
}
}
Modified:
trunk/monodevelop/Extras/MonoDevelop.GtkCore/MonoDevelop.GtkCore.GuiBuilder/GuiBuilderService.cs
===================================================================
---
trunk/monodevelop/Extras/MonoDevelop.GtkCore/MonoDevelop.GtkCore.GuiBuilder/GuiBuilderService.cs
2007-08-31 14:08:25 UTC (rev 85118)
+++
trunk/monodevelop/Extras/MonoDevelop.GtkCore/MonoDevelop.GtkCore.GuiBuilder/GuiBuilderService.cs
2007-08-31 14:08:47 UTC (rev 85119)
@@ -89,7 +89,7 @@
if (steticApp == null) {
steticApp = new Stetic.Application
(IsolationMode);
steticApp.AllowInProcLibraries = false;
- steticApp.ShowNonContainerWarning =
Runtime.Properties.GetProperty ("MonoDevelop.GtkCore.ShowNonContainerWarning",
true);
+ steticApp.ShowNonContainerWarning =
PropertyService.Get ("MonoDevelop.GtkCore.ShowNonContainerWarning", true);
}
return steticApp;
}
@@ -97,8 +97,8 @@
internal static void StoreConfiguration ()
{
- Runtime.Properties.SetProperty
("MonoDevelop.GtkCore.ShowNonContainerWarning",
steticApp.ShowNonContainerWarning);
- Runtime.Properties.SaveProperties ();
+ PropertyService.Set
("MonoDevelop.GtkCore.ShowNonContainerWarning",
steticApp.ShowNonContainerWarning);
+ PropertyService.SaveProperties ();
}
Modified:
trunk/monodevelop/Extras/MonoDevelop.GtkCore/MonoDevelop.GtkCore.GuiBuilder/PropertiesWidget.cs
===================================================================
---
trunk/monodevelop/Extras/MonoDevelop.GtkCore/MonoDevelop.GtkCore.GuiBuilder/PropertiesWidget.cs
2007-08-31 14:08:25 UTC (rev 85118)
+++
trunk/monodevelop/Extras/MonoDevelop.GtkCore/MonoDevelop.GtkCore.GuiBuilder/PropertiesWidget.cs
2007-08-31 14:08:47 UTC (rev 85119)
@@ -79,7 +79,7 @@
/* public class GuiBuilderPropertiesPad: AbstractPadContent
{
- Stetic.WidgetPropertyTree grid;
+ Stetic.WidGetTree grid;
Stetic.SignalsEditor signalsEditor;
Gtk.EventBox infoBox;
Gtk.Widget widget;
_______________________________________________
Mono-patches maillist - [email protected]
http://lists.ximian.com/mailman/listinfo/mono-patches