[Xfce4-commits] <xfce4-panel:devel> Fix item drag and drop.
Nick Schermer
nick at xfce.org
Thu Sep 3 21:30:07 CEST 2009
Updating branch refs/heads/devel
to b30607143128d46c453e902693a04e9f6ae01a02 (commit)
from ba89250703e3557b2042436068329a8c6a6660e8 (commit)
commit b30607143128d46c453e902693a04e9f6ae01a02
Author: Nick Schermer <nick at xfce.org>
Date: Thu Sep 3 21:28:38 2009 +0200
Fix item drag and drop.
Also call the parent class so the drag motion is send
to the itembar too.
panel/panel-window.c | 3 +++
1 files changed, 3 insertions(+), 0 deletions(-)
diff --git a/panel/panel-window.c b/panel/panel-window.c
index 1a8824c..0cd86f3 100644
--- a/panel/panel-window.c
+++ b/panel/panel-window.c
@@ -745,6 +745,9 @@ panel_window_drag_motion (GtkWidget *widget,
gint y,
guint drag_time)
{
+ if ((*GTK_WIDGET_CLASS (panel_window_parent_class)->drag_motion) != NULL)
+ (*GTK_WIDGET_CLASS (panel_window_parent_class)->drag_motion) (widget, context, x, y, drag_time);
+
return TRUE;
}
More information about the Xfce4-commits
mailing list