Distinguish events for new from modified bookmarks

This commit is contained in:
Christian Dywan 2012-08-07 00:42:17 +02:00
parent 75345d5047
commit b45222111b
1 changed files with 1 additions and 1 deletions

View 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))