From: Christian Dywan Date: Wed, 23 Dec 2009 14:26:34 +0000 (+0100) Subject: Bookmarking a link is a new bookmark, hence pass TRUE for new_bookmark X-Git-Url: https://spindle.queued.net/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=973e4aa90792250ce4a6636e3150b40e210fed61;p=midori 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. --- diff --git a/midori/midori-browser.c b/midori/midori-browser.c index cac0fab1..23effc97 100644 --- a/midori/midori-browser.c +++ b/midori/midori-browser.c @@ -888,7 +888,7 @@ midori_view_add_bookmark_cb (GtkWidget* menuitem, item = katze_item_new (); katze_item_set_uri (item, uri); 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)