[libegg/spread-table-dnd: 78/78] Implemented the drag-failed signal on drag sources.



commit 86cc2addeec2fb29cedd4dd89fd3d771feacd7d8
Author: Tristan Van Berkom <tristan van berkom gmail com>
Date:   Sat Apr 9 20:44:27 2011 +0900

    Implemented the drag-failed signal on drag sources.
    
    Now we simply re-show the hidden child when a drag fails.

 libegg/spreadtable/eggspreadtablednd.c |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)
---
diff --git a/libegg/spreadtable/eggspreadtablednd.c b/libegg/spreadtable/eggspreadtablednd.c
index c3bae46..cd12d41 100644
--- a/libegg/spreadtable/eggspreadtablednd.c
+++ b/libegg/spreadtable/eggspreadtablednd.c
@@ -803,6 +803,8 @@ drag_failed (GtkWidget         *widget,
 {
   g_print ("[source] Drag failed\n");
 
+  gtk_widget_show (widget);
+
   return FALSE;
 }
 



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