(gtk_notebook_drag_motion): Don't accept drops on

arrows.  (#348706, Benjamin Otte)
This commit is contained in:
Matthias Clasen 2006-08-06 04:15:23 +00:00
parent ab299968d0
commit a21deb2d2f
3 changed files with 5 additions and 0 deletions

View File

@ -3,6 +3,8 @@
* gtk/gtknotebook.c (gtk_notebook_drag_motion): Don't allow
dragging a notebook tab to one of its children. (#348626,
Benjamin Otte)
(gtk_notebook_drag_motion): Don't accept drops on
arrows. (#348706, Benjamin Otte)
* tests/testnotebookdnd.c: Test more corner cases.

View File

@ -3,6 +3,8 @@
* gtk/gtknotebook.c (gtk_notebook_drag_motion): Don't allow
dragging a notebook tab to one of its children. (#348626,
Benjamin Otte)
(gtk_notebook_drag_motion): Don't accept drops on
arrows. (#348706, Benjamin Otte)
* tests/testnotebookdnd.c: Test more corner cases.

View File

@ -3139,6 +3139,7 @@ gtk_notebook_drag_motion (GtkWidget *widget,
{
notebook->click_child = arrow;
gtk_notebook_set_scroll_timer (notebook);
gdk_drag_status (context, 0, time);
return TRUE;
}