Use update_bookmark() in SMJS bookmark object.
commit11acd03eb2a0efd0b213d5bbf79020d7e80f0976
authorKalle Olavi Niemitalo <kon@iki.fi>
Sun, 19 Oct 2008 22:09:45 +0000 (20 01:09 +0300)
committerKalle Olavi Niemitalo <Kalle@Astalo.kon.iki.fi>
Sun, 8 Feb 2009 16:26:18 +0000 (8 18:26 +0200)
tree69606fd6227924261c0c13612cbf1a723ea1e0fd
parent97d72d15a0dbde3e8c8c51eb139f270874e37fda
Use update_bookmark() in SMJS bookmark object.

When setting the title or URL of a bookmark from SMJS user scripting,
use update_bookmark() instead of writing directly to struct bookmark.
It triggers the bookmark-update event and sets the bookmarks_dirty
flag.
src/scripting/smjs/bookmarks.c