[Xfce4-commits] <xfce4-panel:master> Workaround un nusable plugin when moving to other window.
Nick Schermer
noreply at xfce.org
Thu Dec 23 22:26:01 CET 2010
Updating branch refs/heads/master
to 5b066a2920d575f24105323dc53134ed922e4c99 (commit)
from ce97a463d9bf9716169eac35ec83c1b4adc09909 (commit)
commit 5b066a2920d575f24105323dc53134ed922e4c99
Author: Nick Schermer <nick at 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);
More information about the Xfce4-commits
mailing list