mirror of
https://gitlab.gnome.org/GNOME/gtk.git
synced 2024-12-25 05:01:09 +00:00
(gtk_notebook_drag_motion): Don't accept drops on
arrows. (#348706, Benjamin Otte)
This commit is contained in:
parent
ab299968d0
commit
a21deb2d2f
@ -3,6 +3,8 @@
|
|||||||
* gtk/gtknotebook.c (gtk_notebook_drag_motion): Don't allow
|
* gtk/gtknotebook.c (gtk_notebook_drag_motion): Don't allow
|
||||||
dragging a notebook tab to one of its children. (#348626,
|
dragging a notebook tab to one of its children. (#348626,
|
||||||
Benjamin Otte)
|
Benjamin Otte)
|
||||||
|
(gtk_notebook_drag_motion): Don't accept drops on
|
||||||
|
arrows. (#348706, Benjamin Otte)
|
||||||
|
|
||||||
* tests/testnotebookdnd.c: Test more corner cases.
|
* tests/testnotebookdnd.c: Test more corner cases.
|
||||||
|
|
||||||
|
@ -3,6 +3,8 @@
|
|||||||
* gtk/gtknotebook.c (gtk_notebook_drag_motion): Don't allow
|
* gtk/gtknotebook.c (gtk_notebook_drag_motion): Don't allow
|
||||||
dragging a notebook tab to one of its children. (#348626,
|
dragging a notebook tab to one of its children. (#348626,
|
||||||
Benjamin Otte)
|
Benjamin Otte)
|
||||||
|
(gtk_notebook_drag_motion): Don't accept drops on
|
||||||
|
arrows. (#348706, Benjamin Otte)
|
||||||
|
|
||||||
* tests/testnotebookdnd.c: Test more corner cases.
|
* tests/testnotebookdnd.c: Test more corner cases.
|
||||||
|
|
||||||
|
@ -3139,6 +3139,7 @@ gtk_notebook_drag_motion (GtkWidget *widget,
|
|||||||
{
|
{
|
||||||
notebook->click_child = arrow;
|
notebook->click_child = arrow;
|
||||||
gtk_notebook_set_scroll_timer (notebook);
|
gtk_notebook_set_scroll_timer (notebook);
|
||||||
|
gdk_drag_status (context, 0, time);
|
||||||
return TRUE;
|
return TRUE;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user