mirror of
https://github.com/gnustep/libs-gui.git
synced 2025-05-31 22:30:48 +00:00
Restore ability to create nested directories from NSSavePanel, which
was removed without reason during the last change of NSSavePanel. git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@35516 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
e6fb656488
commit
c007317e91
2 changed files with 12 additions and 4 deletions
|
@ -1,3 +1,9 @@
|
||||||
|
2012-09-04 Wolfgang Lux <wolfgang.lux@gmail.com>
|
||||||
|
|
||||||
|
* Source/NSSavePanel.m (-ok:): Restore ability to create nested
|
||||||
|
directories, which was removed without reason during the last
|
||||||
|
change of NSSavePanel.
|
||||||
|
|
||||||
2012-09-03 22:35-EDT Gregory John Casamento <greg.casamento@gmail.com>
|
2012-09-03 22:35-EDT Gregory John Casamento <greg.casamento@gmail.com>
|
||||||
|
|
||||||
* Source/GSXibLoader.m: Remove test code.
|
* Source/GSXibLoader.m: Remove test code.
|
||||||
|
@ -21,7 +27,6 @@
|
||||||
* Source/GSToolTips.m (_timedOut:): Don't display the tooltip
|
* Source/GSToolTips.m (_timedOut:): Don't display the tooltip
|
||||||
window (GSTTPanel) if the tooltip is nil or is an empty string.
|
window (GSTTPanel) if the tooltip is nil or is an empty string.
|
||||||
|
|
||||||
>>>>>>> .r35509
|
|
||||||
2012-09-02 13:56-EDT Gregory John Casamento <greg.casamento@gmail.com>
|
2012-09-02 13:56-EDT Gregory John Casamento <greg.casamento@gmail.com>
|
||||||
|
|
||||||
* Source/GSXibLoader.m: Correct issue with reuse of enumerator.
|
* Source/GSXibLoader.m: Correct issue with reuse of enumerator.
|
||||||
|
|
|
@ -231,8 +231,8 @@ setPath(NSBrowser *browser, NSString *path)
|
||||||
[_browser setAllowsMultipleSelection: NO];
|
[_browser setAllowsMultipleSelection: NO];
|
||||||
[_browser setAutoresizingMask: NSViewWidthSizable|NSViewHeightSizable];
|
[_browser setAutoresizingMask: NSViewWidthSizable|NSViewHeightSizable];
|
||||||
[_browser setTag: NSFileHandlingPanelBrowser];
|
[_browser setTag: NSFileHandlingPanelBrowser];
|
||||||
[_browser setAction:@selector(_selectText:)];
|
[_browser setAction: @selector(_selectText:)];
|
||||||
[_browser setTarget:self];
|
[_browser setTarget: self];
|
||||||
[_browser setMinColumnWidth: 140];
|
[_browser setMinColumnWidth: 140];
|
||||||
[_topView addSubview: _browser];
|
[_topView addSubview: _browser];
|
||||||
[_browser release];
|
[_browser release];
|
||||||
|
@ -1344,7 +1344,10 @@ selectCellWithString: (NSString*)title
|
||||||
|
|
||||||
if (result == NSAlertDefaultReturn)
|
if (result == NSAlertDefaultReturn)
|
||||||
{
|
{
|
||||||
if ([_fm createDirectoryAtPath: filename attributes: nil] == NO)
|
if ([_fm createDirectoryAtPath: filename
|
||||||
|
withIntermediateDirectories: YES
|
||||||
|
attributes: nil
|
||||||
|
error: NULL] == NO)
|
||||||
{
|
{
|
||||||
NSRunAlertPanel(_(@"Save"),
|
NSRunAlertPanel(_(@"Save"),
|
||||||
_(@"The directory '%@' could not be created."),
|
_(@"The directory '%@' could not be created."),
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue