Commit 84f503f8 authored by Federico Mena Quintero's avatar Federico Mena Quintero Committed by Federico Mena Quintero

Don't emit notifications for BookmarkAgent of type recently-used when it updates itself

Signed-off-by: 's avatarFederico Mena Quintero <>

svn path=/trunk/; revision=428
parent 7d829a93
......@@ -739,7 +739,11 @@ update_items (BookmarkAgent *this)
g_bookmark_file_get_icon (priv->store, uris_ordered [i], & priv->items [i]->icon, NULL, NULL);
g_object_notify (G_OBJECT (this), BOOKMARK_AGENT_ITEMS_PROP);
/* Since the bookmark store for recently-used items is updated by the caller of BookmarkAgent,
* we don't emit notifications in that case. The caller will know when to update itself.
if (!TYPE_IS_RECENT (priv->type))
g_object_notify (G_OBJECT (this), BOOKMARK_AGENT_ITEMS_PROP);
if (store_corrupted)
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment