GNOME Bugzilla – Bug 719508
Need to add support to new AtkDocument signals and methods
Last modified: 2013-12-02 17:50:18 UTC
Bug 709106 adds a new signal, document:page-changed. Bug 709214 adds two new methods: get_current_page_number and get_page_count. at-spi2-core and at-spi2-atk needs to support them in order to expose it to ATs
Created attachment 263049 [details] [review] at-spi2-core: support to current page and page count
Created attachment 263054 [details] [review] at-spi2-atk: support for newly added AtkDocument methods and signals This patch does the following: * Bump atk dependency to 2.11.3 (I just did it today in order to have a real atk release to depend on) * Forward atk-document:page-changed signal * Implement the getters for newly added at-spi2 properties CurrentPageNumber and PageCount
Created attachment 263057 [details] [review] pyatspi2: patch DISCLAIMER: I was not able to test it. I implemented a python listener that tries to use the new added method but I was not able to get it using the pyatspi installed at jhbuild, it is getting the system one. FWIW, at-spi2-core and at-spi2-atk patches are tested, as I used a listener written in C. FWIW2, it is really handy to test them using evince, with the patch I uploaded on bug 719507.
Comment on attachment 263049 [details] [review] at-spi2-core: support to current page and page count Looks fine. Thanks for the patch.