diff options
author | Matthias Clasen <mclasen@redhat.com> | 2006-05-18 19:26:02 +0000 |
---|---|---|
committer | Matthias Clasen <matthiasc@src.gnome.org> | 2006-05-18 19:26:02 +0000 |
commit | b44689fece65d88a0d0e054e384551d49bbc19b1 (patch) | |
tree | 5db0e3f8862a0d62aa95be5df6d8efd6df690b1a /gtk/gtkcalendar.c | |
parent | 0b98adf31af51bf873797045601fc346756f04b1 (diff) | |
download | gtk+-b44689fece65d88a0d0e054e384551d49bbc19b1.tar.gz |
Don't produce a stuck drag if shift is held. (#341734, Sebastien Bacher)
2006-05-18 Matthias Clasen <mclasen@redhat.com>
* gtk/gtkcalendar.c (gtk_calendar_drag_motion): Don't produce
a stuck drag if shift is held. (#341734, Sebastien Bacher)
Diffstat (limited to 'gtk/gtkcalendar.c')
-rw-r--r-- | gtk/gtkcalendar.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gtk/gtkcalendar.c b/gtk/gtkcalendar.c index 724697fe24..90141d5755 100644 --- a/gtk/gtkcalendar.c +++ b/gtk/gtkcalendar.c @@ -3014,7 +3014,7 @@ gtk_calendar_drag_motion (GtkWidget *widget, } target = gtk_drag_dest_find_target (widget, context, NULL); - if (target == GDK_NONE) + if (target == GDK_NONE || context->suggested_action == 0) gdk_drag_status (context, 0, time); else { |