aboutsummaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
Diffstat (limited to 'lib')
-rwxr-xr-xlib/egg/egg-editable-toolbar.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/egg/egg-editable-toolbar.c b/lib/egg/egg-editable-toolbar.c
index 87777c803..8b0cefa4d 100755
--- a/lib/egg/egg-editable-toolbar.c
+++ b/lib/egg/egg-editable-toolbar.c
@@ -653,7 +653,8 @@ toolbar_drag_motion_cb (GtkWidget *widget,
gtk_drag_get_data (widget, context, target, time);
}
- if (etoolbar->priv->dragged_item != NULL)
+ if (etoolbar->priv->dragged_item != NULL &&
+ etoolbar->priv->edit_mode)
{
item = GTK_TOOL_ITEM (etoolbar->priv->dragged_item);