description {
state: "default" 0.0;
color: 255 255 255 255;
- rel1 { relative: 0.15 0.4; to: "bg"; }
- rel2 { relative: 0.85 0.5; to: "bg"; }
text {
text: " ";
style: "no_item_style";
programs {
program {
signal: "mouse,clicked,*";
- source: "scroller";
- action: SIGNAL_EMIT "scroller,clicked" "scroller";
+ source: "no,apps,txt";
+ action: SIGNAL_EMIT "no,apps,clicked" "no,apps,txt";
}
program {
signal: "no,apps,txt,show";
evas_object_resize(layout, main_info.root_w, main_info.root_h);
evas_object_show(layout);
- elm_object_signal_callback_add(layout, "scroller,clicked", "scroller", _bg_clicked_cb, NULL);
+ elm_object_signal_callback_add(layout, "no,apps,clicked", "no,apps,txt", _bg_clicked_cb, NULL);
main_info.layout = layout;
+static Eina_Bool _access_action_cb(void *data, Evas_Object *obj, Elm_Access_Action_Info *action_info)
+{
+ if (action_info->action_type == ELM_ACCESS_ACTION_ACTIVATE) {
+ if (!main_info.scroller || scroller_count(main_info.scroller) > 1)
+ return EINA_FALSE;
+
+ ui_app_exit();
+ }
+
+ return EINA_TRUE;
+}
+
+
static Eina_Bool _list_timer_cb(void *data)
{
_D("");
elm_object_part_text_set(main_info.layout, "no,apps,txt", _("IDS_TASKMGR_NPBODY_NO_RECENTLY_USED_APPS"));
- Evas_Object *label = (Evas_Object *)edje_object_part_object_get(elm_layout_edje_get(main_info.layout), "no,apps,txt");
+ Evas_Object *label = (Evas_Object *)edje_object_part_object_get(
+ elm_layout_edje_get(main_info.layout), "no,apps,txt");
Evas_Object *atspi_label = elm_access_object_register(label, main_info.layout);
+ elm_access_action_cb_set(atspi_label, ELM_ACCESS_ACTION_ACTIVATE, _access_action_cb, NULL);
elm_atspi_accessible_role_set(atspi_label, ELM_ATSPI_ROLE_LABEL);
elm_atspi_accessible_name_set(atspi_label, _("IDS_TASKMGR_NPBODY_NO_RECENTLY_USED_APPS"));
+ elm_atspi_accessible_reading_info_type_set(atspi_label,
+ ELM_ACCESSIBLE_READING_INFO_TYPE_NAME);
main_info.pkg_list = list_pkg_list_get();
if (!main_info.pkg_list) {