Updating branch refs/heads/master
         to 5b066a2920d575f24105323dc53134ed922e4c99 (commit)
       from ce97a463d9bf9716169eac35ec83c1b4adc09909 (commit)

commit 5b066a2920d575f24105323dc53134ed922e4c99
Author: Nick Schermer <n...@xfce.org>
Date:   Thu Dec 23 22:23:23 2010 +0100

    Workaround un nusable plugin when moving to other window.

 panel/panel-application.c |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)

diff --git a/panel/panel-application.c b/panel/panel-application.c
index 552f0f0..7baa644 100644
--- a/panel/panel-application.c
+++ b/panel/panel-application.c
@@ -888,7 +888,9 @@ panel_application_drag_data_received (PanelWindow      
*window,
           else
             {
               /* reparent the widget, this will also call remove and add for 
the itembar */
+              gtk_widget_hide (provider);
               gtk_widget_reparent (provider, itembar);
+              gtk_widget_show (provider);
 
               /* move the item to the correct position on the itembar */
               panel_itembar_reorder_child (PANEL_ITEMBAR (itembar), provider, 
application->drop_index);
_______________________________________________
Xfce4-commits mailing list
Xfce4-commits@xfce.org
http://foo-projects.org/mailman/listinfo/xfce4-commits

Reply via email to