Minor URL-related fix-ups

This commit is contained in:
2021-12-30 22:52:23 +01:00
parent 380ddd540b
commit 5f8dc88fa7
4 changed files with 22 additions and 27 deletions

View File

@@ -220,6 +220,7 @@ complete_path(GFile *location, GtkListStore *model)
{
// TODO(p): Do not enter directories unless followed by '/'.
// This information has already been stripped from `location`.
// TODO(p): Try out GFileCompleter.
GFile *parent = G_FILE_TYPE_DIRECTORY ==
g_file_query_file_type(location, G_FILE_QUERY_INFO_NONE, NULL)
? g_object_ref(location)