From 617334d4faa2ec5a0734d7df5a09e1e6fb2a225f Mon Sep 17 00:00:00 2001 From: Gregory John Casamento Date: Thu, 25 Dec 2003 04:57:54 +0000 Subject: [PATCH] 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 --- ChangeLog | 5 +++++ Source/NSDataLinkPanel.m | 6 +++--- 2 files changed, 8 insertions(+), 3 deletions(-) diff --git a/ChangeLog b/ChangeLog index d6ed44406..c2459b439 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2003-12-25 00:03 Gregory John Casamento + + * 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 * Source/GSNibTemplates.m: Added a loop which retains only the diff --git a/Source/NSDataLinkPanel.m b/Source/NSDataLinkPanel.m index c8a31f4e1..f1bcfa782 100644 --- a/Source/NSDataLinkPanel.m +++ b/Source/NSDataLinkPanel.m @@ -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