diff options
author | Marco Pesenti Gritti <marco@gnome.org> | 2004-07-09 03:05:25 +0800 |
---|---|---|
committer | Marco Pesenti Gritti <marco@src.gnome.org> | 2004-07-09 03:05:25 +0800 |
commit | b3af3dd786f57ac076cbab8e54267213c4ea8da5 (patch) | |
tree | 204b1f0baa34ea8d132cff7ad5277cc6c281cd20 | |
parent | 8adf2de315954bedb84f6c05eba3fc9b0d046ebf (diff) | |
download | gsoc2013-epiphany-b3af3dd786f57ac076cbab8e54267213c4ea8da5.tar gsoc2013-epiphany-b3af3dd786f57ac076cbab8e54267213c4ea8da5.tar.gz gsoc2013-epiphany-b3af3dd786f57ac076cbab8e54267213c4ea8da5.tar.bz2 gsoc2013-epiphany-b3af3dd786f57ac076cbab8e54267213c4ea8da5.tar.lz gsoc2013-epiphany-b3af3dd786f57ac076cbab8e54267213c4ea8da5.tar.xz gsoc2013-epiphany-b3af3dd786f57ac076cbab8e54267213c4ea8da5.tar.zst gsoc2013-epiphany-b3af3dd786f57ac076cbab8e54267213c4ea8da5.zip |
When moving in the same toolbar force GDK_ACTION_MOVE. Fix #145529
2004-07-08 Marco Pesenti Gritti <marco@gnome.org>
* lib/egg/egg-editable-toolbar.c: (toolbar_drag_motion_cb):
When moving in the same toolbar force GDK_ACTION_MOVE.
Fix #145529
-rw-r--r-- | ChangeLog | 7 | ||||
-rwxr-xr-x | lib/egg/egg-editable-toolbar.c | 5 |
2 files changed, 12 insertions, 0 deletions
@@ -1,3 +1,10 @@ +2004-07-08 Marco Pesenti Gritti <marco@gnome.org> + + * lib/egg/egg-editable-toolbar.c: (toolbar_drag_motion_cb): + + When moving in the same toolbar force GDK_ACTION_MOVE. + Fix #145529 + 2004-07-07 Christian Persch <chpe@cvs.gnome.org> * embed/print-dialog.c: (ephy_print_get_print_info): diff --git a/lib/egg/egg-editable-toolbar.c b/lib/egg/egg-editable-toolbar.c index 63dbe3384..87777c803 100755 --- a/lib/egg/egg-editable-toolbar.c +++ b/lib/egg/egg-editable-toolbar.c @@ -625,6 +625,11 @@ toolbar_drag_motion_cb (GtkWidget *widget, gdk_drag_status (context, 0, time); return FALSE; } + + if (gtk_widget_is_ancestor (source, widget)) + { + context->suggested_action = GDK_ACTION_MOVE; + } } target = gtk_drag_dest_find_target (widget, context, NULL); |