mirror of
https://gitlab.gnome.org/GNOME/gtk.git
synced 2024-11-19 01:40:10 +00:00
folder browse mode would require the user to click on something before clicking "Open".
This commit is contained in:
parent
0c90bacff8
commit
b6d9bb6e1e
@ -8594,8 +8594,16 @@ gtk_file_chooser_default_should_respond (GtkFileChooserEmbed *chooser_embed)
|
||||
entry = GTK_FILE_CHOOSER_ENTRY (impl->location_entry);
|
||||
check_save_entry (impl, &file, &is_well_formed, &is_empty, &is_file_part_empty, &is_folder);
|
||||
|
||||
if (is_empty || !is_well_formed)
|
||||
return FALSE;
|
||||
if (!is_well_formed)
|
||||
return FALSE;
|
||||
|
||||
if (is_empty)
|
||||
{
|
||||
if (impl->action == GTK_FILE_CHOOSER_ACTION_SAVE)
|
||||
return FALSE;
|
||||
|
||||
goto file_list;
|
||||
}
|
||||
|
||||
g_assert (file != NULL);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user