I noticed that the typical GTK "save" dialog shows the file name in the "Name" field, but my simple test in Gambas prepends a path, such as "/home/user/," to the file name in that field.
Is this correct behavior? It seems like it needs to be "fixed" because no matter which folder icon I click in the Save dialog, the prepended path will overrule it until I type the path in myself. Here's the code I'm working with, from a tutorial: PUBLIC SUB btnSave_Click() Dialog.Filter = ["*.txt", "Text Files"] IF Dialog.SaveFile() THEN RETURN File.Save(Dialog.Path, TextAreaEdit.Text) CATCH Message.Error(Error.Text) END Gambas version 2.0.0, Ubuntu 8.04. -- *Marc Carson* Web Designer, Illustrator Web: friendlyskies.net <http://www.friendlyskies.net/> Email: [email protected] <mailto:[email protected]> ------------------------------------------------------------------------------ Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA -OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise -Strategies to boost innovation and cut costs with open source participation -Receive a $600 discount off the registration fee with the source code: SFAD http://p.sf.net/sfu/XcvMzF8H _______________________________________________ Gambas-user mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/gambas-user
