[gdl] Hide preview window correctly when the dock becomes floating



commit 1c62d61c0116c9d6f1371953ce0b5b368d6585df
Author: Johannes Schmid <jhs gnome org>
Date:   Wed Nov 3 12:12:22 2010 +0100

    Hide preview window correctly when the dock becomes floating

 gdl/gdl-dock-master.c |    4 ++++
 1 files changed, 4 insertions(+), 0 deletions(-)
---
diff --git a/gdl/gdl-dock-master.c b/gdl/gdl-dock-master.c
index 3335a11..57eec90 100644
--- a/gdl/gdl-dock-master.c
+++ b/gdl/gdl-dock-master.c
@@ -443,6 +443,10 @@ gdl_dock_master_drag_end (GdlDockItem *item,
     {
         gdl_dock_xor_rect_hide (master->_priv->rect_owner);
     }
+    if (master->_priv->area_window)
+    {
+        gtk_widget_hide (master->_priv->area_window);
+    }
 
     /* cancel conditions */
     if (cancelled || request->applicant == request->target)



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