Author: lluis
Date: 2006-12-17 12:37:59 -0500 (Sun, 17 Dec 2006)
New Revision: 69614

Modified:
   trunk/monodevelop/Core/src/MonoDevelop.Components/ChangeLog
   
trunk/monodevelop/Core/src/MonoDevelop.Components/MonoDevelop.Components/FileSelector.cs
Log:
* MonoDevelop.Components/FileSelector.cs: Track changes in FileService
  API.

Modified: trunk/monodevelop/Core/src/MonoDevelop.Components/ChangeLog
===================================================================
--- trunk/monodevelop/Core/src/MonoDevelop.Components/ChangeLog 2006-12-17 
17:35:50 UTC (rev 69613)
+++ trunk/monodevelop/Core/src/MonoDevelop.Components/ChangeLog 2006-12-17 
17:37:59 UTC (rev 69614)
@@ -1,3 +1,8 @@
+2006-12-17  Lluis Sanchez Gual <[EMAIL PROTECTED]> 
+
+       * MonoDevelop.Components/FileSelector.cs: Track changes in FileService
+         API.
+
 2006-12-13 Jacob Ilsø Christensen  <[EMAIL PROTECTED]>
 
        * MonoDevelop.Components.Commands/CommandHandler.cs:

Modified: 
trunk/monodevelop/Core/src/MonoDevelop.Components/MonoDevelop.Components/FileSelector.cs
===================================================================
--- 
trunk/monodevelop/Core/src/MonoDevelop.Components/MonoDevelop.Components/FileSelector.cs
    2006-12-17 17:35:50 UTC (rev 69613)
+++ 
trunk/monodevelop/Core/src/MonoDevelop.Components/MonoDevelop.Components/FileSelector.cs
    2006-12-17 17:37:59 UTC (rev 69614)
@@ -9,7 +9,6 @@
        {
                const string LastPathProperty = 
"MonoDevelop.FileSelector.LastPath";
                PropertyService propertyService = (PropertyService) 
ServiceManager.GetService (typeof (PropertyService));
-               FileUtilityService fileUtilityService = (FileUtilityService) 
ServiceManager.GetService (typeof (FileUtilityService));
 
                public FileSelector () : this (GettextCatalog.GetString ("Open 
file..."), FileChooserAction.Open)
                {
@@ -51,9 +50,9 @@
                                this.SetCurrentFolder 
(Environment.GetFolderPath (Environment.SpecialFolder.Personal));
 
                        // add default project path as a MD bookmark
-                       string pathName = propertyService.GetProperty 
("MonoDevelop.Core.Gui.Dialogs.NewProjectDialog.DefaultPath", 
fileUtilityService.GetDirectoryNameWithSeparator (Environment.GetFolderPath 
(Environment.SpecialFolder.Personal))).ToString ();
+                       string pathName = propertyService.GetProperty 
("MonoDevelop.Core.Gui.Dialogs.NewProjectDialog.DefaultPath", 
Runtime.FileService.GetDirectoryNameWithSeparator (Environment.GetFolderPath 
(Environment.SpecialFolder.Personal))).ToString ();
 
-                       if (fileUtilityService.IsDirectory (pathName)) {
+                       if (Runtime.FileService.IsDirectory (pathName)) {
                                try {
                                        this.AddShortcutFolder (pathName);
                                } catch {

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

Reply via email to