Merge branch 'BUG_filechooserbutton_remote_GTK4' into 'master'

FileChooserButton: query 'display name' also for unbookmarked files

Closes #1966

See merge request GNOME/gtk!1725
This commit is contained in:
Matthias Clasen 2020-05-22 21:37:40 +00:00
commit 133461581f

View File

@ -2250,7 +2250,8 @@ update_label_and_image (GtkFileChooserButton *button)
}
}
if (g_file_is_native (file))
if (g_file_is_native (file) ||
!_gtk_bookmarks_manager_has_bookmark (button->bookmarks_manager, file))
{
button->update_button_cancellable =
_gtk_file_system_get_info (button->fs, file,