forked from enlightenment/edi
parent
7e5e4e28a7
commit
4917715006
|
@ -347,12 +347,16 @@ _edi_welcome_project_new_create_cb(void *data EINA_UNUSED, Evas_Object *obj EINA
|
|||
if (path && path[0] && name && name[0])
|
||||
{
|
||||
if (!template->is_template)
|
||||
{
|
||||
edi_create_example(template->path, path, name,
|
||||
_edi_welcome_project_new_create_done_cb);
|
||||
}
|
||||
else
|
||||
{
|
||||
edi_create_project(template->path, path, name, url, user, email,
|
||||
_edi_welcome_project_new_create_done_cb);
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
if (!path || !path[0])
|
||||
|
|
|
@ -285,15 +285,9 @@ _edi_create_notify_cb(void *d, Eio_File *handler EINA_UNUSED, const Eio_Progress
|
|||
}
|
||||
|
||||
static void
|
||||
_edi_create_error_cb(void *data, Eio_File *handler EINA_UNUSED, int error)
|
||||
_edi_create_error_cb(void *data EINA_UNUSED, Eio_File *handler EINA_UNUSED, int error)
|
||||
{
|
||||
Edi_Create *create;
|
||||
|
||||
create = (Edi_Create *) data;
|
||||
ERR("copy error: [%s]\n", strerror(error));
|
||||
if (create && create->callback)
|
||||
create->callback(create->path, EINA_FALSE);
|
||||
|
||||
_edi_create_free_data();
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue