[scrrean-reader] Page tab should not be slected on tap 86/80886/1
authorPrasoon Singh <prasoon.16@samsung.com>
Wed, 20 Jul 2016 11:33:02 +0000 (17:03 +0530)
committerPrasoon Singh <prasoon.16@samsung.com>
Wed, 20 Jul 2016 11:33:02 +0000 (17:03 +0530)
Page tap(naviframe item) is supposed to be selected and read out when new item is pushed.

Change-Id: I34d7570264276c3f66ee32804afb558176b335d4

src/flat_navi.c

index 191640de25be97d19556ae9c2ba426edaaecb26f..1ee871318cb4d4e4ab729b0670709c50d339342b 100644 (file)
@@ -368,7 +368,7 @@ Eina_Bool flat_navi_context_current_at_x_y_set(FlatNaviContext * ctx, gint x_cor
                                }
                        }
 
-                       if (_accept_object(obj)) {
+                       if (_accept_object(obj) && atspi_accessible_get_role(obj, NULL) != ATSPI_ROLE_PAGE_TAB) {
                                DEBUG("Object  %s with role %s fulfills highlight conditions", atspi_accessible_get_name(obj, NULL), atspi_accessible_get_role_name(obj, NULL));
                                if (youngest_ancestor_in_context)
                                        g_object_unref(youngest_ancestor_in_context);