[nautilus/fix-gdrive: 25/25] file: Use target-uri for shortcut file types
- From: Carlos Soriano <csoriano src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [nautilus/fix-gdrive: 25/25] file: Use target-uri for shortcut file types
- Date: Tue, 9 Oct 2018 08:05:04 +0000 (UTC)
commit f4edcafe7e074ec79813a805a9cc94a64fdecaab
Author: Carlos Soriano <csoriano redhat com>
Date: Thu Sep 27 12:17:04 2018 +0200
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
src/nautilus-file.c | 1 +
1 file changed, 1 insertion(+)
---
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);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]