| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
| |
The bookmarks are managed by the application, not libyelp, so we need a way for
the application to tell libyelp about bookmarks. Add a YelpBookmarks interface,
which is implemented by YelpApplication. Then we can pass a YelpBookmarks to
any libyelp class that needs it.
Still need to hook up the bookmarks-changed signal and do something useful when
the bookmark-new icon is clicked.
|
|
|
|
|
| |
I'm waiting to be able to get the DOM node from a hit test result
before I can get the link text in. I'm told it will be there soon.
|
| |
|
| |
|
|
|
|
|
|
|
|
|
| |
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.
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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.
|
| |
|
| |
|
|
|
|
|
|
| |
I think I'd actually prefer this to go to the root instead, but that
involves inspecting the document. Right now, there's no difference
in practice anyway.
|
| |
|
|
|
|
| |
Still to do: editor mode in docbook, show .page.stub files
|
| |
|
|
|
|
|
|
| |
Font adjustments apply to all windows, so the action sensitivity has
to be done in all windows' action groups. This is the first of a few
things where YelpApplication will control the menus of all windows.
|
| |
|
|
Nothing shiny yet. Just managing the application API with DBus and
getting basic windows loaded using YelpView. Trying to keep it very
simple, and with as little as possible done at startup.
|