[nautilus/cherry-pick-49718175] nautilus-file.c: Fix open writable file in recent tab
- From: Carlos Soriano <csoriano src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [nautilus/cherry-pick-49718175] nautilus-file.c: Fix open writable file in recent tab
- Date: Tue, 5 Jun 2018 12:56:44 +0000 (UTC)
commit 1d4f24eaea0454eb15f479ec0766e2dba870cfc6
Author: Wong Heung Sang <hswongac gmail com>
Date: Mon May 7 00:10:15 2018 +0800
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
(cherry picked from commit 49718175b75c8ff89a219954f0abd6067e4a39f6)
src/nautilus-file.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/src/nautilus-file.c b/src/nautilus-file.c
index 3a988ecd1..39fad7098 100644
--- a/src/nautilus-file.c
+++ b/src/nautilus-file.c
@@ -4627,7 +4627,7 @@ nautilus_file_get_activation_uri (NautilusFile *file)
{
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 *
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]