mirror of
https://github.com/gnustep/libs-gui.git
synced 2025-04-22 16:10:48 +00:00
Loads "SavePanel" instead of "/usr/GNUstep/Library/Model/SavePanel.gmodel"
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@3258 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
c765437cfb
commit
fdff9084d0
1 changed files with 1 additions and 3 deletions
|
@ -100,9 +100,7 @@ static NSSavePanel *gnustep_gui_save_panel = nil;
|
|||
+ (NSSavePanel *)savePanel
|
||||
{
|
||||
if(!gnustep_gui_save_panel) {
|
||||
if (![GMModel loadIMFile :
|
||||
@"/usr/GNUstep/Library/Model/SavePanel.gmodel"
|
||||
owner:[_SavePanel alloc]]) {
|
||||
if (![GMModel loadIMFile :@"SavePanel" owner:[_SavePanel alloc]]) {
|
||||
fprintf(stderr, "Cannot open save panel model file\n");
|
||||
exit(1);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue