[nautilus-actions] Fix dropped new items as new



commit 45020c500ee2c9431fc5633c5efd922281c06142
Author: Pierre Wieser <pwieser trychlos org>
Date:   Fri Jan 15 18:27:12 2010 +0100

    Fix dropped new items as new

 ChangeLog                                   |    3 +++
 TODO                                        |   25 ++++++++++++++++++++-----
 nautilus-actions/nact/nact-tree-model-dnd.c |    3 ++-
 3 files changed, 25 insertions(+), 6 deletions(-)
---
diff --git a/ChangeLog b/ChangeLog
index e80b24e..de86a02 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,8 @@
 2009-01-15 Pierre Wieser <pwieser trychlos org>
 
+	* nautilus-actions/nact/nact-tree-model-dnd.c (drop_inside):
+	Dropped new item is set as new.
+
 	* nautilus-actions/nact/nact-iactions-list.c (filter_selection):
 	Review selection criteria, introducing implicit selection.
 
diff --git a/TODO b/TODO
index 4ab4980..9685119 100644
--- a/TODO
+++ b/TODO
@@ -109,12 +109,27 @@
 
 - toolbar position should not be absolute, but relative
 
-- unable to cut multiple selection
-
-- unable to dnd multiple selection into a menu
-- after cut, the pasted content is not updated
-
 - notebook page should be labeled 'Action' or 'Menu' depending of current item
 
 - what about between base_builder_instance_init and
   base_application_v_initialize_default_icon ?
+
+- na_pivot_is_level_zero_writable: the provider which hosts the level-zero
+  list of items should be a configuration option
+
+- dnd an action with several profiles loses the profiles: only one profile
+  stays after the dnd
+
+- review statusbar layout
+
+- review toolbars layout
+
+- we should be able to fully export a configuration: this implies exporting
+  menus and full tree
+
+- unable to right-click on a multiple selection
+
+- rows implicitely selected should have a special display
+  (as a sort of 'transparent' selection)
+
+- after cut, the pasted content is not updated
diff --git a/nautilus-actions/nact/nact-tree-model-dnd.c b/nautilus-actions/nact/nact-tree-model-dnd.c
index 98a6066..4e83ee2 100644
--- a/nautilus-actions/nact/nact-tree-model-dnd.c
+++ b/nautilus-actions/nact/nact-tree-model-dnd.c
@@ -533,7 +533,8 @@ drop_inside( NactTreeModel *model, GtkTreePath *dest, GtkSelectionData  *selecti
 
 					if( copy_data ){
 						inserted = na_object_duplicate( current );
-						na_object_reset_origin( inserted, NULL );
+						na_object_set_origin( inserted, NULL );
+						na_object_check_status( inserted );
 
 					} else {
 						inserted = na_object_ref( current );



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]