[nautilus-actions] Target folder of a drop operation is an URI
- From: Pierre Wieser <pwieser src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [nautilus-actions] Target folder of a drop operation is an URI
- Date: Mon, 1 Mar 2010 22:04:07 +0000 (UTC)
commit f9e818e29ca5be2de6c279902bba9fa17ec862b3
Author: Pierre Wieser <pwieser trychlos org>
Date: Mon Mar 1 21:56:28 2010 +0100
Target folder of a drop operation is an URI
ChangeLog | 4 ++++
src/nact/nact-tree-model-dnd.c | 2 +-
2 files changed, 5 insertions(+), 1 deletions(-)
---
diff --git a/ChangeLog b/ChangeLog
index 52ada21..90303e4 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,9 @@
2009-03-01 Pierre Wieser <pwieser trychlos org>
+ * src/nact/nact-tree-model-dnd.c
+ (nact_tree_model_dnd_imulti_drag_source_drag_data_get):
+ Target folder is an URI.
+
* src/nact/nact-main-menubar-tools.c:
* src/nact/nact-main-menubar-tools.h: New files.
diff --git a/src/nact/nact-tree-model-dnd.c b/src/nact/nact-tree-model-dnd.c
index 07002c3..e81db43 100644
--- a/src/nact/nact-tree-model-dnd.c
+++ b/src/nact/nact-tree-model-dnd.c
@@ -301,7 +301,7 @@ nact_tree_model_dnd_imulti_drag_source_drag_data_get( EggTreeMultiDragSource *dr
folder = get_xds_atom_value( context );
dest_folder = g_path_get_dirname( folder );
g_free( folder );
- is_writable = na_core_utils_dir_is_writable_path( dest_folder );
+ is_writable = na_core_utils_dir_is_writable_uri( dest_folder );
gtk_selection_data_set( selection_data, selection_data->target, 8, ( guchar * )( is_writable ? "S" : "F" ), 1 );
if( is_writable ){
nact_clipboard_dnd_set( model->private->clipboard, info, rows, dest_folder, TRUE );
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]