aboutsummaryrefslogtreecommitdiffstats
path: root/lib/egg/egg-editable-toolbar.c
diff options
context:
space:
mode:
authorMarco Pesenti Gritti <marco@src.gnome.org>2004-07-11 19:43:51 +0800
committerMarco Pesenti Gritti <marco@src.gnome.org>2004-07-11 19:43:51 +0800
commitcd110924e482c3c217fd1561d82698b3ad9c2dc3 (patch)
tree84346f76a249b2b54ce196ded698b2b60e853a9f /lib/egg/egg-editable-toolbar.c
parent1e5208d26c293d3569f7410397ea18755fe9f73b (diff)
downloadgsoc2013-epiphany-cd110924e482c3c217fd1561d82698b3ad9c2dc3.tar
gsoc2013-epiphany-cd110924e482c3c217fd1561d82698b3ad9c2dc3.tar.gz
gsoc2013-epiphany-cd110924e482c3c217fd1561d82698b3ad9c2dc3.tar.bz2
gsoc2013-epiphany-cd110924e482c3c217fd1561d82698b3ad9c2dc3.tar.lz
gsoc2013-epiphany-cd110924e482c3c217fd1561d82698b3ad9c2dc3.tar.xz
gsoc2013-epiphany-cd110924e482c3c217fd1561d82698b3ad9c2dc3.tar.zst
gsoc2013-epiphany-cd110924e482c3c217fd1561d82698b3ad9c2dc3.zip
*** empty log message ***
Diffstat (limited to 'lib/egg/egg-editable-toolbar.c')
-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);