[gtk+/gtk-3-14] gtkdnd: Restore widget opacity after fading out
- From: Carlos Garnacho <carlosg src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk+/gtk-3-14] gtkdnd: Restore widget opacity after fading out
- Date: Mon, 30 Mar 2015 10:50:21 +0000 (UTC)
commit dd62e0410e44928fbce3cc0238ab6af66cb95ce9
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 b73038a..c8a190c 100644
--- a/gtk/gtkdnd.c
+++ b/gtk/gtkdnd.c
@@ -3992,6 +3992,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]