[Monodevelop-patches-list] r1927 - in trunk/MonoDevelop/Core/src: AddIns/DisplayBindings/SourceEditor/Gui/Dialogs AddIns/Nunit/Commands Main/Base Main/Base/Gui/Dialogs Main/Base/Gui/Dialogs/OptionPanels/IDEOptions

commit-watcher at mono-cvs.ximian.com commit-watcher at mono-cvs.ximian.com
Tue Aug 10 00:28:04 EDT 2004


Author: tberman
Date: 2004-08-10 00:28:04 -0400 (Tue, 10 Aug 2004)
New Revision: 1927

Modified:
   trunk/MonoDevelop/Core/src/AddIns/DisplayBindings/SourceEditor/Gui/Dialogs/ReplaceInFilesDialog.cs
   trunk/MonoDevelop/Core/src/AddIns/Nunit/Commands/NunitCommands.cs
   trunk/MonoDevelop/Core/src/Main/Base/ChangeLog
   trunk/MonoDevelop/Core/src/Main/Base/Gui/Dialogs/NewProjectDialog.cs
   trunk/MonoDevelop/Core/src/Main/Base/Gui/Dialogs/OptionPanels/IDEOptions/LoadSavePanel.cs
Log:
patch from emrysk to fix default project location to ~/Projects


Modified: trunk/MonoDevelop/Core/src/AddIns/DisplayBindings/SourceEditor/Gui/Dialogs/ReplaceInFilesDialog.cs
===================================================================
--- trunk/MonoDevelop/Core/src/AddIns/DisplayBindings/SourceEditor/Gui/Dialogs/ReplaceInFilesDialog.cs	2004-08-09 17:30:08 UTC (rev 1926)
+++ trunk/MonoDevelop/Core/src/AddIns/DisplayBindings/SourceEditor/Gui/Dialogs/ReplaceInFilesDialog.cs	2004-08-10 04:28:04 UTC (rev 1927)
@@ -264,7 +264,7 @@
 						"MonoDevelop.Gui.Dialogs.NewProjectDialog.DefaultPath", 
 						System.IO.Path.Combine (
 							System.Environment.GetEnvironmentVariable ("HOME"),
-							"MonoDevelopProjects")).ToString ();
+							"Projects")).ToString ();
 			}
 			fd.Complete (defaultFolder);
 

Modified: trunk/MonoDevelop/Core/src/AddIns/Nunit/Commands/NunitCommands.cs
===================================================================
--- trunk/MonoDevelop/Core/src/AddIns/Nunit/Commands/NunitCommands.cs	2004-08-09 17:30:08 UTC (rev 1926)
+++ trunk/MonoDevelop/Core/src/AddIns/Nunit/Commands/NunitCommands.cs	2004-08-10 04:28:04 UTC (rev 1927)
@@ -16,7 +16,7 @@
 			NunitService nunitService = (NunitService) MonoDevelop.Core.Services.ServiceManager.Services.GetService (typeof (NunitService));
 
 			using (FileSelector fs = new FileSelector ("Load test assembly")) {
-				string defaultPath = Path.Combine (Environment.GetEnvironmentVariable ("HOME"), "MonoDevelopProjects");
+				string defaultPath = Path.Combine (Environment.GetEnvironmentVariable ("HOME"), "Projects");
 				fs.Complete (defaultPath);
 
 				if (fs.Run () == (int) Gtk.ResponseType.Ok)

Modified: trunk/MonoDevelop/Core/src/Main/Base/ChangeLog
===================================================================
--- trunk/MonoDevelop/Core/src/Main/Base/ChangeLog	2004-08-09 17:30:08 UTC (rev 1926)
+++ trunk/MonoDevelop/Core/src/Main/Base/ChangeLog	2004-08-10 04:28:04 UTC (rev 1927)
@@ -1,3 +1,10 @@
+2004-08-10  Todd Berman  <tberman at off.net>
+
+	* Gui/Dialogs/NewProjectDialog.cs:
+	* Gui/Dialogs/OptionPanels/IDEOptions/LoadSavePanel.cs: Patch from
+	Samuel Kaufman to change the default project location to ~/Projects.
+	<emrysk AT comcast net>
+
 2004-08-09  Todd Berman  <tberman at off.net>
 
 	* Services/SystemAssemblyService.cs: Work w/ cvs HEAD and 1.0.x

Modified: trunk/MonoDevelop/Core/src/Main/Base/Gui/Dialogs/NewProjectDialog.cs
===================================================================
--- trunk/MonoDevelop/Core/src/Main/Base/Gui/Dialogs/NewProjectDialog.cs	2004-08-09 17:30:08 UTC (rev 1926)
+++ trunk/MonoDevelop/Core/src/Main/Base/Gui/Dialogs/NewProjectDialog.cs	2004-08-10 04:28:04 UTC (rev 1927)
@@ -321,7 +321,7 @@
 			hbox_for_browser.PackStart (entry_location, true, true, 0);
 			
 			
-			entry_location.DefaultPath = propertyService.GetProperty ("MonoDevelop.Gui.Dialogs.NewProjectDialog.DefaultPath", fileUtilityService.GetDirectoryNameWithSeparator (Environment.GetEnvironmentVariable ("HOME")) + "MonoDevelopProjects").ToString ();
+			entry_location.DefaultPath = propertyService.GetProperty ("MonoDevelop.Gui.Dialogs.NewProjectDialog.DefaultPath", fileUtilityService.GetDirectoryNameWithSeparator (Environment.GetEnvironmentVariable ("HOME")) + "Projects").ToString ();
 			
 			PathChanged (null, null);
 			

Modified: trunk/MonoDevelop/Core/src/Main/Base/Gui/Dialogs/OptionPanels/IDEOptions/LoadSavePanel.cs
===================================================================
--- trunk/MonoDevelop/Core/src/Main/Base/Gui/Dialogs/OptionPanels/IDEOptions/LoadSavePanel.cs	2004-08-09 17:30:08 UTC (rev 1926)
+++ trunk/MonoDevelop/Core/src/Main/Base/Gui/Dialogs/OptionPanels/IDEOptions/LoadSavePanel.cs	2004-08-10 04:28:04 UTC (rev 1927)
@@ -81,7 +81,7 @@
 				projectLocationTextBox.GtkEntry.Text = PropertyService.GetProperty(
 					"MonoDevelop.Gui.Dialogs.NewProjectDialog.DefaultPath", 
 					System.IO.Path.Combine(System.Environment.GetEnvironmentVariable ("HOME"),
-							"MonoDevelopProjects")).ToString();
+							"Projects")).ToString();
 				projectLocationTextBox.DirectoryEntry = true;
 				//
 				// setup the properties




More information about the Monodevelop-patches-list mailing list