Merge branch 'wip/nbenitezl/move-bookmark-placeholder-index-4' into 'master'

gtkplacessidebar.c: move bookmark at the placeholder index

See merge request GNOME/gtk!459
This commit is contained in:
Matthias Clasen 2019-01-03 01:27:49 +00:00
commit 3da9280a8a

View File

@ -2037,6 +2037,9 @@ drag_data_received_callback (GtkWidget *list_box,
source_row = (void*) gtk_selection_data_get_data (selection_data);
if (sidebar->row_placeholder != NULL)
g_object_get (sidebar->row_placeholder, "order-index", &target_order_index, NULL);
reorder_bookmarks (sidebar, GTK_SIDEBAR_ROW (*source_row), target_order_index);
real_action = GDK_ACTION_MOVE;
}