bug-gnustep
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[bugs #7900] DocumentController currentDirectory:


From: Fred Kiefer
Subject: [bugs #7900] DocumentController currentDirectory:
Date: Sat, 19 Feb 2005 17:07:05 +0000
User-agent: Mozilla/5.0 (compatible; Konqueror/3.3; Linux) (KHTML, like Gecko)

Follow-up Comment #3, bugs #7900 (project gnustep):

I used the user default NSDefaultOpenDirectory to set the default user
directory for the open and save panel. Also simplified the directory setting
by extracting it into a separete method. 

Pressing cancel on a save/opne panel now also set the directory ivar, to be
reused by the next invokation.

This should fix cases 1 and 2. For case 3 we would need to share the default
directory between save and open panel. Also the user default is still saved
by the NSDocumentController at exit. That way changing the directory and
pressing cancel only has an effect on the current process. And we still use
the current directory as the fallback, when no user default is found. And we
propably should use setDirectory: instead of setting it directly.

Perhaps somebody could find out how MacOSX handle all this.



    _______________________________________________________

This item URL is:

  <http://savannah.gnu.org/bugs/?func=detailitem&item_id=7900>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.gnu.org/





reply via email to

[Prev in Thread] Current Thread [Next in Thread]