[nautilus/gnome-3-10] Revert "mime-actions: resolve symbolic links before launching the application"
- From: Cosimo Cecchi <cosimoc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [nautilus/gnome-3-10] Revert "mime-actions: resolve symbolic links before launching the application"
- Date: Tue, 13 May 2014 16:37:58 +0000 (UTC)
commit 33629ce62fd4b30a3e24b9c993f0934efcd8d717
Author: Cosimo Cecchi <cosimoc gnome org>
Date: Tue May 13 09:37:39 2014 -0700
Revert "mime-actions: resolve symbolic links before launching the application"
This reverts commit fe1965f2cafc4616caaea0ae048bf1ff5c8975f5.
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 401aa8c..0f8c528 100644
--- a/src/nautilus-mime-actions.c
+++ b/src/nautilus-mime-actions.c
@@ -2030,21 +2030,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);
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]