aboutsummaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorMarco Pesenti Gritti <marco@src.gnome.org>2003-09-20 07:42:15 +0800
committerMarco Pesenti Gritti <marco@src.gnome.org>2003-09-20 07:42:15 +0800
commitd1c2b88f108a6f461383d6d8bf9bbe9a13bf64a4 (patch)
tree9de84f41cd409a49ef3a87ff5d5edd6bf3dabcc9 /lib
parent54d2149bf268430f3b5f11e58c4492b1ab4c6ff5 (diff)
downloadgsoc2013-epiphany-d1c2b88f108a6f461383d6d8bf9bbe9a13bf64a4.tar
gsoc2013-epiphany-d1c2b88f108a6f461383d6d8bf9bbe9a13bf64a4.tar.gz
gsoc2013-epiphany-d1c2b88f108a6f461383d6d8bf9bbe9a13bf64a4.tar.bz2
gsoc2013-epiphany-d1c2b88f108a6f461383d6d8bf9bbe9a13bf64a4.tar.lz
gsoc2013-epiphany-d1c2b88f108a6f461383d6d8bf9bbe9a13bf64a4.tar.xz
gsoc2013-epiphany-d1c2b88f108a6f461383d6d8bf9bbe9a13bf64a4.tar.zst
gsoc2013-epiphany-d1c2b88f108a6f461383d6d8bf9bbe9a13bf64a4.zip
*** empty log message ***
Diffstat (limited to 'lib')
-rwxr-xr-xlib/egg/egg-editable-toolbar.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/egg/egg-editable-toolbar.c b/lib/egg/egg-editable-toolbar.c
index d69088200..d76ca6f60 100755
--- a/lib/egg/egg-editable-toolbar.c
+++ b/lib/egg/egg-editable-toolbar.c
@@ -235,7 +235,7 @@ drag_data_get_cb (GtkWidget *widget,
g_return_if_fail (IS_EGG_EDITABLE_TOOLBAR (etoolbar));
- action = GTK_ACTION (g_object_get_data (G_OBJECT (widget), "egg-action"));
+ action = GTK_ACTION (g_object_get_data (G_OBJECT (widget), "gtk-action"));
if (action)
{
@@ -381,7 +381,6 @@ create_item (EggEditableToolbar *t,
0, action_name);
action = find_action (t, action_name);
item = gtk_action_create_tool_item (action);
- gtk_widget_set_sensitive (item, TRUE);
}
gtk_widget_show (item);
@@ -392,6 +391,7 @@ create_item (EggEditableToolbar *t,
if (t->priv->edit_mode)
{
+ gtk_widget_set_sensitive (item, TRUE);
set_item_drag_source (item, action, is_separator);
gtk_tool_item_set_use_drag_window (GTK_TOOL_ITEM (item), TRUE);
}