diff options
author | Shaun McCance <shaunm@gnome.org> | 2010-05-10 14:35:55 -0500 |
---|---|---|
committer | Shaun McCance <shaunm@gnome.org> | 2010-05-10 14:35:55 -0500 |
commit | 549fd7559a68a6fe924be21b2b2e5feaf0f9d72a (patch) | |
tree | 3182757882f5f8a11e36d9704684cfc7b5d30d2a /src/yelp-application.h | |
parent | 27959c3d15e7dfa19612a4501fb73d88d4dcdc04 (diff) | |
download | yelp-549fd7559a68a6fe924be21b2b2e5feaf0f9d72a.tar.gz |
[yelp-application] Automatically update bookmark titles and icons
I'm doing this on the "loaded" callback, assuming we already have an icon
and a title. This assumption actually doesn't hold for HTML documents,
which reset the title property after the page is loaded. I fear doing
this in too many property notification callbacks, because updating the
bookmarks causes callbacks into all windows. Maybe add a timeout from
view_loaded instead.
Diffstat (limited to 'src/yelp-application.h')
-rw-r--r-- | src/yelp-application.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/yelp-application.h b/src/yelp-application.h index cda99697..5a3726cb 100644 --- a/src/yelp-application.h +++ b/src/yelp-application.h @@ -63,6 +63,11 @@ void yelp_application_add_bookmark (YelpApplication *app, const gchar *page_id, const gchar *icon, const gchar *title); +void yelp_application_update_bookmarks (YelpApplication *app, + const gchar *doc_uri, + const gchar *page_id, + const gchar *icon, + const gchar *title); GVariant * yelp_application_get_bookmarks (YelpApplication *app, const gchar *doc_uri); void yelp_application_install_package (YelpApplication *app, |