mirror of
https://github.com/gnustep/libs-gui.git
synced 2025-04-25 06:51:08 +00:00
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:
parent
7a2107824b
commit
617334d4fa
2 changed files with 8 additions and 3 deletions
|
@ -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>
|
2003-12-23 13:46 Gregory John Casamento <greg_casamento@yahoo.com>
|
||||||
|
|
||||||
* Source/GSNibTemplates.m: Added a loop which retains only the
|
* Source/GSNibTemplates.m: Added a loop which retains only the
|
||||||
|
|
|
@ -43,9 +43,9 @@ static NSDataLinkPanel *__sharedDataLinkPanel;
|
||||||
NSDictionary *table;
|
NSDictionary *table;
|
||||||
|
|
||||||
self = [super init];
|
self = [super init];
|
||||||
panelPath = [NSBundle pathForGNUstepResource: @"GSDataLinkPanel"
|
panelPath = [GSGuiBundle() pathForResource: @"GSDataLinkPanel"
|
||||||
ofType: @"gorm"
|
ofType: @"gorm"
|
||||||
inDirectory: nil];
|
inDirectory: nil];
|
||||||
NSLog(@"Panel path=%@",panelPath);
|
NSLog(@"Panel path=%@",panelPath);
|
||||||
table = [NSDictionary dictionaryWithObject: self forKey: @"NSOwner"];
|
table = [NSDictionary dictionaryWithObject: self forKey: @"NSOwner"];
|
||||||
if ([NSBundle loadNibFile: panelPath
|
if ([NSBundle loadNibFile: panelPath
|
||||||
|
|
Loading…
Reference in a new issue