create: Pick up username in Windows.
Look up USERNAME if no USER environment variable is found. Patch from Vincent Torri
This commit is contained in:
parent
e0477ff3cb
commit
2db478cca6
|
@ -281,6 +281,8 @@ _edi_welcome_project_new_cb(void *data, Evas_Object *obj EINA_UNUSED, void *even
|
|||
evas_object_show(content);
|
||||
|
||||
username = getenv("USER");
|
||||
if (!username)
|
||||
username = getenv("USERNAME");
|
||||
_edi_welcome_project_new_directory_row_add("Parent Path", NULL, row++, content);
|
||||
_edi_welcome_project_new_input_row_add("Project Name", NULL, row++, content);
|
||||
_edi_welcome_project_new_input_row_add("Project URL", NULL, row++, content);
|
||||
|
|
Loading…
Reference in New Issue