mirror of
https://github.com/gnustep/libs-gui.git
synced 2025-05-30 23:30:46 +00:00
* Source/NSOpenPanel.m: Use the NSSavePanel _allowedFileTypes ivar
in place of the _fileTypes ivar. Replace calls to _setupForTypes: with -setAllowedFileTypes:. * Headers/AppKit/NSOpenPanel.h: Remove now unused _fileTypes ivar * Source/NSSavePanel.m: Treat directories whose names have extensions in the _allowedFileTypes array as file packages. Previously, we only relied on -[NSWorkspace isFilePackageAtPath:], to determine if a director is a file package, which only considers the info.plists of installed applications. git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@33810 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
c4048d4f4b
commit
19b6765e49
4 changed files with 17 additions and 21 deletions
|
@ -45,7 +45,6 @@
|
|||
|
||||
@interface NSOpenPanel : NSSavePanel <NSCoding>
|
||||
{
|
||||
NSArray *_fileTypes;
|
||||
BOOL _canChooseDirectories;
|
||||
BOOL _canChooseFiles;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue