GNOME Bugzilla – Bug 128844
GtkFileChooser GTK_FILE_CHOOSER_ACTION_SAVE seems to be broken.
Last modified: 2004-12-22 21:47:04 UTC
It isn't possible in GTK_FILE_CHOOSER_ACTION_SAVE to select a not existed file. At least in the single selection mode GtkFileChooser should determine the selected path by concating current_folder and current_name (of course this should be implemented in gtkfilechooserdefault.c with the equivalent objects).
Created attachment 22232 [details] [review] Use the behavior of GtkFileSelection to determine selected paths in single selected, GTK_FILE_CHOOSER_ACTION_SAVE mode.
Created attachment 22233 [details] [review] add code to check for errors in the gtk_file_system_make_path() call.
Committed your patch. Thanks a LOT, Jan Arne, this is really useful!