diff options
author | Marco Pesenti Gritti <marco@it.gnome.org> | 2003-04-07 04:07:14 +0800 |
---|---|---|
committer | Marco Pesenti Gritti <mpeseng@src.gnome.org> | 2003-04-07 04:07:14 +0800 |
commit | 30177ef207092d95ebbc2c835d52262618436c90 (patch) | |
tree | 0ec29d272a9850cdae573a9220eef6077af9facb /lib/egg/egg-menu-merge.c | |
parent | 856bc05445cae1c838b1e1cd7a30f3ebdbe52e01 (diff) | |
download | gsoc2013-epiphany-30177ef207092d95ebbc2c835d52262618436c90.tar gsoc2013-epiphany-30177ef207092d95ebbc2c835d52262618436c90.tar.gz gsoc2013-epiphany-30177ef207092d95ebbc2c835d52262618436c90.tar.bz2 gsoc2013-epiphany-30177ef207092d95ebbc2c835d52262618436c90.tar.lz gsoc2013-epiphany-30177ef207092d95ebbc2c835d52262618436c90.tar.xz gsoc2013-epiphany-30177ef207092d95ebbc2c835d52262618436c90.tar.zst gsoc2013-epiphany-30177ef207092d95ebbc2c835d52262618436c90.zip |
Add a separator item to the editor.
2003-04-06 Marco Pesenti Gritti <marco@it.gnome.org>
* libegg/toolbareditor/egg-editable-toolbar.c: (get_dest_targets),
(editor_create_item), (update_editor_sheet):
Add a separator item to the editor.
Diffstat (limited to 'lib/egg/egg-menu-merge.c')
-rw-r--r-- | lib/egg/egg-menu-merge.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/lib/egg/egg-menu-merge.c b/lib/egg/egg-menu-merge.c index 4be261948..2332bf89b 100644 --- a/lib/egg/egg-menu-merge.c +++ b/lib/egg/egg-menu-merge.c @@ -1131,12 +1131,12 @@ update_node (EggMenuMerge *self, GNode *node) EggToolItem *item; item = egg_separator_tool_item_new(); - egg_toolbar_insert_tool_item(EGG_TOOLBAR(toolbar), item, pos); + egg_toolbar_insert (EGG_TOOLBAR(toolbar), item, pos); NODE_INFO(node)->proxy = GTK_WIDGET (item); //gtk_widget_show(NODE_INFO(node)->proxy); item = egg_separator_tool_item_new(); - egg_toolbar_insert_tool_item(EGG_TOOLBAR(toolbar), item, pos+1); + egg_toolbar_insert (EGG_TOOLBAR(toolbar), item, pos+1); NODE_INFO(node)->extra = GTK_WIDGET (item); //gtk_widget_show(NODE_INFO(node)->extra); } @@ -1192,8 +1192,8 @@ update_node (EggMenuMerge *self, GNode *node) { info->proxy = egg_action_create_tool_item (info->action); - egg_toolbar_insert_tool_item (EGG_TOOLBAR (toolbar), - EGG_TOOL_ITEM (info->proxy), pos); + egg_toolbar_insert (EGG_TOOLBAR (toolbar), + EGG_TOOL_ITEM (info->proxy), pos); } } else @@ -1218,7 +1218,7 @@ update_node (EggMenuMerge *self, GNode *node) if (find_toolbar_position(node, &toolbar, &pos)) { EggToolItem *item = egg_separator_tool_item_new(); - egg_toolbar_insert_tool_item (EGG_TOOLBAR (toolbar), item, pos); + egg_toolbar_insert (EGG_TOOLBAR (toolbar), item, pos); info->proxy = GTK_WIDGET (item); gtk_widget_show(info->proxy); } |