diff --git a/midori/midori-browser.c b/midori/midori-browser.c
index 7397a987..a9d2e709 100644
--- a/midori/midori-browser.c
+++ b/midori/midori-browser.c
@@ -2562,7 +2562,7 @@ midori_browser_get_toolbar_actions (MidoriBrowser* browser)
{
static const gchar* actions[] = {
"WindowNew", "TabNew", "Open", "SaveAs", "Print", "Find",
- "Fullscreen", "Preferences", "Window", "Bookmarks",
+ "Fullscreen", "Preferences", "Window",
"RecentlyVisited", "ReloadStop", "ZoomIn", "TabClose",
"ZoomOut", "Separator", "Back", "Forward", "Homepage",
"Panel", "Trash", "Search", "BookmarkAdd", "Previous", "Next", NULL };
@@ -2791,54 +2791,6 @@ _action_history_activate_item (GtkAction* action,
midori_browser_set_current_uri (browser, katze_item_get_uri (item));
}
-static void
-_action_bookmarks_populate_popup (GtkAction* action,
- GtkMenu* menu,
- MidoriBrowser* browser)
-{
- GList* children = gtk_container_get_children (GTK_CONTAINER (menu));
- guint i = 0;
- GtkWidget* menuitem;
-
- while ((menuitem = g_list_nth_data (children, i++)))
- {
- g_signal_connect (menuitem, "select",
- G_CALLBACK (midori_browser_menu_item_select_cb), browser);
- g_signal_connect (menuitem, "deselect",
- G_CALLBACK (midori_browser_menu_item_deselect_cb), browser);
- }
- g_list_free (children);
-
- menuitem = gtk_separator_menu_item_new ();
- gtk_menu_shell_prepend (GTK_MENU_SHELL (menu), menuitem);
- gtk_widget_show (menuitem);
-
- if (katze_array_is_empty (browser->bookmarks))
- {
- menuitem = gtk_image_menu_item_new_with_label (_("Empty"));
- gtk_widget_set_sensitive (menuitem, FALSE);
- gtk_menu_shell_append (GTK_MENU_SHELL (menu), menuitem);
- gtk_widget_show (menuitem);
- }
- menuitem = gtk_action_create_menu_item (
- _action_by_name (browser, "BookmarksExport"));
- gtk_menu_shell_prepend (GTK_MENU_SHELL (menu), menuitem);
- gtk_widget_show (menuitem);
- menuitem = gtk_action_create_menu_item (
- _action_by_name (browser, "BookmarksImport"));
- gtk_menu_shell_prepend (GTK_MENU_SHELL (menu), menuitem);
- gtk_widget_show (menuitem);
-
- menuitem = gtk_action_create_menu_item (
- _action_by_name (browser, "BookmarkFolderAdd"));
- gtk_menu_shell_prepend (GTK_MENU_SHELL (menu), menuitem);
- gtk_widget_show (menuitem);
- menuitem = gtk_action_create_menu_item (
- _action_by_name (browser, "BookmarkAdd"));
- gtk_menu_shell_prepend (GTK_MENU_SHELL (menu), menuitem);
- gtk_widget_show (menuitem);
-}
-
/* static */ void
midori_browser_open_bookmark (MidoriBrowser* browser,
KatzeItem* item)
@@ -2865,14 +2817,6 @@ midori_browser_open_bookmark (MidoriBrowser* browser,
g_free (uri_fixed);
}
-static void
-_action_bookmarks_activate_item (GtkAction* action,
- KatzeItem* item,
- MidoriBrowser* browser)
-{
- midori_browser_open_bookmark (browser, item);
-}
-
static void
_action_tools_populate_popup (GtkAction* action,
GtkMenu* menu,
@@ -5302,6 +5246,8 @@ static const gchar* ui_markup =
""
"