aboutsummaryrefslogtreecommitdiffstats
path: root/src/bookmarks/ephy-bookmark-action.c
diff options
context:
space:
mode:
authorJorn Baayen <jbaayen@gnome.org>2005-01-14 08:58:26 +0800
committerJorn Baayen <jbaayen@src.gnome.org>2005-01-14 08:58:26 +0800
commit1853f8251a60b50a3719b147571aaac88df8a1eb (patch)
tree9cc8837f0525a1cbac38aed2149cb7f70a5c192a /src/bookmarks/ephy-bookmark-action.c
parentb79a2ee8d325de52aa792123256a9d70a1ef4ee9 (diff)
downloadgsoc2013-epiphany-1853f8251a60b50a3719b147571aaac88df8a1eb.tar
gsoc2013-epiphany-1853f8251a60b50a3719b147571aaac88df8a1eb.tar.gz
gsoc2013-epiphany-1853f8251a60b50a3719b147571aaac88df8a1eb.tar.bz2
gsoc2013-epiphany-1853f8251a60b50a3719b147571aaac88df8a1eb.tar.lz
gsoc2013-epiphany-1853f8251a60b50a3719b147571aaac88df8a1eb.tar.xz
gsoc2013-epiphany-1853f8251a60b50a3719b147571aaac88df8a1eb.tar.zst
gsoc2013-epiphany-1853f8251a60b50a3719b147571aaac88df8a1eb.zip
Add GDK_ACTION_ASK, and prefer _NETSCAPE_URL over uri-list drag types.
2005-01-14 Jorn Baayen <jbaayen@gnome.org> * lib/widgets/ephy-location-entry.c: (ephy_location_entry_construct_contents): * lib/widgets/ephy-node-view.c: (motion_notify_cb): * src/bookmarks/ephy-bookmark-action.c: (drag_motion_cb): * src/bookmarks/ephy-bookmarks-editor.c: * src/ephy-history-window.c: Add GDK_ACTION_ASK, and prefer _NETSCAPE_URL over uri-list drag types. This is to match the new Nautilus _NETSCAPE_URL DnD behaviour. Fixes #163937.
Diffstat (limited to 'src/bookmarks/ephy-bookmark-action.c')
-rw-r--r--src/bookmarks/ephy-bookmark-action.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/bookmarks/ephy-bookmark-action.c b/src/bookmarks/ephy-bookmark-action.c
index ea4e96e40..f219853d6 100644
--- a/src/bookmarks/ephy-bookmark-action.c
+++ b/src/bookmarks/ephy-bookmark-action.c
@@ -488,8 +488,9 @@ 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 |
- GDK_ACTION_COPY, 1, (GdkEvent*)event);
+ gtk_drag_begin (widget, target_list, GDK_ACTION_ASK |
+ GDK_ACTION_MOVE | GDK_ACTION_COPY, 1,
+ (GdkEvent*)event);
gtk_target_list_unref (target_list);
}