Skip to content

Bug #10 - Fix chapter number notifications when clicking links

Sets the current chapter based on the URI after each page load (unless our URI is "about:blank", which is what we get for the cover and table of contents). This then emits the notify::chapter signal, which Gnome Books receives and updates its UI for.

Fixes #10 (closed) (which also fixes gnome-books#19)

Note: There may be a better way to prevent notify::chapter breaking anchors, but this works and I couldn't work out another way to do it!

This depends on !9 (merged) to work properly, but that's just been merged.

Edited by IBBoard

Merge request reports