gtkdnd: Restore widget opacity after fading out
authorCarlos Garnacho <carlosg@gnome.org>
Sat, 28 Mar 2015 15:22:09 +0000 (16:22 +0100)
committerCarlos Garnacho <carlosg@gnome.org>
Sun, 29 Mar 2015 20:57:31 +0000 (22:57 +0200)
Otherwise the widget is left fully transparent, and will start as such if
the widget is reused.

gtk/gtkdnd.c

index 77ae6d739e51f1dc84f9d13d3281ba3b7d76caf7..d2b3ca5b29d85676da806e6e558ab8b915333984 100644 (file)
@@ -4002,6 +4002,7 @@ gtk_drag_remove_icon (GtkDragSourceInfo *info)
   if (info->icon_window)
     {
       gtk_widget_hide (info->icon_window);
+      gtk_widget_set_opacity (info->icon_window, 1.0);
       if (info->destroy_icon)
         gtk_widget_destroy (info->icon_window);