summaryrefslogtreecommitdiff
path: root/src/nautilus-pathbar.c
diff options
context:
space:
mode:
authorCosimo Cecchi <cosimoc@gnome.org>2011-04-06 15:18:19 -0400
committerCosimo Cecchi <cosimoc@gnome.org>2011-04-06 15:21:31 -0400
commitf49b62649a092a56e2cf6203db0fef08d2ed7618 (patch)
tree8f2a01e84fb7dbed57ba5ff87ad337aecab2aa84 /src/nautilus-pathbar.c
parent8905b1f91253cfe36fa2c42e179831097b3c9aec (diff)
downloadnautilus-f49b62649a092a56e2cf6203db0fef08d2ed7618.tar.gz
pathbar: use a NautilusFile instead of a GFile as a drag target
The NautilusFile tracks changes in the file name, so it solves the bug reported in https://bugzilla.gnome.org/show_bug.cgi?id=581748
Diffstat (limited to 'src/nautilus-pathbar.c')
-rw-r--r--src/nautilus-pathbar.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/nautilus-pathbar.c b/src/nautilus-pathbar.c
index ec74203c2..11fbaa503 100644
--- a/src/nautilus-pathbar.c
+++ b/src/nautilus-pathbar.c
@@ -1637,7 +1637,7 @@ make_directory_button (NautilusPathBar *path_bar,
setup_button_drag_source (button_data);
- nautilus_drag_slot_proxy_init (button_data->button, path, NULL);
+ nautilus_drag_slot_proxy_init (button_data->button, button_data->file, NULL);
g_object_unref (path);