[Xfce4-commits] <midori:master> Bookmarking a link is a new bookmark, hence pass TRUE for new_bookmark

Christian Dywan noreply at xfce.org
Wed Dec 23 22:04:02 CET 2009


Updating branch refs/heads/master
         to 973e4aa90792250ce4a6636e3150b40e210fed61 (commit)
       from 7801ecfeb50850ddb8b37d3449328cb718843876 (commit)

commit 973e4aa90792250ce4a6636e3150b40e210fed61
Author: Christian Dywan <christian at twotoasts.de>
Date:   Wed Dec 23 15:26:34 2009 +0100

    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.

 midori/midori-browser.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/midori/midori-browser.c b/midori/midori-browser.c
index cac0fab..23effc9 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)



More information about the Xfce4-commits mailing list