contentserializer: Serialize to file:// if possible
authorBenjamin Otte <otte@redhat.com>
Wed, 14 Dec 2022 01:26:49 +0000 (02:26 +0100)
committerBenjamin Otte <otte@redhat.com>
Wed, 14 Dec 2022 01:33:45 +0000 (02:33 +0100)
commitea056d261fdf5d2a2d242efd9f2e77eb57c88bca
tree4d48570c24d580b380dd726ed7cb7cfcd070593b
parent200f31f28571b974fea3435da1059981630d9a56
contentserializer: Serialize to file:// if possible

Try to get a native file:// URI instead of any other GVFS
scheme, for interoperability with apps only handling file:// URIs.

This is what GTK3 Nautilus and Thunar do, so apps should be tuned
for this behavior.

See also https://bugzilla.xfce.org/show_bug.cgi?id=13845

Fixes: #5422
gdk/gdkcontentserializer.c