mirror of
https://gitlab.gnome.org/GNOME/nautilus
synced 2024-08-24 18:25:50 +00:00
nautilus-file.c: Fix open writable file in recent tab
File opened in recent tab now is read-only when it is writable. Replace nautilus_file_info_get_uri () with nautilus_file_info_get_activation_uri () fix the problem. https://gitlab.gnome.org/GNOME/nautilus/issues/378
This commit is contained in:
parent
694e4396c7
commit
49718175b7
|
@ -4482,7 +4482,7 @@ nautilus_file_get_activation_uri (NautilusFile *file)
|
||||||
{
|
{
|
||||||
g_return_val_if_fail (NAUTILUS_IS_FILE (file), NULL);
|
g_return_val_if_fail (NAUTILUS_IS_FILE (file), NULL);
|
||||||
|
|
||||||
return nautilus_file_info_get_uri (NAUTILUS_FILE_INFO (file));
|
return nautilus_file_info_get_activation_uri (NAUTILUS_FILE_INFO (file));
|
||||||
}
|
}
|
||||||
|
|
||||||
GFile *
|
GFile *
|
||||||
|
|
Loading…
Reference in a new issue