GNOME Bugzilla – Bug 728664
ATK_STATE_SHOWING not updated for pages
Last modified: 2014-04-25 05:46:56 UTC
Created attachment 274815 [details] [review] Add a range-changed signal and use it to update the "showing" state The AtkObject for each page has its "showing" state set initially based on the displayed page(s), but the state is never updated when the displayed page(s) change.
Review of attachment 274815 [details] [review]: ::: libview/ev-view.c @@ +779,2 @@ ev_view_check_cursor_blink (view); + g_signal_emit (view, signals[SIGNAL_RANGE_CHANGED], 0, NULL); Instead of adding a new signal to the API for a private object (EvViewAccessible) we could add a method in ev-view-accessible (set_page_range like ev_page_cache_set_page_range and ev_pixbuf_cache_set_page_range) and call it here.
Created attachment 274884 [details] [review] proposed patch (In reply to comment #1) > Instead of adding a new signal to the API for a private object > (EvViewAccessible) we could add a method in ev-view-accessible (set_page_range > like ev_page_cache_set_page_range and ev_pixbuf_cache_set_page_range) and call > it here. Done. Thanks for the review!
Review of attachment 274884 [details] [review]: This looks a lot simpler now, thanks!
Comment on attachment 274884 [details] [review] proposed patch Thanks. This was committed to both master and the gnome-3-12 branch. Please let me know if it should have only gone to master.