elm_index: Send selected signal to atspi client
authorShilpa Singh <shilpa.singh@samsung.com>
Thu, 16 Nov 2017 09:16:59 +0000 (18:16 +0900)
committerJean-Philippe Andre <jp.andre@samsung.com>
Thu, 16 Nov 2017 09:17:49 +0000 (18:17 +0900)
Summary: When Index item is selected, notify atspi clients.

Test Plan:
when atspi mode is enabled, item selection notification
should be received by atspi client

Reviewers: kimcinoo

Subscribers: cedric, govi, rajeshps, jpeg

Differential Revision: https://phab.enlightenment.org/D5485

src/lib/elementary/elm_index.c

index dabbdcf..0065be7 100644 (file)
@@ -1304,6 +1304,8 @@ _elm_index_item_selected_set(Eo *eo_it,
         ecore_timer_del(sd->delay);
         sd->delay = ecore_timer_add(sd->delay_change_time,
                                     _delay_change_cb, obj);
+        if (_elm_config->atspi_mode)
+          efl_access_state_changed_signal_emit(eo_it, EFL_ACCESS_STATE_SELECTED, EINA_TRUE);
      }
    else
      {