mirror of
https://github.com/gnustep/libs-gui.git
synced 2025-04-27 15:50:43 +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
0e314d27bc
commit
6e8b11fbe2
1 changed files with 1 additions and 3 deletions
|
@ -100,9 +100,7 @@ static NSSavePanel *gnustep_gui_save_panel = nil;
|
||||||
+ (NSSavePanel *)savePanel
|
+ (NSSavePanel *)savePanel
|
||||||
{
|
{
|
||||||
if(!gnustep_gui_save_panel) {
|
if(!gnustep_gui_save_panel) {
|
||||||
if (![GMModel loadIMFile :
|
if (![GMModel loadIMFile :@"SavePanel" owner:[_SavePanel alloc]]) {
|
||||||
@"/usr/GNUstep/Library/Model/SavePanel.gmodel"
|
|
||||||
owner:[_SavePanel alloc]]) {
|
|
||||||
fprintf(stderr, "Cannot open save panel model file\n");
|
fprintf(stderr, "Cannot open save panel model file\n");
|
||||||
exit(1);
|
exit(1);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue