[nautilus] mime-actions: don't invalidate symlink info twice
- From: Cosimo Cecchi <cosimoc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [nautilus] mime-actions: don't invalidate symlink info twice
- Date: Mon, 12 Nov 2012 16:17:18 +0000 (UTC)
commit be7866e92fe444b0273a871b80ccfaa0ee677f61
Author: Cosimo Cecchi <cosimoc gnome org>
Date: Mon Nov 12 11:05:51 2012 -0500
mime-actions: don't invalidate symlink info twice
We already trigger a nautilus_file_call_when_ready() on the symlink
file, which will include link information.
Invalidating symlink info manually here will make us read invalid
information in the ready callback instead.
https://bugzilla.gnome.org/show_bug.cgi?id=687937
src/nautilus-mime-actions.c | 7 -------
1 files changed, 0 insertions(+), 7 deletions(-)
---
diff --git a/src/nautilus-mime-actions.c b/src/nautilus-mime-actions.c
index 137dc76..eebd28a 100644
--- a/src/nautilus-mime-actions.c
+++ b/src/nautilus-mime-actions.c
@@ -2079,13 +2079,6 @@ activation_get_activation_uris (ActivateParameters *parameters)
parameters->locations = g_list_delete_link (parameters->locations, l);
continue;
}
-
- if (nautilus_file_is_symbolic_link (file)) {
- nautilus_file_invalidate_attributes
- (file,
- NAUTILUS_FILE_ATTRIBUTE_INFO |
- NAUTILUS_FILE_ATTRIBUTE_LINK_INFO);
- }
}
if (parameters->locations == NULL) {
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]