Improvements at Project Inspector

git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/apps/projectcenter/trunk@31640 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
Germán Arias 2010-11-22 03:12:59 +00:00
parent 102557c7ca
commit 79ae98bbb0
2 changed files with 9 additions and 1 deletions

View file

@ -1,3 +1,9 @@
2010-11-21 German Arias <german@xelalug.org>
* Framework/PCProjectInspector.m: Set "project" and
"projectDir" when the panel is loaded. And take the
languages to the popup from the PCUserLanguages key
instead of NSUserDefaults.
2010-11-21 German Arias <german@xelalug.org>
* Framework/PCProject.m:
* Modules/Projects/Application/PCAppProject.m:

View file

@ -109,6 +109,8 @@
// Panel
[inspectorPanel setFrameAutosaveName:@"ProjectInspector"];
[inspectorPanel setFrameUsingName:@"ProjectInspector"];
project = [projectManager activeProject];
projectDict = [project projectDict];
// PopUp
[inspectorPopup selectItemAtIndex:0];
@ -533,7 +535,7 @@
// Languages
[projectLanguagePB removeAllItems];
[projectLanguagePB addItemsWithTitles:[NSUserDefaults userLanguages]];
[projectLanguagePB addItemsWithTitles: [projectDict objectForKey: PCUserLanguages]];
// Retain view
[projectAttributesView retain];