mirror of
https://gitlab.gnome.org/GNOME/gtk.git
synced 2024-12-27 06:00:22 +00:00
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:
commit
3da9280a8a
@ -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;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user