aboutsummaryrefslogtreecommitdiffstats
path: root/src/ephy-spinner-action.c
diff options
context:
space:
mode:
authorMarco Pesenti Gritti <marco@it.gnome.org>2003-01-28 04:05:34 +0800
committerMarco Pesenti Gritti <mpeseng@src.gnome.org>2003-01-28 04:05:34 +0800
commitb4ccfc8ea4cf00327a44cb814997d8ede9cd1706 (patch)
tree52eb66124190566e950ced94d34339fd37823e69 /src/ephy-spinner-action.c
parentfcdec6a2c1b3383b61d98ab6add8755fedc0a88a (diff)
downloadgsoc2013-epiphany-b4ccfc8ea4cf00327a44cb814997d8ede9cd1706.tar
gsoc2013-epiphany-b4ccfc8ea4cf00327a44cb814997d8ede9cd1706.tar.gz
gsoc2013-epiphany-b4ccfc8ea4cf00327a44cb814997d8ede9cd1706.tar.bz2
gsoc2013-epiphany-b4ccfc8ea4cf00327a44cb814997d8ede9cd1706.tar.lz
gsoc2013-epiphany-b4ccfc8ea4cf00327a44cb814997d8ede9cd1706.tar.xz
gsoc2013-epiphany-b4ccfc8ea4cf00327a44cb814997d8ede9cd1706.tar.zst
gsoc2013-epiphany-b4ccfc8ea4cf00327a44cb814997d8ede9cd1706.zip
Implement dragging from the editor. It's stilly buggy but I didnt expect
2003-01-27 Marco Pesenti Gritti <marco@it.gnome.org> * configure.in: * data/ui/epiphany-toolbar.xml.in: * lib/widgets/ephy-editable-toolbar.c: (copy_toolbars), (is_action_in_toolbars), (is_separator), (find_toolbar_from_widget), (add_action_to_list), (parse_item_list), (toolbar_list_to_xml), (toolbar_list_to_string), (drag_data_received_cb), (drag_motion_cb), (drag_drop_cb), (setup_toolbar_drag), (do_merge), (ephy_editable_toolbar_set_merge), (ephy_editable_toolbar_init), (ephy_editable_toolbar_finalize), (drag_data_get_cb), (build_to_drag_actions_list), (setup_editor), (set_all_actions_sensitive), (ephy_editable_toolbar_edit): * src/ephy-favicon-action.c: (create_tool_item), (ephy_favicon_action_class_init): * src/ephy-location-action.c: (create_tool_item), (ephy_location_action_class_init): * src/ephy-spinner-action.c: (create_tool_item), (ephy_spinner_action_class_init): Implement dragging from the editor. It's stilly buggy but I didnt expect to get that working so soon :)
Diffstat (limited to 'src/ephy-spinner-action.c')
-rw-r--r--src/ephy-spinner-action.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/ephy-spinner-action.c b/src/ephy-spinner-action.c
index 3e990f49b..295e88545 100644
--- a/src/ephy-spinner-action.c
+++ b/src/ephy-spinner-action.c
@@ -88,7 +88,7 @@ create_tool_item (EggAction *action)
GtkWidget *spinner;
GtkWidget *button;
- item = (* EGG_ACTION_CLASS (parent_class)->create_tool_item) (action);
+ item = GTK_WIDGET (egg_tool_item_new ());
button = gtk_button_new ();
gtk_button_set_relief (GTK_BUTTON (button), GTK_RELIEF_NONE);
@@ -160,7 +160,7 @@ ephy_spinner_action_class_init (EphySpinnerActionClass *class)
parent_class = g_type_class_peek_parent (class);
action_class = EGG_ACTION_CLASS (class);
- action_class->toolbar_item_type = EGG_TYPE_TOOL_ITEM;
+ action_class->toolbar_item_type = EPHY_SPINNER_TYPE;
action_class->create_tool_item = create_tool_item;
action_class->connect_proxy = connect_proxy;