From: Christian Dywan Date: Mon, 6 Aug 2012 22:42:17 +0000 (+0200) Subject: Distinguish events for new from modified bookmarks X-Git-Url: https://spindle.queued.net/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=b45222111b78ba63c65a69f4efe8dd4aadb7e019;p=midori Distinguish events for new from modified bookmarks --- diff --git a/midori/midori-browser.c b/midori/midori-browser.c index d5b95402..fb9ea2a9 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))