[nautilus] list-base: on_view_drag_value_notify() should update view action



commit 0ce55473223e21042b343cb148328f076c4e5def
Author: Corey Berla <corey berla me>
Date:   Sat Jul 2 13:01:01 2022 -0700

    list-base: on_view_drag_value_notify() should update view action
    
    c21904c53fc7ce53d3ecc3b9cb6a500f506ca6db introduced
    on_view_drag_value_notify() and on_item_drag_value_notify()
    which both update drag_item_action.
    
    Make on_view_drag_value_notify() update drag_view_action

 src/nautilus-list-base.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/src/nautilus-list-base.c b/src/nautilus-list-base.c
index b7335acc7..622ee4eb4 100644
--- a/src/nautilus-list-base.c
+++ b/src/nautilus-list-base.c
@@ -791,7 +791,7 @@ on_view_drag_value_notify (GObject    *object,
     }
 
     dest_file = nautilus_files_view_get_directory_as_file (NAUTILUS_FILES_VIEW (self));
-    priv->drag_item_action = get_preferred_action (dest_file, value);
+    priv->drag_view_action = get_preferred_action (dest_file, value);
 }
 
 static GdkDragAction


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