diff options
author | Carlos Garnacho <carlosg@gnome.org> | 2006-12-28 16:38:49 +0000 |
---|---|---|
committer | Carlos Garnacho <carlosg@src.gnome.org> | 2006-12-28 16:38:49 +0000 |
commit | d42bbb646619204913cae54eb675e898437d0ebe (patch) | |
tree | 694816096f3bff3e3c0a0f8301a30e0eb96c7d8b /gtk/gtkmarshalers.list | |
parent | 693c3c2649abb0f907d144c05a1d55edb6a5f97c (diff) | |
download | gtk+-d42bbb646619204913cae54eb675e898437d0ebe.tar.gz |
Make GtkNotebook able to drop detached tabs anywhere. Bug #360225.
2006-12-28 Carlos Garnacho <carlosg@gnome.org>
Make GtkNotebook able to drop detached tabs anywhere. Bug #360225.
* gtk/gtkwidget.c (gtk_widget_class_init): add "drag-failed" signal.
* gtk/gtkmarshalers.list: add new marshaler definition.
* gtk/gtkenums.h: add GtkDragResult enum.
* gtk/gtkdnd.c (gtk_drag_drop_finished): emit "drag-failed" if DND
operation wasn't successful.
(_gtk_drag_source_handle_event) (gtk_drag_drop)
(gtk_drag_selection_get) (gtk_drag_cancel) (gtk_drag_key_cb)
(gtk_drag_grab_broken_event_cb) (gtk_drag_grab_notify_cb)
(gtk_drag_button_release_cb) (gtk_drag_abort_timeout): tell
gtk_drag_drop_finished() the operation result.
* gtk/gtknotebook.c (gtk_notebook_drag_failed): new function.
(gtk_notebook_drag_data_get): do not call window creation hook here.
(gtk_notebook_init): do not set "application/x-rootwindow-drop"
target, instead connect to "drag-failed".
(gtk_notebook_draw_focus): fix potential crasher if cur_page is NULL.
Diffstat (limited to 'gtk/gtkmarshalers.list')
-rw-r--r-- | gtk/gtkmarshalers.list | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/gtk/gtkmarshalers.list b/gtk/gtkmarshalers.list index c11f42b741..c1510ec2fe 100644 --- a/gtk/gtkmarshalers.list +++ b/gtk/gtkmarshalers.list @@ -34,6 +34,7 @@ BOOLEAN:OBJECT,BOXED BOOLEAN:OBJECT,BOXED,BOXED BOOLEAN:OBJECT,OBJECT,OBJECT BOOLEAN:OBJECT,STRING,STRING +BOOLEAN:OBJECT,ENUM BOOLEAN:INT BOOLEAN:INT,INT BOOLEAN:INT,INT,INT |