Slider value was changed on double tap
authorMichal Skorupinski <m.skorupinsk@samsung.com>
Fri, 3 Jul 2015 16:45:32 +0000 (18:45 +0200)
committerTomasz Olszak <t.olszak@samsung.com>
Thu, 9 Jul 2015 15:42:56 +0000 (00:42 +0900)
Change-Id: Ibd6a49ee846dbd4b1c20199b21fd31962b1e28b8
Signed-off-by: Michal Skorupinski <m.skorupinsk@samsung.com>
src/navigator.c

index bb6bc07..2477d52 100644 (file)
@@ -1038,6 +1038,7 @@ static void _activate_widget(void)
    gint i = 0;
    gint index = 0;
    Eina_Bool activate_found = EINA_FALSE;
+   AtspiRole role = ATSPI_ROLE_INVALID;
 
    if(!current_obj)
       return;
@@ -1050,6 +1051,12 @@ static void _activate_widget(void)
 
    current_widget = current_obj;
 
+   role = atspi_accessible_get_role (current_widget, NULL);
+   if(role == ATSPI_ROLE_SLIDER)
+      {
+         return;
+      }
+
    display_info_about_object(current_widget);
 
    edit = atspi_accessible_get_editable_text_iface (current_widget);