[Xfce4-commits] <midori:master> Distinguish events for new from modified bookmarks

Christian Dywan noreply at xfce.org
Tue Aug 7 01:10:02 CEST 2012


Updating branch refs/heads/master
         to b45222111b78ba63c65a69f4efe8dd4aadb7e019 (commit)
       from 75345d50475b2d755ad6d32a5b395f43c28d3ec0 (commit)

commit b45222111b78ba63c65a69f4efe8dd4aadb7e019
Author: Christian Dywan <christian at twotoasts.de>
Date:   Tue Aug 7 00:42:17 2012 +0200

    Distinguish events for new from modified 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 d5b9540..fb9ea2a 100644
--- a/midori/midori-browser.c
+++ b/midori/midori-browser.c
@@ -976,7 +976,7 @@ midori_browser_edit_bookmark_dialog_new (MidoriBrowser* browser,
             katze_array_add_item (browser->bookmarks, bookmark);
         else
             midori_bookmarks_update_item_db (db, bookmark);
-        midori_browser_update_history (bookmark, "bookmark", "modify");
+        midori_browser_update_history (bookmark, "bookmark", new_bookmark ? "create" : "modify");
 
         if (gtk_toggle_button_get_active (GTK_TOGGLE_BUTTON (check_toolbar)))
             if (!gtk_widget_get_visible (browser->bookmarkbar))


More information about the Xfce4-commits mailing list