diff options
author | Cosimo Cecchi <cosimo@endlessm.com> | 2014-05-12 15:08:34 -0700 |
---|---|---|
committer | Cosimo Cecchi <cosimo@endlessm.com> | 2014-05-12 15:08:34 -0700 |
commit | 3628b3d5f278fc3edaca9a43963b265218be60b5 (patch) | |
tree | 4d7e3775397fe6e47b401168f07873d045574bc4 /src | |
parent | 87fa35c74bb9835ab47f2f52add2b3a1f67b0ac1 (diff) | |
download | nautilus-3628b3d5f278fc3edaca9a43963b265218be60b5.tar.gz |
Revert "mime-actions: resolve symbolic links before launching the application"
This reverts commit fe1965f2cafc4616caaea0ae048bf1ff5c8975f5.
Diffstat (limited to 'src')
-rw-r--r-- | src/nautilus-mime-actions.c | 12 |
1 files changed, 2 insertions, 10 deletions
diff --git a/src/nautilus-mime-actions.c b/src/nautilus-mime-actions.c index ca1f0acc8..0b363b4c8 100644 --- a/src/nautilus-mime-actions.c +++ b/src/nautilus-mime-actions.c @@ -2029,21 +2029,13 @@ activate_activation_uris_ready_callback (GList *files_ignore, /* Convert the files to the actual activation uri files */ for (l = parameters->locations; l != NULL; l = l->next) { - char *uri = NULL; - + char *uri; location = l->data; /* We want the file for the activation URI since we care * about the attributes for that, not for the original file. */ - if (nautilus_file_is_symbolic_link (location->file)) { - uri = nautilus_file_get_symbolic_link_target_uri (location->file); - } - - if (uri == NULL) { - uri = nautilus_file_get_activation_uri (location->file); - } - + uri = nautilus_file_get_activation_uri (location->file); if (uri != NULL) { launch_location_update_from_uri (location, uri); } |