George, Thanks for the tip on the menus. If FileDialogWindow is indeed missing a way to create a new name, I suspect Gary will eventually add that ability because it is important for end users wanting to save files. Bill -----Original Message----- From: pharo-project-bounces@lists.gforge.inria.fr [mailto:pharo-project-bounces@lists.gforge.inria.fr] On Behalf Of George Herolyants Sent: Monday, January 25, 2010 6:07 AM To: Pharo-project@lists.gforge.inria.fr Subject: Re: [Pharo-project] [newbee] How do I save the contents of a Workspace? Bill, Mariano thanks for the feedback! 2010/1/21 Schwab,Wilhelm K <bschwab@anest.ufl.edu>:
Thanks for doing this! Â How did you modify the menu? Â I have *no* clue how to do that.
There is a method addModelItemsToWindowMenu:, which do the job.
Two comments, the first horribly pedantic. Â The prompt for the file name reads "Enter file name to save the workspace to" - we have no shortage of dangling prepositions. Â "Ener file name" would be preferable.
I agree.
More substantively, it does not prompt for a directory. Â I agree that the image directory is the most likely default, but Pinesoft probably > has given us a suitable file dialog, and if not, we should identify the omission.
There is such a dialog. FileDialogWindow. I use it when I ask user for file name to open. But I didn't find any way to force this dialog to ask for the new file name. I may be wrong, but it only allows user to choose from existing file names. Some comments from more experienced people would be helpful though. George _______________________________________________ Pharo-project mailing list Pharo-project@lists.gforge.inria.fr http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project