Commit 7b280cb7 authored by William Jon McCann's avatar William Jon McCann

Store the activation uri in recently used, if available

It is better to store the "actual" / target location
rather than a link.

https://bugzilla.gnome.org/show_bug.cgi?id=325824
parent e91f84df
......@@ -44,7 +44,10 @@ nautilus_recent_add_file (NautilusFile *file,
GtkRecentData recent_data;
char *uri;
uri = nautilus_file_get_uri (file);
uri = nautilus_file_get_activation_uri (file);
if (uri == NULL) {
uri = nautilus_file_get_uri (file);
}
/* do not add trash:// etc */
if (eel_uri_is_trash (uri) ||
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment