]> spindle.queued.net Git - midori/commitdiff
Distinguish events for new from modified bookmarks
authorChristian Dywan <christian@twotoasts.de>
Mon, 6 Aug 2012 22:42:17 +0000 (00:42 +0200)
committerChristian Dywan <christian@twotoasts.de>
Mon, 6 Aug 2012 23:08:24 +0000 (01:08 +0200)
midori/midori-browser.c

index d5b95402a2335193bca0abc5b36baabf76b667ee..fb9ea2a9560d99c5ce304f8922a4272935498b77 100644 (file)
@@ -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))