diff options
author | Shaun McCance <shaunm@gnome.org> | 2010-04-29 16:44:11 -0500 |
---|---|---|
committer | Shaun McCance <shaunm@gnome.org> | 2010-04-29 16:44:11 -0500 |
commit | efbdbbf5f36697d4f0402d76b759720bf5b25b9b (patch) | |
tree | 5128cb9831964a0953ffcd371b1e98bea0a7523b /data | |
parent | faa76febf7a643916676105b2d01c5fc95862251 (diff) | |
download | yelp-efbdbbf5f36697d4f0402d76b759720bf5b25b9b.tar.gz |
First pass at bookmarks
Bookmarks are now stored per-document in GSettings. They're stored as
page IDs along with the icon and title. Problems to fix:
* On the index page, the page ID might be NULL. Yelp will crash if
you try to bookmark this. We need to track the real page ID from
the view. This will also help us solve the double-index-entry in
the location entry drop-down.
* Bookmarks aren't sorted in any meaningful way. We should sort by
page type (icon) first, then title. Again, same thing for location
entry completion.
* There's no way to remove bookmarks.
* (Wish list) We should automatically reset the icon and title on
existing bookmarks if they're different (e.g. after an upgrade).
* We need to hook up the bookmarking to the location entry.
Diffstat (limited to 'data')
-rw-r--r-- | data/org.gnome.yelp.gschema.xml | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/data/org.gnome.yelp.gschema.xml b/data/org.gnome.yelp.gschema.xml index 046f9d56..250c12a3 100644 --- a/data/org.gnome.yelp.gschema.xml +++ b/data/org.gnome.yelp.gschema.xml @@ -20,5 +20,8 @@ <key name="geometry" type="(ii)"> <default>(520,580)</default> </key> + <key name="bookmarks" type="a(sss)"> + <default>[]</default> + </key> </schema> </schemalist> |