[MonoDevelop] patch for New Solution dialog

Nick D ndrochak@gol.com
Sun, 04 Apr 2004 15:30:27 +0900


Hi.

Here's a patch for the New Solution dialog.  It lets the user try again
if they don't enter a solution name and then double click on the icon. 
This is the same behavior as #D.


Nick D.


Index: src/Main/Base/Gui/Dialogs/NewProjectDialog.cs
===================================================================
--- src/Main/Base/Gui/Dialogs/NewProjectDialog.cs       (revision 1362)
+++ src/Main/Base/Gui/Dialogs/NewProjectDialog.cs       (working copy)
@@ -214,8 +214,6 @@
                           
!fileUtilityService.IsValidFileName(name)     ||
name.IndexOf(System.IO.Path.DirectorySeparatorChar) >= 0 ||
                           
!fileUtilityService.IsValidFileName(location)) {
                               
messageService.ShowError(GettextCatalog.GetString ("Illegal project
name.\nOnly use letters, digits, space, '.' or '_'."));
-                               dialog.Respond(Gtk.ResponseType.Reject);
-                               dialog.Hide();
                                return;
                        }