Re: gtk file selector patch proposal



On Wed, Jul 26, 2000 at 11:28:48AM -0600, Michael Torrie wrote:
> I also added a feature whereby the filename is preserved in the filename
> entry box while changing directories.  Nothing is quite so annoying as
> trying to do a save-as with a long filename, only to have it default to
> directory I don't want, and when I changed directories, I'd lose the
> filename.

While you're at it, could you make the directory in which the file
selection box starts be settable by the program, rather than defaulting
to the current directory?

Ethereal arranges that file selection boxes for opening a file for
reading start in the directory from which a file was last read (or from
the current directory if no file has yet been read); to do this, it has
to "chdir()" all over the place, which is a bit ugly.




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