Bookmarking a link is a new bookmark, hence pass TRUE for new_bookmark

This used to work by accident as long as the code wasn't optimized
to avoid removing and adding existing bookmarks.
This commit is contained in:
Christian Dywan 2009-12-23 15:26:34 +01:00
parent 7801ecfeb5
commit 973e4aa907

View file

@ -888,7 +888,7 @@ midori_view_add_bookmark_cb (GtkWidget* menuitem,
item = katze_item_new (); item = katze_item_new ();
katze_item_set_uri (item, uri); katze_item_set_uri (item, uri);
browser = midori_browser_get_for_widget (menuitem); browser = midori_browser_get_for_widget (menuitem);
midori_browser_edit_bookmark_dialog_new (browser, item, FALSE, FALSE); midori_browser_edit_bookmark_dialog_new (browser, item, TRUE, FALSE);
} }
#if !WEBKIT_CHECK_VERSION (1, 1, 3) #if !WEBKIT_CHECK_VERSION (1, 1, 3)