Update Changelog

git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/apps/projectcenter/trunk@27836 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
Sergii Stoian 2009-02-10 21:30:09 +00:00
parent 3c30f7fbd0
commit 375f9098a5
2 changed files with 16 additions and 4 deletions

View file

@ -1,3 +1,13 @@
2009-02-10 Sergii Stoian <stoyan255@gmail.com>
* Framework/PCProjectManager.m: Corrections in alert panel names.
Make "Add Files" panel run in modal mode.
* Framework/PCProject.m: Corrections in alert panel names.
* Framework/PCFileCreator.[mh]: Partial rewrite. Check existance of
files wich will be added. Make panel run in modal mode.
Add "Add Header File" option button.
* Documentation/TODO: Update.
2009-02-08 Sergii Stoian <stoyan255@gmail.com>
* PCMenuController.m:

View file

@ -404,6 +404,7 @@ static NSDictionary *dict = nil;
}
[nfDescriptionTV setString:[fileType objectForKey:@"TypeDescription"]];
[nfAddHeaderButton setState:NSOffState];
if ([typeTitle isEqualToString:ObjCClass] ||
[typeTitle isEqualToString:CFile])
{
@ -443,6 +444,7 @@ static NSDictionary *dict = nil;
NSEnumerator *enumerator = nil;
NSString *filePath = nil;
NSFileManager *fm = [NSFileManager defaultManager];
BOOL complementary;
/* NSLog(@"PCFileCreator: [createFile] %@ in category: %@",
fileName, projectKey);*/
@ -452,10 +454,10 @@ static NSDictionary *dict = nil;
if (path)
{
// Get file list for creation
newFiles = [self
filesToCreateForFileOfType:fileType
path:path
withComplementary:[nfAddHeaderButton state]==NSOnState ? YES : NO];
complementary = [nfAddHeaderButton state]==NSOnState ? YES : NO;
newFiles = [self filesToCreateForFileOfType:fileType
path:path
withComplementary:complementary];
// Check if project already has files with such names
enumerator = [[newFiles allKeys] objectEnumerator];