summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/eom-scroll-view.c3
-rw-r--r--src/eom-thumb-view.c5
2 files changed, 6 insertions, 2 deletions
diff --git a/src/eom-scroll-view.c b/src/eom-scroll-view.c
index 2e9b7c5..69e9b99 100644
--- a/src/eom-scroll-view.c
+++ b/src/eom-scroll-view.c
@@ -1800,7 +1800,8 @@ eom_scroll_view_init (EomScrollView *view)
gtk_drag_source_set (priv->display, GDK_BUTTON1_MASK,
target_table, G_N_ELEMENTS (target_table),
- GDK_ACTION_COPY);
+ GDK_ACTION_COPY | GDK_ACTION_MOVE |
+ GDK_ACTION_LINK | GDK_ACTION_ASK);
g_signal_connect (G_OBJECT (priv->display), "drag-data-get",
G_CALLBACK (view_on_drag_data_get_cb), view);
g_signal_connect (G_OBJECT (priv->display), "drag-begin",
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",