forked from enlightenment/enlightenment
parent
95bef51771
commit
94999ae2ba
|
@ -786,6 +786,7 @@ _e_fm_file_delete(E_Fm_Icon *icon)
|
|||
text = E_NEW(char, PATH_MAX + 256);
|
||||
snprintf(text, PATH_MAX + 256, "Could not delete <br><b>%s</b>", icon->file->path);
|
||||
e_dialog_text_set(dia, text);
|
||||
free(text);
|
||||
e_dialog_show(dia);
|
||||
return;
|
||||
}
|
||||
|
|
|
@ -274,7 +274,8 @@ _e_icon_layout_smart_adopt(E_Smart_Data *sd, Evas_Object *obj)
|
|||
evas_object_data_set(obj, "e_icon_layout_data", li);
|
||||
evas_object_event_callback_add(obj, EVAS_CALLBACK_FREE,
|
||||
_e_icon_layout_smart_item_del_hook, NULL);
|
||||
if (!evas_object_visible_get(sd->clip))
|
||||
if ((!evas_object_visible_get(sd->clip)) &&
|
||||
(evas_object_visible_get(sd->obj)))
|
||||
evas_object_show(sd->clip);
|
||||
return li;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue