Author: espectador
Date: Sat Mar  8 01:31:35 2014
New Revision: 37732

URL: http://svn.gna.org/viewcvs/gnustep?rev=37732&view=rev
Log:
Fix problem in last commit.

Modified:
    apps/projectcenter/trunk/ChangeLog
    apps/projectcenter/trunk/Framework/PCProjectManager.m

Modified: apps/projectcenter/trunk/ChangeLog
URL: 
http://svn.gna.org/viewcvs/gnustep/apps/projectcenter/trunk/ChangeLog?rev=37732&r1=37731&r2=37732&view=diff
==============================================================================
--- apps/projectcenter/trunk/ChangeLog  (original)
+++ apps/projectcenter/trunk/ChangeLog  Sat Mar  8 01:31:35 2014
@@ -1,3 +1,8 @@
+2014-03-07 German Arias <[email protected]>
+
+       * Framework/PCProjectManager.m: Remove the extension returned by native
+       panel.
+
 2014-03-02 German Arias <[email protected]>
 
        * PCAppController.m: For Windows add a menu with all types of projects.

Modified: apps/projectcenter/trunk/Framework/PCProjectManager.m
URL: 
http://svn.gna.org/viewcvs/gnustep/apps/projectcenter/trunk/Framework/PCProjectManager.m?rev=37732&r1=37731&r2=37732&view=diff
==============================================================================
--- apps/projectcenter/trunk/Framework/PCProjectManager.m       (original)
+++ apps/projectcenter/trunk/Framework/PCProjectManager.m       Sat Mar  8 
01:31:35 2014
@@ -824,6 +824,11 @@
                              title:@"New Project"
                            accView:projectTypeAccessaryView];
   filePath = [files objectAtIndex:0];
+
+#ifdef WIN32
+  filePath = [filePath stringByDeletingPathExtension];
+#endif
+
   if (filePath != nil) 
     {
       if ([filePath rangeOfString: @" "].location != NSNotFound ||


_______________________________________________
Gnustep-cvs mailing list
[email protected]
https://mail.gna.org/listinfo/gnustep-cvs

Reply via email to