aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorMarco Pesenti Gritti <marco@it.gnome.org>2003-01-29 04:51:11 +0800
committerMarco Pesenti Gritti <mpeseng@src.gnome.org>2003-01-29 04:51:11 +0800
commita20e13541380dd2148dda61b2c52d196a70b20df (patch)
treeaa010485cd41f9db34b6ba6b1bf9e7fae6d88d2c /src
parent8dd9ad57a1f3e8829047040c537c851a86a81b23 (diff)
downloadgsoc2013-epiphany-a20e13541380dd2148dda61b2c52d196a70b20df.tar.gz
gsoc2013-epiphany-a20e13541380dd2148dda61b2c52d196a70b20df.tar.zst
gsoc2013-epiphany-a20e13541380dd2148dda61b2c52d196a70b20df.zip
Reimplement data using GNode, cleaner. Give up on "autoapply" for now, gtk
2003-01-28 Marco Pesenti Gritti <marco@it.gnome.org> * lib/widgets/ephy-editable-toolbar.c: (toolbar_node_new), (item_node_new), (find_node_from_action), (add_action), (parse_item_list), (parse_toolbars), (load_defaults), (load_toolbar), (toolbar_list_to_xml), (toolbar_list_to_string), (ui_update), (queue_ui_update), (drag_data_received_cb), (drag_data_delete_cb), (drag_data_get_cb), (setup_toolbar_drag), (do_merge), (ephy_editable_toolbar_set_merge), (ephy_editable_toolbar_init), (build_to_drag_actions_list), (setup_editor), (button_press_cb), (show_editor), (set_all_actions_sensitive), (ephy_editable_toolbar_edit): * src/ephy-window.c: (add_widget): Reimplement data using GNode, cleaner. Give up on "autoapply" for now, gtk dnd doesnt really like it :(. Implement reordering.
Diffstat (limited to 'src')
-rw-r--r--src/ephy-window.c7
1 files changed, 0 insertions, 7 deletions
diff --git a/src/ephy-window.c b/src/ephy-window.c
index 30b51ce6f..ec023ff83 100644
--- a/src/ephy-window.c
+++ b/src/ephy-window.c
@@ -417,15 +417,8 @@ add_widget (EggMenuMerge *merge, GtkWidget *widget, EphyWindow *window)
}
else
{
- GtkWidget *event_box;
-
window->priv->toolbars = g_list_append
(window->priv->toolbars, widget);
-
- event_box = gtk_event_box_new ();
- gtk_widget_show (event_box);
- gtk_container_add (GTK_CONTAINER (event_box), widget);
- widget = event_box;
}
gtk_box_pack_start (GTK_BOX (window->priv->menu_dock),