Corrected problem with loading of data link panel gui.

git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@18270 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
Gregory John Casamento 2003-12-25 04:57:54 +00:00
parent 7a2107824b
commit 617334d4fa
2 changed files with 8 additions and 3 deletions

View file

@ -1,3 +1,8 @@
2003-12-25 00:03 Gregory John Casamento <greg_casamento@yahoo.com>
* Source/NSDataLinkPanel.m: Changed to use the correct method
to find and load the .gorm file for the panel.
2003-12-23 13:46 Gregory John Casamento <greg_casamento@yahoo.com>
* Source/GSNibTemplates.m: Added a loop which retains only the

View file

@ -43,9 +43,9 @@ static NSDataLinkPanel *__sharedDataLinkPanel;
NSDictionary *table;
self = [super init];
panelPath = [NSBundle pathForGNUstepResource: @"GSDataLinkPanel"
ofType: @"gorm"
inDirectory: nil];
panelPath = [GSGuiBundle() pathForResource: @"GSDataLinkPanel"
ofType: @"gorm"
inDirectory: nil];
NSLog(@"Panel path=%@",panelPath);
table = [NSDictionary dictionaryWithObject: self forKey: @"NSOwner"];
if ([NSBundle loadNibFile: panelPath