Author: mkrueger
Date: 2007-08-31 10:05:10 -0400 (Fri, 31 Aug 2007)
New Revision: 85112

Modified:
   
trunk/monodevelop/Extras/VersionControl/MonoDevelop.VersionControl/MonoDevelop.VersionControl.Dialogs/SelectRepositoryDialog.cs
   
trunk/monodevelop/Extras/VersionControl/MonoDevelop.VersionControl/MonoDevelop.VersionControl/Publish.cs
   
trunk/monodevelop/Extras/VersionControl/MonoDevelop.VersionControl/MonoDevelop.VersionControl/VersionControlProjectService.cs
   
trunk/monodevelop/Extras/VersionControl/MonoDevelop.VersionControl/MonoDevelop.VersionControl/VersionControlService.cs
Log:
* MonoDevelop.VersionControl.Dialogs/SelectRepositoryDialog.cs,
  MonoDevelop.VersionControl/VersionControlProjectService.cs,
  MonoDevelop.VersionControl/Publish.cs,
  MonoDevelop.VersionControl/VersionControlService.cs: Changes due to
  new property infrastructure.

Modified: 
trunk/monodevelop/Extras/VersionControl/MonoDevelop.VersionControl/MonoDevelop.VersionControl/Publish.cs
===================================================================
--- 
trunk/monodevelop/Extras/VersionControl/MonoDevelop.VersionControl/MonoDevelop.VersionControl/Publish.cs
    2007-08-31 14:05:09 UTC (rev 85111)
+++ 
trunk/monodevelop/Extras/VersionControl/MonoDevelop.VersionControl/MonoDevelop.VersionControl/Publish.cs
    2007-08-31 14:05:10 UTC (rev 85112)
@@ -3,7 +3,7 @@
 
 using MonoDevelop.Projects;
 using MonoDevelop.Core;
-using MonoDevelop.Core.Properties;
+using MonoDevelop.Core;
 using MonoDevelop.Ide.Gui;
 
 using MonoDevelop.VersionControl.Dialogs;

Modified: 
trunk/monodevelop/Extras/VersionControl/MonoDevelop.VersionControl/MonoDevelop.VersionControl/VersionControlProjectService.cs
===================================================================
--- 
trunk/monodevelop/Extras/VersionControl/MonoDevelop.VersionControl/MonoDevelop.VersionControl/VersionControlProjectService.cs
       2007-08-31 14:05:09 UTC (rev 85111)
+++ 
trunk/monodevelop/Extras/VersionControl/MonoDevelop.VersionControl/MonoDevelop.VersionControl/VersionControlProjectService.cs
       2007-08-31 14:05:10 UTC (rev 85112)
@@ -168,7 +168,7 @@
                        if (comments != null)
                                return comments;
                        
-                       string file = Path.Combine 
(Runtime.Properties.ConfigDirectory, "version-control-commit-msg");
+                       string file = Path.Combine (PropertyService.ConfigPath, 
"version-control-commit-msg");
                        if (File.Exists (file)) {
                                FileStream stream = null;
                                try {
@@ -210,15 +210,15 @@
                                
                        FileStream stream = null;
                        try {
-                               string file = Path.Combine 
(Runtime.Properties.ConfigDirectory, "version-control-commit-msg");
+                               string file = Path.Combine 
(PropertyService.ConfigPath, "version-control-commit-msg");
                                if (comments.Count == 0) {
                                        if (File.Exists (file))
                                                Runtime.FileService.DeleteFile 
(file);
                                        return;
                                }
                        
-                               if (!Directory.Exists 
(Runtime.Properties.ConfigDirectory))
-                                       Directory.CreateDirectory 
(Runtime.Properties.ConfigDirectory);
+                               if (!Directory.Exists 
(PropertyService.ConfigPath))
+                                       Directory.CreateDirectory 
(PropertyService.ConfigPath);
                                stream = new FileStream (file, FileMode.Create, 
FileAccess.Write);
                                BinaryFormatter formatter = new BinaryFormatter 
();
                                formatter.Serialize (stream, comments);

Modified: 
trunk/monodevelop/Extras/VersionControl/MonoDevelop.VersionControl/MonoDevelop.VersionControl/VersionControlService.cs
===================================================================
--- 
trunk/monodevelop/Extras/VersionControl/MonoDevelop.VersionControl/MonoDevelop.VersionControl/VersionControlService.cs
      2007-08-31 14:05:09 UTC (rev 85111)
+++ 
trunk/monodevelop/Extras/VersionControl/MonoDevelop.VersionControl/MonoDevelop.VersionControl/VersionControlService.cs
      2007-08-31 14:05:10 UTC (rev 85112)
@@ -38,7 +38,7 @@
                
                static string ConfigFile {
                        get {
-                               return Path.Combine 
(Runtime.Properties.ConfigDirectory, "VersionControl.config");
+                               return Path.Combine 
(PropertyService.ConfigPath, "VersionControl.config");
                        }
                }
                

Modified: 
trunk/monodevelop/Extras/VersionControl/MonoDevelop.VersionControl/MonoDevelop.VersionControl.Dialogs/SelectRepositoryDialog.cs
===================================================================
--- 
trunk/monodevelop/Extras/VersionControl/MonoDevelop.VersionControl/MonoDevelop.VersionControl.Dialogs/SelectRepositoryDialog.cs
     2007-08-31 14:05:09 UTC (rev 85111)
+++ 
trunk/monodevelop/Extras/VersionControl/MonoDevelop.VersionControl/MonoDevelop.VersionControl.Dialogs/SelectRepositoryDialog.cs
     2007-08-31 14:05:10 UTC (rev 85112)
@@ -60,7 +60,7 @@
                                entryName.Visible = false;
                                boxMessage.Visible = false;
                                labelMessage.Visible = false;
-                               string pathName = 
MonoDevelop.Core.Runtime.Properties.GetProperty 
("MonoDevelop.Core.Gui.Dialogs.NewProjectDialog.DefaultPath", 
Environment.GetFolderPath (Environment.SpecialFolder.Personal)).ToString ();
+                               string pathName = 
MonoDevelop.Core.PropertyService.Get 
("MonoDevelop.Core.Gui.Dialogs.NewProjectDialog.DefaultPath", 
Environment.GetFolderPath (Environment.SpecialFolder.Personal)).ToString ();
                                entryFolder.Text = pathName;
                        } else {
                                labelTargetDir.Visible = false;

_______________________________________________
Mono-patches maillist  -  [email protected]
http://lists.ximian.com/mailman/listinfo/mono-patches

Reply via email to