CVSROOT: /cvs/gnome
Module name: gtk+
Changes by: carlosg 06/12/28 11:38:49
Modified files:
. : ChangeLog
gtk : gtkdnd.c gtkwidget.c gtkmarshalers.list
gtknotebook.c gtkenums.h
Log message:
2006-12-28 Carlos Garnacho <[EMAIL PROTECTED]>
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.
URL :
http://cvs.gnome.org/bonsai/cvsquery.cgi?branch=&dir=gtk%2B&who=carlosg&date=explicit&mindate=2006-12-28%2011:37&maxdate=2006-12-28%2011:39
_______________________________________________
cvs-commits-list mailing list
[email protected]
http://mail.gnome.org/mailman/listinfo/cvs-commits-list