aboutsummaryrefslogtreecommitdiffstats
path: root/lib/egg/egg-toolbar-editor.c
diff options
context:
space:
mode:
authorMarco Pesenti Gritti <marco@gnome.org>2004-06-09 19:00:22 +0800
committerMarco Pesenti Gritti <marco@src.gnome.org>2004-06-09 19:00:22 +0800
commit029c9d46c634e62950ca2761deb0159f90a45cac (patch)
tree76f16e4990c168ecabd7279b84b421130da44d63 /lib/egg/egg-toolbar-editor.c
parent97084e9c8c3435b994cdafe546b9f86e281ced5b (diff)
downloadgsoc2013-epiphany-029c9d46c634e62950ca2761deb0159f90a45cac.tar
gsoc2013-epiphany-029c9d46c634e62950ca2761deb0159f90a45cac.tar.gz
gsoc2013-epiphany-029c9d46c634e62950ca2761deb0159f90a45cac.tar.bz2
gsoc2013-epiphany-029c9d46c634e62950ca2761deb0159f90a45cac.tar.lz
gsoc2013-epiphany-029c9d46c634e62950ca2761deb0159f90a45cac.tar.xz
gsoc2013-epiphany-029c9d46c634e62950ca2761deb0159f90a45cac.tar.zst
gsoc2013-epiphany-029c9d46c634e62950ca2761deb0159f90a45cac.zip
Retain custom types when moving items around
2004-06-09 Marco Pesenti Gritti <marco@gnome.org> * lib/egg/egg-editable-toolbar.c: (drag_data_get_cb), (set_item_drag_source), (create_item_from_action), (create_item), (drag_data_received_cb), (egg_editable_toolbar_set_edit_mode): * lib/egg/egg-toolbar-editor.c: (model_has_action): * lib/egg/egg-toolbars-model.c: (egg_toolbars_model_item_nth): * lib/egg/egg-toolbars-model.h: * src/ephy-toolbars-model.c: (get_toolbar_and_item_pos), (ephy_toolbars_model_class_init), (item_added): Retain custom types when moving items around
Diffstat (limited to 'lib/egg/egg-toolbar-editor.c')
-rwxr-xr-xlib/egg/egg-toolbar-editor.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/egg/egg-toolbar-editor.c b/lib/egg/egg-toolbar-editor.c
index 01d1b37c6..360cb50c6 100755
--- a/lib/egg/egg-toolbar-editor.c
+++ b/lib/egg/egg-toolbar-editor.c
@@ -649,7 +649,7 @@ model_has_action (EggToolbarsModel *model, GtkAction *action)
const char *action_name;
gboolean sep;
- name = egg_toolbars_model_item_nth (model, i, l, &sep);
+ egg_toolbars_model_item_nth (model, i, l, &sep, &name, NULL);
action_name = gtk_action_get_name (action);
if (!sep && strcmp (name, action_name) == 0) return TRUE;
}