aboutsummaryrefslogtreecommitdiffstats
path: root/lib/egg/egg-toolbars-model.h
diff options
context:
space:
mode:
authorMarco Pesenti Gritti <marco@gnome.org>2004-07-11 18:31:28 +0800
committerMarco Pesenti Gritti <marco@src.gnome.org>2004-07-11 18:31:28 +0800
commitb341a4983b97e022d87e16590d5b7d8aa88c5374 (patch)
treeadc72d21c5fc21df52a0df1549a7b1acedae4df3 /lib/egg/egg-toolbars-model.h
parent391cc13ee086c2af18e9ad75ad0c626d7e6a26e6 (diff)
downloadgsoc2013-epiphany-b341a4983b97e022d87e16590d5b7d8aa88c5374.tar
gsoc2013-epiphany-b341a4983b97e022d87e16590d5b7d8aa88c5374.tar.gz
gsoc2013-epiphany-b341a4983b97e022d87e16590d5b7d8aa88c5374.tar.bz2
gsoc2013-epiphany-b341a4983b97e022d87e16590d5b7d8aa88c5374.tar.lz
gsoc2013-epiphany-b341a4983b97e022d87e16590d5b7d8aa88c5374.tar.xz
gsoc2013-epiphany-b341a4983b97e022d87e16590d5b7d8aa88c5374.tar.zst
gsoc2013-epiphany-b341a4983b97e022d87e16590d5b7d8aa88c5374.zip
Add api to move items.
2004-07-11 Marco Pesenti Gritti <marco@gnome.org> * lib/egg/egg-toolbars-model.c: (egg_toolbars_model_move_item): * lib/egg/egg-toolbars-model.h: Add api to move items. * src/bookmarks/ephy-bookmark-action.c: (get_item_position), (remove_from_model), (move_in_model), (move_left_activate_cb), (move_right_activate_cb), (show_context_menu): * src/bookmarks/ephy-topic-action.c: (get_item_position), (remove_from_model), (move_in_model), (move_left_activate_cb), (move_right_activate_cb), (show_context_menu): Add Move Left/Move Right context menus.
Diffstat (limited to 'lib/egg/egg-toolbars-model.h')
-rwxr-xr-xlib/egg/egg-toolbars-model.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/lib/egg/egg-toolbars-model.h b/lib/egg/egg-toolbars-model.h
index 565b9ae01..9ac2f97a2 100755
--- a/lib/egg/egg-toolbars-model.h
+++ b/lib/egg/egg-toolbars-model.h
@@ -127,6 +127,11 @@ void egg_toolbars_model_remove_toolbar (EggToolbarsModel *t,
void egg_toolbars_model_remove_item (EggToolbarsModel *t,
int toolbar_position,
int position);
+void egg_toolbars_model_move_item (EggToolbarsModel *t,
+ int toolbar_position,
+ int position,
+ int new_toolbar_position,
+ int new_position);
int egg_toolbars_model_n_items (EggToolbarsModel *t,
int toolbar_position);
void egg_toolbars_model_item_nth (EggToolbarsModel *t,