From 6af4947e70e01f296d8a28bc52333b9529971106 Mon Sep 17 00:00:00 2001 From: Matthias Clasen Date: Sun, 10 Dec 2017 14:05:01 -0500 Subject: [PATCH] link button: Set a drag icon It is a bit odd to drag nothing around, so set an icon. --- gtk/gtklinkbutton.c | 1 + 1 file changed, 1 insertion(+) diff --git a/gtk/gtklinkbutton.c b/gtk/gtklinkbutton.c index 489178a381..1426a36c5e 100644 --- a/gtk/gtklinkbutton.c +++ b/gtk/gtklinkbutton.c @@ -237,6 +237,7 @@ gtk_link_button_init (GtkLinkButton *link_button) targets, GDK_ACTION_COPY); gdk_content_formats_unref (targets); + gtk_drag_source_set_icon_name (GTK_WIDGET (link_button), "text-x-generic"); priv->click_gesture = gtk_gesture_multi_press_new (GTK_WIDGET (link_button)); gtk_gesture_single_set_touch_only (GTK_GESTURE_SINGLE (priv->click_gesture), FALSE);