From ed3ef44856215622d9feab525ce0302b410cdd61 Mon Sep 17 00:00:00 2001 From: Felix Riemann Date: Wed, 4 Jan 2012 15:39:26 +0100 Subject: Enable more Drag&Drop actions when eom is drag source Enable the link and ask actions allowing to create symlinks in Caja or triggering a menu asking what to do. Also enable the move action, which was not specifically enabled before but still worked anyway. https://bugzilla.gnome.org/show_bug.cgi?id=667076 origin commit: https://gitlab.gnome.org/GNOME/eog/commit/bcf7817 --- src/eom-thumb-view.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'src/eom-thumb-view.c') diff --git a/src/eom-thumb-view.c b/src/eom-thumb-view.c index a58fcf5..a85c2d0 100644 --- a/src/eom-thumb-view.c +++ b/src/eom-thumb-view.c @@ -149,7 +149,10 @@ eom_thumb_view_constructed (GObject *object) gtk_icon_view_enable_model_drag_source (GTK_ICON_VIEW (thumbview), 0, NULL, 0, - GDK_ACTION_COPY); + GDK_ACTION_COPY | + GDK_ACTION_MOVE | + GDK_ACTION_LINK | + GDK_ACTION_ASK); gtk_drag_source_add_uri_targets (GTK_WIDGET (thumbview)); g_signal_connect (G_OBJECT (thumbview), "drag-data-get", -- cgit v1.2.1