Re: FileChooserDialog and FILE_CHOOSER_ACTION_SAVE



On Thu, 2005-01-13 at 13:01 +0100, danny van elsen wrote:
> What I want to do is: when a file is saved, impose certain extensions to 
> go with a particular type of file. Like when a graphics program asks you 
> to save the file, it automatically adds the  'correct' extension for a 
> .jpg or .tiff file  ...

The filters are just for browsing: if you use them in a save dialog
you'll get them in the "Browse for other folders" part.  Adding an
extension automatically is not gtk's responsibility, afaik.

John




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