diff options
author | Carlos Soriano <csoriano@redhat.com> | 2018-09-27 12:17:04 +0200 |
---|---|---|
committer | Carlos Soriano <csoriano@redhat.com> | 2018-10-12 10:01:34 +0200 |
commit | 93e6dd20cfedaa029bfc77930c4ed3efcde35dcf (patch) | |
tree | 6c1efb40469d28a1aa5016f6633122e4d069543f | |
parent | b6b69a0ac4ce15d5d1ddbfe5761a2b201f9488ed (diff) | |
download | nautilus-93e6dd20cfedaa029bfc77930c4ed3efcde35dcf.tar.gz |
file: Use target-uri for shortcut file types
This is necessary for files such as GDrive files, where the target uri
is the web url that needs to be opened for activation.
Closes: https://gitlab.gnome.org/GNOME/nautilus/issues/473
-rw-r--r-- | src/nautilus-file.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/nautilus-file.c b/src/nautilus-file.c index b9451e55a..b9ae81e08 100644 --- a/src/nautilus-file.c +++ b/src/nautilus-file.c @@ -2498,6 +2498,7 @@ update_info_internal (NautilusFile *file, if (!file->details->got_custom_activation_uri && (g_file_info_get_attribute_boolean (info, G_FILE_ATTRIBUTE_STANDARD_IS_VIRTUAL) || + file_type == G_FILE_TYPE_SHORTCUT || nautilus_file_is_in_recent (file))) { activation_uri = g_file_info_get_attribute_string (info, G_FILE_ATTRIBUTE_STANDARD_TARGET_URI); |