[Monodevelop-patches-list] r2665 - in trunk/MonoDevelop/Core/src/MonoDevelop.Base: . Gui/Dialogs
Lluis Sanchez <lluis@ximian.com>
lluis at mono-cvs.ximian.com
Mon Jul 18 10:15:18 EDT 2005
Author: lluis
Date: 2005-07-18 10:15:17 -0400 (Mon, 18 Jul 2005)
New Revision: 2665
Modified:
trunk/MonoDevelop/Core/src/MonoDevelop.Base/ChangeLog
trunk/MonoDevelop/Core/src/MonoDevelop.Base/Gui/Dialogs/NewProjectDialog.cs
Log:
2005-07-18 Lluis Sanchez Gual <lluis at novell.com>
* Gui/Dialogs/NewProjectDialog.cs: Don't continue with project creation
if the project directory can't be created.
Modified: trunk/MonoDevelop/Core/src/MonoDevelop.Base/ChangeLog
===================================================================
--- trunk/MonoDevelop/Core/src/MonoDevelop.Base/ChangeLog 2005-07-18 13:01:09 UTC (rev 2664)
+++ trunk/MonoDevelop/Core/src/MonoDevelop.Base/ChangeLog 2005-07-18 14:15:17 UTC (rev 2665)
@@ -1,3 +1,8 @@
+2005-07-18 Lluis Sanchez Gual <lluis at novell.com>
+
+ * Gui/Dialogs/NewProjectDialog.cs: Don't continue with project creation
+ if the project directory can't be created.
+
2005-07-18 Lluis Sanchez Gual <lluis at novell.com>
* Gui/Pads/ProjectPad/FolderNodeBuilder.cs: When adding an existing
Modified: trunk/MonoDevelop/Core/src/MonoDevelop.Base/Gui/Dialogs/NewProjectDialog.cs
===================================================================
--- trunk/MonoDevelop/Core/src/MonoDevelop.Base/Gui/Dialogs/NewProjectDialog.cs 2005-07-18 13:01:09 UTC (rev 2664)
+++ trunk/MonoDevelop/Core/src/MonoDevelop.Base/Gui/Dialogs/NewProjectDialog.cs 2005-07-18 14:15:17 UTC (rev 2665)
@@ -234,7 +234,8 @@
}
catch (IOException ioException)
{
- Runtime.MessageService.ShowError (String.Format (GettextCatalog.GetString ("Could not create file {0}. File already exists."), ProjectSolution));
+ Runtime.MessageService.ShowError (String.Format (GettextCatalog.GetString ("Could not create directory {0}. File already exists."), ProjectSolution));
+ return;
}
catch (UnauthorizedAccessException accessException)
{
More information about the Monodevelop-patches-list
mailing list