summaryrefslogtreecommitdiff
path: root/legacy/elementary/src/lib/elm_interface_atspi_accessible.c
diff options
context:
space:
mode:
authorLukasz Stanislawski <l.stanislaws@samsung.com>2015-12-15 16:49:02 +0100
committerLukasz Stanislawski <l.stanislaws@samsung.com>2015-12-16 14:00:10 +0100
commit8e3b8d947ece5e8075f0e474819098f2e1089f8b (patch)
tree5abf081aa0ac86c3357918360c82765f4bc52a16 /legacy/elementary/src/lib/elm_interface_atspi_accessible.c
parent01f5083cabbb0626966c1b4f57ec96f118a378ec (diff)
multibutton_entry: improve atspi support
Expose multibutton items as push buttons supported with three possible actions: activate, longpress and delete.
Diffstat (limited to '')
-rw-r--r--legacy/elementary/src/lib/elm_interface_atspi_accessible.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/legacy/elementary/src/lib/elm_interface_atspi_accessible.c b/legacy/elementary/src/lib/elm_interface_atspi_accessible.c
index 70f9488389..19a020f0dc 100644
--- a/legacy/elementary/src/lib/elm_interface_atspi_accessible.c
+++ b/legacy/elementary/src/lib/elm_interface_atspi_accessible.c
@@ -583,16 +583,21 @@ _elm_interface_atspi_accessible_type_get(Eo *obj EINA_UNUSED, Elm_Interface_Atsp
583EOLIAN void 583EOLIAN void
584_elm_interface_atspi_accessible_type_set(Eo *obj, Elm_Interface_Atspi_Accessible_Data *pd, Elm_Atspi_Type val) 584_elm_interface_atspi_accessible_type_set(Eo *obj, Elm_Interface_Atspi_Accessible_Data *pd, Elm_Atspi_Type val)
585{ 585{
586 Elm_Interface_Atspi_Accessible *parent;
586 if (val == pd->type) 587 if (val == pd->type)
587 return; 588 return;
588 589
590 eo_do(obj, parent = elm_interface_atspi_accessible_parent_get());
591
589 switch (val) 592 switch (val)
590 { 593 {
591 case ELM_ATSPI_TYPE_DISABLED: 594 case ELM_ATSPI_TYPE_DISABLED:
592 case ELM_ATSPI_TYPE_SKIPPED: 595 case ELM_ATSPI_TYPE_SKIPPED:
596 if (parent) elm_interface_atspi_accessible_children_changed_del_signal_emit(parent, obj);
593 elm_interface_atspi_accessible_removed(obj); 597 elm_interface_atspi_accessible_removed(obj);
594 break; 598 break;
595 case ELM_ATSPI_TYPE_REGULAR: 599 case ELM_ATSPI_TYPE_REGULAR:
600 if (parent) elm_interface_atspi_accessible_children_changed_added_signal_emit(parent, obj);
596 elm_interface_atspi_accessible_added(obj); 601 elm_interface_atspi_accessible_added(obj);
597 } 602 }
598 pd->type = val; 603 pd->type = val;