CVSROOT:        /cvs/gnome
Module name:    gtk+
Changes by:     federico        06/03/07 12:48:07

Modified files:
        .              : ChangeLog 
        gtk            : gtkdnd.c gtkfilechooserdefault.c 

Log message:
2006-03-07  Federico Mena Quintero  <[EMAIL PROTECTED]>

Cancel drags when the grabs get broken.  Fixes bug #333056 
[http://bugzilla.gnome.org/show_bug.cgi?id=333056]:

* gtk/gtkdnd.c (gtk_drag_selection_received): The time argument is
a guint, not guint32.
(gtk_drag_source_event_cb): Return gboolean, not gint.
(gtk_drag_anim_timeout): Likewise.
(gtk_drag_motion_cb): Likewise.
(gtk_drag_key_cb): Likewise.
(gtk_drag_button_release_cb): Likewise.
(gtk_drag_abort_timeout): Likewise.
(gtk_drag_begin_internal): Connect to "grab-broken-event" on the
ipc_widget.
(gtk_drag_source_info_destroy): Disconnect from the
"grab-broken-event" callback.
(gtk_drag_end): Likewise.
(gtk_drag_grab_broken_event_cb): New callback.  We cancel the drag
if the grab was broken and not regrabbed by the DnD code.

2006-03-07  Federico Mena Quintero  <[EMAIL PROTECTED]>

* gtk/gtkfilechooserdefault.c (shortcuts_button_press_event_cb):
Hack to let the treeview's button-press-event handler run before
ours.  This lets the selection be updated before we pop up a
context menu.

URL : 
http://cvs.gnome.org/bonsai/cvsquery.cgi?branch=&dir=gtk%2B&who=federico&date=explicit&mindate=2006-03-07%2012:47&maxdate=2006-03-07%2012:49

_______________________________________________
cvs-commits-list mailing list
cvs-commits-list@gnome.org
http://mail.gnome.org/mailman/listinfo/cvs-commits-list

Reply via email to