aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorMarco Pesenti Gritti <marco@it.gnome.org>2003-01-30 07:20:47 +0800
committerMarco Pesenti Gritti <mpeseng@src.gnome.org>2003-01-30 07:20:47 +0800
commitc1008f8781b7940bb7096bc6e5fe250ec6ebcaf2 (patch)
tree73461aa9c690a3fc83c05e8b2df5d768c64b269a /src
parentdff9e866bb4f2fc18074d5c638733ee860746f9b (diff)
downloadgsoc2013-epiphany-c1008f8781b7940bb7096bc6e5fe250ec6ebcaf2.tar
gsoc2013-epiphany-c1008f8781b7940bb7096bc6e5fe250ec6ebcaf2.tar.gz
gsoc2013-epiphany-c1008f8781b7940bb7096bc6e5fe250ec6ebcaf2.tar.bz2
gsoc2013-epiphany-c1008f8781b7940bb7096bc6e5fe250ec6ebcaf2.tar.lz
gsoc2013-epiphany-c1008f8781b7940bb7096bc6e5fe250ec6ebcaf2.tar.xz
gsoc2013-epiphany-c1008f8781b7940bb7096bc6e5fe250ec6ebcaf2.tar.zst
gsoc2013-epiphany-c1008f8781b7940bb7096bc6e5fe250ec6ebcaf2.zip
Fix bookmarks/smart bookmarks add to the toolbars.
2003-01-30 Marco Pesenti Gritti <marco@it.gnome.org> * lib/ephy-dnd.c: (ephy_dnd_url_drag_source_set), (ephy_dnd_enable_model_drag_source): * lib/ephy-dnd.h: * lib/widgets/ephy-editable-toolbar.c: (item_node_new), (add_action), (parse_item_list), (toolbar_list_to_xml), (drag_data_received_cb), (setup_toolbar_drag): * src/toolbar.c: (toolbar_get_action): Fix bookmarks/smart bookmarks add to the toolbars.
Diffstat (limited to 'src')
-rwxr-xr-xsrc/toolbar.c7
1 files changed, 0 insertions, 7 deletions
diff --git a/src/toolbar.c b/src/toolbar.c
index 29ae4665f..826adc596 100755
--- a/src/toolbar.c
+++ b/src/toolbar.c
@@ -129,14 +129,7 @@ toolbar_get_action (EphyEditableToolbar *etoolbar,
snprintf (action_name, 255, "GoBookmarkId%ld", id);
action = ephy_bookmark_action_new (name, id);
- }
- else if (g_str_has_prefix (name, "GoBookmarkId"))
- {
- ephy_str_to_int (name + strlen ("GoBookmarkId"), &id);
- }
- if (action)
- {
g_signal_connect (action, "go_location",
G_CALLBACK (go_location_cb), t->priv->window);
egg_action_group_add_action (t->priv->action_group, action);