From d074a82a8c1427eeafc1c2f65db0a00c0755bac8 Mon Sep 17 00:00:00 2001 From: Marco Pesenti Gritti Date: Mon, 5 Jul 2004 00:02:09 +0000 Subject: Support also GDK_ACTION_COPY. Fix #145254. 2004-07-05 Marco Pesenti Gritti * src/bookmarks/ephy-bookmark-action.c: (drag_motion_cb): Support also GDK_ACTION_COPY. Fix #145254. * src/ephy-notebook.c: (notebook_drag_data_received_cb): Use the notebook to access the toplevel, data passed to the signal can be NULL. --- src/bookmarks/ephy-bookmark-action.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/bookmarks/ephy-bookmark-action.c') diff --git a/src/bookmarks/ephy-bookmark-action.c b/src/bookmarks/ephy-bookmark-action.c index aa56072cb..19859f2b5 100644 --- a/src/bookmarks/ephy-bookmark-action.c +++ b/src/bookmarks/ephy-bookmark-action.c @@ -435,7 +435,8 @@ drag_motion_cb (GtkWidget *widget, GdkEventMotion *event, EphyBookmarkAction *ac target_list = gtk_target_list_new (drag_targets, n_drag_targets); stop_drag_check (action, widget); - gtk_drag_begin (widget, target_list, GDK_ACTION_MOVE, 1, (GdkEvent*)event); + gtk_drag_begin (widget, target_list, GDK_ACTION_MOVE | + GDK_ACTION_COPY, 1, (GdkEvent*)event); } return TRUE; -- cgit