[Monodevelop-patches-list] r1604 - in trunk/MonoDevelop/src: AddIns/prj2make-sharp-lib Main/Base Main/Base/Commands Main/Base/Commands/ProjectBrowserCommands Main/Base/Gui/Dialogs Main/Base/Gui/Dialogs/OptionPanels/IDEOptions
commit-watcher at mono-cvs.ximian.com
commit-watcher at mono-cvs.ximian.com
Mon May 17 18:18:57 EDT 2004
Author: tberman
Date: 2004-05-17 18:18:57 -0400 (Mon, 17 May 2004)
New Revision: 1604
Modified:
trunk/MonoDevelop/src/AddIns/prj2make-sharp-lib/ChangeLog
trunk/MonoDevelop/src/AddIns/prj2make-sharp-lib/prj2make-sharp-lib-Commands.cs
trunk/MonoDevelop/src/Main/Base/ChangeLog
trunk/MonoDevelop/src/Main/Base/Commands/FileCommands.cs
trunk/MonoDevelop/src/Main/Base/Commands/ProjectBrowserCommands/CombineNodeCommands.cs
trunk/MonoDevelop/src/Main/Base/Gui/Dialogs/NewProjectDialog.cs
trunk/MonoDevelop/src/Main/Base/Gui/Dialogs/OptionPanels/IDEOptions/LoadSavePanel.cs
Log:
use envvar HOME instead of SpecialFolder.Personal
Modified: trunk/MonoDevelop/src/AddIns/prj2make-sharp-lib/ChangeLog
===================================================================
--- trunk/MonoDevelop/src/AddIns/prj2make-sharp-lib/ChangeLog 2004-05-17 06:48:59 UTC (rev 1603)
+++ trunk/MonoDevelop/src/AddIns/prj2make-sharp-lib/ChangeLog 2004-05-17 22:18:57 UTC (rev 1604)
@@ -1,3 +1,7 @@
+2004-05-17 Todd Berman <tberman at sevenl.net>
+
+ * prj2make-sharp-lib-Commands.cs: use HOME instead of Personal
+
2004-04-25 Francisco "Paco" Martinez <paco at mfcon.com>
Files removed
* AssemblyInfo.cs -- This file is now generated in the build by
Modified: trunk/MonoDevelop/src/AddIns/prj2make-sharp-lib/prj2make-sharp-lib-Commands.cs
===================================================================
--- trunk/MonoDevelop/src/AddIns/prj2make-sharp-lib/prj2make-sharp-lib-Commands.cs 2004-05-17 06:48:59 UTC (rev 1603)
+++ trunk/MonoDevelop/src/AddIns/prj2make-sharp-lib/prj2make-sharp-lib-Commands.cs 2004-05-17 22:18:57 UTC (rev 1604)
@@ -21,7 +21,7 @@
SlnMaker slnMkObj = null;
string defaultFolder = PropertyService.GetProperty(
"MonoDevelop.Gui.Dialogs.NewProjectDialog.DefaultPath",
- System.IO.Path.Combine(System.Environment.GetFolderPath(System.Environment.SpecialFolder.Personal),
+ System.IO.Path.Combine(System.Environment.GetEnvironmentVariable ("HOME"),
"MonoDevelopProjects")).ToString();
fs.Complete (defaultFolder);
int response = fs.Run ();
Modified: trunk/MonoDevelop/src/Main/Base/ChangeLog
===================================================================
--- trunk/MonoDevelop/src/Main/Base/ChangeLog 2004-05-17 06:48:59 UTC (rev 1603)
+++ trunk/MonoDevelop/src/Main/Base/ChangeLog 2004-05-17 22:18:57 UTC (rev 1604)
@@ -1,3 +1,11 @@
+2004-05-17 Todd Berman <tberman at sevenl.net>
+
+ * Commands/ProjectBrowserCommands/CombineNodeCommands.cs:
+ * Commands/FileCommands.cs:
+ * Gui/Dialogs/NewProjectDialog.cs:
+ * Gui/Dialogs/OptionPanels/IDEOptions/LoadSavePanel.cs: change from
+ SpecialFolder.Personal to getenv ("HOME").
+
2004-05-16 Todd Berman <tberman at sevenl.net>
* Gui/Dialogs/ReferenceDialog/SelectReferenceDialog.cs: fix to use
Modified: trunk/MonoDevelop/src/Main/Base/Commands/FileCommands.cs
===================================================================
--- trunk/MonoDevelop/src/Main/Base/Commands/FileCommands.cs 2004-05-17 06:48:59 UTC (rev 1603)
+++ trunk/MonoDevelop/src/Main/Base/Commands/FileCommands.cs 2004-05-17 22:18:57 UTC (rev 1604)
@@ -230,7 +230,7 @@
using (Gtk.FileSelection fs = new Gtk.FileSelection (GettextCatalog.GetString ("File to Open"))) {
string defaultFolder = PropertyService.GetProperty(
"MonoDevelop.Gui.Dialogs.NewProjectDialog.DefaultPath",
- System.IO.Path.Combine(System.Environment.GetFolderPath(System.Environment.SpecialFolder.Personal),
+ System.IO.Path.Combine(System.Environment.GetEnvironmentVariable ("HOME"),
"MonoDevelopProjects")).ToString();
fs.Complete (defaultFolder);
int response = fs.Run ();
@@ -302,7 +302,7 @@
using (Gtk.FileSelection fs = new Gtk.FileSelection (GettextCatalog.GetString ("File to Open"))) {
string defaultFolder = PropertyService.GetProperty(
"MonoDevelop.Gui.Dialogs.NewProjectDialog.DefaultPath",
- System.IO.Path.Combine(System.Environment.GetFolderPath(System.Environment.SpecialFolder.Personal),
+ System.IO.Path.Combine(System.Environment.GetEnvironmentVariable ("HOME"),
"MonoDevelopProjects")).ToString();
fs.Complete (defaultFolder);
int response = fs.Run ();
Modified: trunk/MonoDevelop/src/Main/Base/Commands/ProjectBrowserCommands/CombineNodeCommands.cs
===================================================================
--- trunk/MonoDevelop/src/Main/Base/Commands/ProjectBrowserCommands/CombineNodeCommands.cs 2004-05-17 06:48:59 UTC (rev 1603)
+++ trunk/MonoDevelop/src/Main/Base/Commands/ProjectBrowserCommands/CombineNodeCommands.cs 2004-05-17 22:18:57 UTC (rev 1604)
@@ -100,7 +100,7 @@
StringParserService stringParserService = (StringParserService)ServiceManager.Services.GetService(typeof(StringParserService));
string defaultFolder = propertyService.GetProperty(
"MonoDevelop.Gui.Dialogs.NewProjectDialog.DefaultPath",
- System.IO.Path.Combine(System.Environment.GetFolderPath(System.Environment.SpecialFolder.Personal),
+ System.IO.Path.Combine(System.Environment.GetEnvironmentVariable ("HOME"),
"MonoDevelopProjects")).ToString();
fdiag.Complete (defaultFolder);
@@ -148,7 +148,7 @@
string defaultFolder = propertyService.GetProperty(
"MonoDevelop.Gui.Dialogs.NewProjectDialog.DefaultPath",
- System.IO.Path.Combine(System.Environment.GetFolderPath(System.Environment.SpecialFolder.Personal),
+ System.IO.Path.Combine(System.Environment.GetEnvironmentVariable ("HOME"),
"MonoDevelopProjects")).ToString();
fdiag.Complete (defaultFolder);
Modified: trunk/MonoDevelop/src/Main/Base/Gui/Dialogs/NewProjectDialog.cs
===================================================================
--- trunk/MonoDevelop/src/Main/Base/Gui/Dialogs/NewProjectDialog.cs 2004-05-17 06:48:59 UTC (rev 1603)
+++ trunk/MonoDevelop/src/Main/Base/Gui/Dialogs/NewProjectDialog.cs 2004-05-17 22:18:57 UTC (rev 1604)
@@ -349,7 +349,7 @@
hbox_for_browser.PackStart (entry_location, true, true, 0);
- entry_location.DefaultPath = propertyService.GetProperty ("MonoDevelop.Gui.Dialogs.NewProjectDialog.DefaultPath", fileUtilityService.GetDirectoryNameWithSeparator (Environment.GetFolderPath (Environment.SpecialFolder.Personal)) + "MonoDevelopProjects").ToString ();
+ entry_location.DefaultPath = propertyService.GetProperty ("MonoDevelop.Gui.Dialogs.NewProjectDialog.DefaultPath", fileUtilityService.GetDirectoryNameWithSeparator (Environment.GetEnvironmentVariable ("HOME")) + "MonoDevelopProjects").ToString ();
PathChanged (null, null);
Modified: trunk/MonoDevelop/src/Main/Base/Gui/Dialogs/OptionPanels/IDEOptions/LoadSavePanel.cs
===================================================================
--- trunk/MonoDevelop/src/Main/Base/Gui/Dialogs/OptionPanels/IDEOptions/LoadSavePanel.cs 2004-05-17 06:48:59 UTC (rev 1603)
+++ trunk/MonoDevelop/src/Main/Base/Gui/Dialogs/OptionPanels/IDEOptions/LoadSavePanel.cs 2004-05-17 22:18:57 UTC (rev 1604)
@@ -80,7 +80,7 @@
//
projectLocationTextBox.GtkEntry.Text = PropertyService.GetProperty(
"MonoDevelop.Gui.Dialogs.NewProjectDialog.DefaultPath",
- System.IO.Path.Combine(System.Environment.GetFolderPath(System.Environment.SpecialFolder.Personal),
+ System.IO.Path.Combine(System.Environment.GetEnvironmentVariable ("HOME"),
"MonoDevelopProjects")).ToString();
projectLocationTextBox.DirectoryEntry = true;
//
More information about the Monodevelop-patches-list
mailing list