• Stephen Shaw's avatar
    bgo#629722 - file chooser should cope with typing a directory name and then Enter · 2b348f9a
    Stephen Shaw authored
    file_exists_get_info_cb() used to let some actions fall through to
    the code that checks for the file type of the selected file's parent
    (e.g. to see if /foo/bar *is* indeed a folder if you type /foo/bar/baz).
    However, we need to be more explicit for each file chooser action, as
    in SELECT_FOLDER mode typing /foo/foldername and hitting Enter would not
    give you an immediate selection, but rather the file chooser would
    complain that it couldn't create that directory as it already exists.
    Signed-off-by: 's avatarFederico Mena Quintero <federico@novell.com>
gtkfilechooserdefault.c 293 KB