Distinguish events for new from modified bookmarks
This commit is contained in:
parent
75345d5047
commit
b45222111b
1 changed files with 1 additions and 1 deletions
|
@ -976,7 +976,7 @@ midori_browser_edit_bookmark_dialog_new (MidoriBrowser* browser,
|
||||||
katze_array_add_item (browser->bookmarks, bookmark);
|
katze_array_add_item (browser->bookmarks, bookmark);
|
||||||
else
|
else
|
||||||
midori_bookmarks_update_item_db (db, bookmark);
|
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_toggle_button_get_active (GTK_TOGGLE_BUTTON (check_toolbar)))
|
||||||
if (!gtk_widget_get_visible (browser->bookmarkbar))
|
if (!gtk_widget_get_visible (browser->bookmarkbar))
|
||||||
|
|
Loading…
Reference in a new issue