Actually fix adding to the list of recent files

This commit is contained in:
Přemysl Eric Janouch 2021-11-18 09:43:51 +01:00
parent db7a28b187
commit 61225574d3
Signed by: p
GPG Key ID: A0420B94F92B9493

View File

@ -155,7 +155,7 @@ open(const gchar *path)
gchar *uri = g_filename_to_uri(path, NULL, NULL);
if (uri) {
gtk_recent_manager_add_item(gtk_recent_manager_get_default(), path);
gtk_recent_manager_add_item(gtk_recent_manager_get_default(), uri);
g_free(uri);
}