forked from enlightenment/enventor
file_tab: support full path tooltip info.
This commit is contained in:
parent
43cfa31a14
commit
98e833ef37
|
@ -389,6 +389,11 @@ group { name: "elm/list/h_item/enventor";
|
|||
visible: 1;
|
||||
}
|
||||
}
|
||||
swallow { "elm.swallow.end";
|
||||
repeat_events: 1;
|
||||
desc { "default";
|
||||
}
|
||||
}
|
||||
program {
|
||||
signal: "elm,state,selected"; source: "elm";
|
||||
action: STATE_SET "selected" 0.0;
|
||||
|
|
|
@ -195,7 +195,12 @@ file_tab_it_add(Enventor_Item *enventor_it)
|
|||
elm_image_file_set(img, EDJE_PATH, "close");
|
||||
elm_object_content_set(btn, img);
|
||||
|
||||
fti->it = elm_list_item_append(fd->list, filename, btn, NULL,
|
||||
//Tooltip Dummy object
|
||||
Evas_Object *box = elm_image_add(fd->list);
|
||||
elm_object_tooltip_text_set(box, ecore_file_realpath(filepath));
|
||||
elm_object_tooltip_orient_set(box, ELM_TOOLTIP_ORIENT_TOP);
|
||||
|
||||
fti->it = elm_list_item_append(fd->list, filename, btn, box,
|
||||
list_item_selected_cb, fti);
|
||||
elm_list_go(fd->list);
|
||||
|
||||
|
|
Loading…
Reference in New Issue