[gtk+/gtk-3-16] gtkdnd: Restore widget opacity after fading out



commit ebca729cd1c73e2fd5d25f5998c0c59648616c3f
Author: Carlos Garnacho <carlosg gnome org>
Date:   Sat Mar 28 16:22:09 2015 +0100

    gtkdnd: Restore widget opacity after fading out
    
    Otherwise the widget is left fully transparent, and will start as such if
    the widget is reused.

 gtk/gtkdnd.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)
---
diff --git a/gtk/gtkdnd.c b/gtk/gtkdnd.c
index 77ae6d7..d2b3ca5 100644
--- a/gtk/gtkdnd.c
+++ b/gtk/gtkdnd.c
@@ -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);
 


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]